DBPAPGMC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to generate the matchcode access path routines for the PAP logical database...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter DBPAPGMC into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: PAPMMCID = Search help (hot key)
Selection Text: TEST = Test without update (X=yes)
Selection Text: UPDFORCE = Update (X=yes)
Title: Generator for MC Access Paths of LDB PNP
Text Symbol: 001 = Data inconsistency
Text Symbol: 002 = Information from the ABAP Dictionary is inconsistent
Text Symbol: 003 = Generating of the matchcode ID
Text Symbol: 004 = was terminated
Text Symbol: E01 = Program
Text Symbol: E02 = already exists.
Text Symbol: E03 = Program will not be overwritten
Text Symbol: E04 = No search help selected
Text Symbol: E05 = Program could not be read
Text Symbol: E06 = Program could not be added/changed
Text Symbol: E07 = Unknown variable substitution
Text Symbol: E08 = Unknown variable
Text Symbol: E09 = Unknown variable
Text Symbol: E10 = Unknown variable
Text Symbol: S00 = Program
Text Symbol: S01 = successfully created/changed
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
F4TOOL_SUBSHLP_BY_HOTKEY CALL FUNCTION 'F4TOOL_SUBSHLP_BY_HOTKEY' EXPORTING SHLPNAME = 'PAPM' IMPORTING SUBSHLP = SUBSHLP EXCEPTIONS OTHERS = 3.
DDIF_SHLP_GET CALL FUNCTION 'DDIF_SHLP_GET' "PH9K004556 EXPORTING "PH9K004556 NAME = SUBSHLP "PH9K004556 IMPORTING "PH9K004556 GOTSTATE = GOTSTATE "PH9K004556 DD30V_WA = DD30V_WA "PH9K004556 EXCEPTIONS "PH9K004556 OTHERS = 3. "PH9K004556
F4TOOL_SUBSHLP_BY_HOTKEY CALL FUNCTION 'F4TOOL_SUBSHLP_BY_HOTKEY' EXPORTING SHLPNAME = 'PAPM' IMPORTING SUBSHLP = SUBSHLP EXCEPTIONS OTHERS = 3.
DDIF_SHLP_GET CALL FUNCTION 'DDIF_SHLP_GET' "PH9K004556 EXPORTING "PH9K004556 NAME = SUBSHLP "PH9K004556 IMPORTING "PH9K004556 GOTSTATE = GOTSTATE "PH9K004556 DD30V_WA = DD30V_WA "PH9K004556 EXCEPTIONS "PH9K004556 OTHERS = 3. "PH9K004556
F4IF_EXPAND_SEARCHHELP CALL FUNCTION 'F4IF_EXPAND_SEARCHHELP' "PH9K004556 EXPORTING "PH9K004556 SHLP_TOP = SHLP_TOP "PH9K004556 IMPORTING "PH9K004556 SHLP_TAB = SHLP_DESCR_TAB. "PH9K004556
RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING OBJECT = REPID OBJECT_CLASS = 'ABAP' MODE = MODUS MASTER_LANGUAGE = SY-LANGU KORRNUM = KORRNUM IMPORTING KORRNUM = KORRNUM EXCEPTIONS CANCELLED = 01 PERMISSION_FAILURE = 02 UNKNOWN_OBJECTCLASS = 03.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.