SAP Reports / Programs | Payroll | Payroll: General Parts(PY-XX) SAP PY

MP012840 SAP ABAP INCLUDE - FORM Routines for Infotype 0128







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT MP012840. "Basic submit
SUBMIT MP012840 AND RETURN. "Return to original report after report execution complete
SUBMIT MP012840 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: FORM Routines for Infotype 0128


INCLUDES used within this REPORT MP012840

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MP012840 or its description.