MP012840 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter MP012840 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.
Title: FORM Routines for Infotype 0128
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RETRIEVAL_TEXT CALL FUNCTION 'RETRIEVAL_TEXT' EXPORTING ID = P0128-TXTID LANGUAGE = P0128-SPRSL IMPORTING HEADER = HEADER EXCEPTIONS OTHERS = 1.
READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING OBJECT = P0128-OBJCT ID = P0128-TXTID NAME = P0128-OBNAM LANGUAGE = P0128-SPRSL IMPORTING HEADER = HEADER TABLES LINES = LINES EXCEPTIONS ID = 01 LANGUAGE = 02 NAME = 03 NOT_FOUND = 04 OBJECT = 05 REFERENCE_CHECK = 06 WRONG_ACCESS_TO_ARCHIVE = 07 OTHERS = 08.
EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING DISPLAY = DISPLAYONLY HEADER = HEADER SAVE = SPACE "saving not active IMPORTING NEWHEADER = HEADER FUNCTION = RESULT TABLES LINES = LINES EXCEPTIONS ID = 01 LANGUAGE = 02 LINESIZE = 03 NAME = 04 OBJECT = 05 TEXTFORMAT = 06 COMMUNICATION = 07 OTHERS = 08.
INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = P0128-TXTID LANGUAGE = P0128-SPRSL NAME = P0128-OBNAM OBJECT = P0128-OBJCT IMPORTING HEADER = HEADER TABLES LINES = HELPTAB EXCEPTIONS ID = 01 LANGUAGE = 02 NAME = 03 OBJECT = 04 OTHERS = 05.
SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = HEADER SAVEMODE_DIRECT = TRUE * OWNER_SPECIFIED = ' ' IMPORTING FUNCTION = FUNC NEWHEADER = HEADER TABLES LINES = LINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4 OTHERS = 5.
DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING ID = P0128-TXTID LANGUAGE = P0128-SPRSL NAME = P0128-OBNAM OBJECT = P0128-OBJCT SAVEMODE_DIRECT = TRUE EXCEPTIONS NOT_FOUND = 01 OTHERS = 02.
DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING DOMNAME = $NAME VALUE = $$VALUE LANGU = $SPR * BYPASS_BUFFER = ' ' IMPORTING DD07V_WA = DD07V_WA RC = RC EXCEPTIONS OTHERS = 1.
HR_GET_PERS_MESSAGE_NUMBER CALL FUNCTION 'HR_GET_PERS_MESSAGE_NUMBER' EXPORTING PERSNR = P0128-PERNR IMPORTING NUMBER = NUMBER EXCEPTIONS NO_AUTHORITY = 1 WRONG_GAP = 2 OTHERS = 3.
READ_TEXT_INLINE CALL FUNCTION 'READ_TEXT_INLINE' EXPORTING ID = P0128-TXTID INLINE_COUNT = 5 LANGUAGE = P0128-SPRSL NAME = P0128-OBNAM OBJECT = P0128-OBJCT IMPORTING HEADER = HEADER TABLES INLINES = INLINES LINES = LINES EXCEPTIONS ID = 01 LANGUAGE = 02 NAME = 03 NOT_FOUND = 04 OBJECT = 05 REFERENCE_CHECK = 06 OTHERS = 07.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.