您好,欢迎来到测品娱乐。
搜索
您的当前位置:首页ABAPtip

ABAPtip

来源:测品娱乐
ABAPtip

Useful link

Debug RFC

Enqueue server down

The source SAPMSYST is protected. See explanation in long textUtility function moduleUseful function modules

Useful table

Useful transactionUseful report

Useful packagesUseful codeUseful class

wiki pageWebclient UIABAP

Useful link

Keyword online helpsaplink

global SCN wiki

Debug RFC

Function not possible when debugging in RFC context Message no. SR136

Diagnosis: For security reasons, you cannot use commands such as \"/o\" or \"/n\" in the command field whendebugging in an RFC context.

You cannot make entries in the command field when debugging transactional RFCs (tRFC, qRFC, bgRFC) either.

Enqueue server down

Diagnosis : An internal error was found in the SAP lock management system when attempting to lock an object by calling an ENQUEUE functionmodule.

System Response

The SAP system cannot enter the required lock correctly into the lock table managed in the ENQUEUE server and the ENQUEUE functionmodule therefore triggers an exception.

If the application cannot process this excepton, the active transaction is automatically cancelled. Procedure

The most common cause of this error message is that it is no longer possible to access the ENQUEUE server. The cause of this may be thateither the ENQUEUE server itself or the message server which establishes the connection between the application server and the ENQUEUEserver in a local system, is no longer running.

The source SAPMSYST is protected. See explanation in long text

Message no. ED800

Diagnosis

The desired source text is protected by SAP because changing it could cause system errors.Utility metadata table: T*DIR

Utility function module

SRCC_GET_CODE_COMPLETION: Get ABAP code completionFUNCTION_IMPORT_INTERFACE: get function module signatureRS_PROGRAM_TABLES Program Analysis: Table Manipulation

S_TWB_I_PROBLEM_MESSAGE_READ: Display / change defect message

SELECT_OPTIONS_RESTRICT: Make use of SELECT-OPTIONS easier on the selection screen

RPY_CLIF_MULTI_READ Read classes/interfaces

RPY_TABLE_READ

RPY_VIEW_READ

RPY_DYNPRO_READ

RPY_FUNCTIONMODULE_READ

RPY_INCLUDE_READ

RPY_MESSAGE_ID_READ

RPY_MESSAGE_READ

RPY_PROGRAM_READ

BC_ABAP_GEN_LIMITS:ABAP reporttechnicalfield symbolstringNAVIGATION_SET_START_TCODE: usertcode

MENU_BUILD_TREE_READ_TEXT: read text symbol of a program

Useful function modules

get user timezone

CALL FUNCTION 'TZON_GET_USER_TIMEZONE'EXPORTING

IF_USERNAME = sy-unameIMPORTING

EF_TIMEZONE = lv_timezone

-- get user role maintained in tcode SU01

CALL FUNCTION 'PRGN_READ_ACTIVITY_GROUPS_ONE'EXPORTING

user_name = p_unameTABLES

activity_groups_users = l_agr_listEXCEPTIONSOTHERS = 0.

--Get user assigned team

CALL FUNCTION 'CRM_RESOLVE_RESPONSE_AREA'EXPORTINGiv_my = ''iv_team = ''iv_group = '2'IMPORTING

ev_gp_guids_intnum = lt_gp_guids.

get person id by SAP name

CALL FUNCTION 'CRM_CENTRALPERSON_GET'EXPORTING

iv_username = sy-uname - WANGJERIMPORTING

ev_person_id = lv_me - 50003657ev_bu_partner_guid = lv_partner

Useful table

TSAD3T - Mr, Ms

T100 - message textmessage instance

TCP00 - Code page ( and TCP00A for description )

SSYNTAXSTRUCTURE - XML Representation of Syntax DiagramsDWINACTIV - inactive object list

Useful transaction

SE90: pure repository information systemDWDM: demo in system

SU20: Maintain authorization field

SPAU_ENH: Enhancement information systemRSBREAKPOINTS: display all breakpoints

ST07: display total number of users in application serverSAST: display ABAP syntax tree

SYNT: syntax trace analysis on Program check

Useful report

DD_STYLE_TABLE: ABAP font

RS_CI_EMAIL: send mail to code inspector runnerRSVCDI00: list of versionable object class

RSAUNIT_SETUP_OVERVIEW: unit test system setting overviewSSF01: Digital signature test reportRSMEMORY: review memory usageRSSNAPDL: delete old ABAP dumpsDEMO_DB_LOCATOR

RSDEP000: This report checks the dependencies of a set of ABAP loads.

\" All missing \"touches\" are reported, i.e., changes of DDIC types

\" and includes which did not invalidate the depending loads.RSNTABCONSISTENCY: table health checkRS_DYNPRO_TRACE: dynpro traceRSPFPAR : display all server profiles

WB_INACTIVE_OBJECTLIST_START: start inactive worklist in ABAP workbench ( automatically launch SE80 with dedicated tab )XXLFTEST: Excel test program

PAK_EXPLAIN: Package check entry programSPROX_CHECK_IFR_ADDRESS: get ESR URL

SPROX_CHECK_HTTP_COMMUNICATION: HTTP health checkSPROX_CHECK_IFR_RESPONSE: get ESR responseRSPARAM: display RZ11 parameter

DD_ADD_PICTUREdynamic document exampleDD_ADD_TABLE )BCALV_BDS_UPLOAD: ALV Template upload

SAPHTML_EVENTS_DEMO: HTTP Control Event exampleSAUNIT_PROG_INFO: Explore unit test metadatadisplay activation log: RADPROTARSKMETHdisplay kernel method

SAPBC_DATA_GENERATOR SAPSFLIGHTABAP TrialSFLIGHTDEMO_JAVA_SCRIPT_MINI_EDITOR: Javascript test

Useful packages

SDBA_HDB for HANASABP_COMPILER

SABP_CORE: contain some utility classSABP_PRAGMA: package for pragma SABP_CONVERT conversion utilitiesSATL : abap template languageSMEM: Memory management

S_CODE_COMPLETION: ABAP code completion implementation

STTO: tp ABAP Interface, and transport log tableSMOS: Operation system monitorS_ABAP_TOOLS: useful reports

Useful code

data: lt_table type string_Table,lv_result type string.append '1' TO lt_table.append '2' TO lt_table.

lv_result = concat_lines_of( table = lt_Table sep = `$` ).WRITE: / lv_result.

****************** always get the latest time ****************

write sy-uzeit COLOR COL_NEGATIVE.CALL FUNCTION 'AB_SLEEP'EXPORTINGWAIT_TIME = 3.get time.

write sy-uzeit COLOR COL_POSITIVE.********** ********************************************tax = price * '0.17'.

************** dynamically call local class defined in a report ************

CALL METHOD ('\\PROGRAM=SAPLABAP_DOCU\\CLASS=HTML_VALIDATION_ONLINE')=>abap_docu_validateEXPORTINGobject = objectveriflag = veriflag.

*********************data type: QUAN *****************

length 15, decimal 3, ABAPP (15+1)/2 = 8 P(8) DECIMALS 3

Useful class

CL_VSCAN_GROUP : virus scan

CL_FUNCTION_BUILDER: source code of SE37

cl_wdr_conversion_utils: Webdynpro conversion utility class

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- cepb.cn 版权所有 湘ICP备2022005869号-7

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务