SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

RPUMS40CCI SAP ABAP Report - XPRA for generation of infotype include







RPUMS40CCI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report RPU40CCI creates the infotype include %_HRnnnn (nnnn = infotype number) and the additional data structure Pnnnn_AF (nnnn = infotype number) for the given infotype, provided that the corresponding parameter ("generate infotype include" or "generate additional data structure") are set on the selection screen...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 RPUMS40CCI 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 RPUMS40CCI. "Basic submit
SUBMIT RPUMS40CCI AND RETURN. "Return to original report after report execution complete
SUBMIT RPUMS40CCI VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: INFTINCL = Generate infotype include
Selection Text: INFTY = Infotype
Selection Text: PNNNN_AF = Generate additional structure
Selection Text: T77ID_ON = Maintain only T771D
Selection Text: TEST = Test mode ('X' = test run)
Title: XPRA for generation of infotype include
Text Symbol: 7AF = Additional data structure for infotype
Text Symbol: 7GN = generated and inserted in T771D
Text Symbol: 7ID = inserted in T771D
Text Symbol: 7IN = Infotype include for infotype
Text Symbol: AFB = Start of generation of additonal structures
Text Symbol: AFE = End of generation of additional structures
Text Symbol: EXA = already exists
Text Symbol: INB = Start of generation of infotype includes
Text Symbol: INE = End of generation of infotype includes
Text Symbol: INI = Initialisation executed
Text Symbol: M7I = Entries inserted/updated in T771D
Text Symbol: PR0 = Start of generation of infotype includes/additional structures
Text Symbol: PR1 = End of generation of inftyp includes/add. structs.
Text Symbol: PRT = Generation in test mode


INCLUDES used within this REPORT RPUMS40CCI

FORM GENERATE_INFTY_INCLUDES.


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:

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' EXPORTING ACCEPT_NOT_INIT = 'X' CLOSE_FILE = 'X' CONDENSE = 'X' MASTER_LANGU = 'D' OPEN_FILE = 'X' TABLES XMSG = PROT_TAB EXCEPTIONS FILE_NOT_FOUND = 01 WRONG_CALL = 03 OTHERS = 04.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG' EXCEPTIONS OTHERS = 0.

RH_INFTY_INCLUDE_GENERATE CALL FUNCTION 'RH_INFTY_INCLUDE_GENERATE' EXPORTING INFTY = I777D-INFTY.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' "DDIF_TABL_* EXPORTING NAME = REF_TAB STATE = 'M' LANGU = SY-LANGU IMPORTING GOTSTATE = GOTSTATE DD02V_WA = DD02V_WA_N DD09L_WA = DD09L_WA_N TABLES DD03P_TAB = DD03P_TAB_N DD05M_TAB = DD05M_TAB_N DD08V_TAB = DD08V_TAB_N DD12V_TAB = DD12V_TAB_N DD17V_TAB = DD17V_TAB_N EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.

DD_OBJECT_EXISTS CALL FUNCTION 'DD_OBJECT_EXISTS' EXPORTING CLASS = 'TABL' NAME = OBJ_NAME STATE = 'M' IMPORTING EXISTS = EXISTS.

DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' "DDIF_TABL_* EXPORTING NAME = NEW_TAB DD02V_WA = DD02V_WA_N DD09L_WA = DD09L_WA_N TABLES DD03P_TAB = DD03P_TAB_N DD05M_TAB = DD05M_TAB_N DD08V_TAB = DD08V_TAB_N EXCEPTIONS TABL_NOT_FOUND = 1 NAME_INCONSISTENT = 2 TABL_INCONSISTENT = 3 PUT_FAILURE = 4 PUT_REFUSED = 5 OTHERS = 6.

DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' "DDIF_TABL_* EXPORTING NAME = NEW_TAB IMPORTING RC = SUBRC EXCEPTIONS NOT_FOUND = 1 PUT_FAILURE = 2 OTHERS = 3.



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 RPUMS40CCI or its description.