RPU40CC2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for During migration from release 4...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 RPU40CC2 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: PERNR = Personnel number
Selection Text: TEST = Test mode ('X' = no update)
Title: Convert infotype 380
Text Symbol: CAR = Compensation area for person & not found
Text Symbol: CTY = Compensation type for person & not found
Text Symbol: PR0 = Start conversion of infotype &
Text Symbol: PRE = End conversion of infotype &
Text Symbol: PRT = Start conversion of infotype & (test mode)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' EXPORTING MASTER_LANGU = MESSAGE_LANGU TABLES XMSG = MESSAGES.
TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.
HRCM_CAREA_GET_FROM_FEATURE CALL FUNCTION 'HRCM_CAREA_GET_FROM_FEATURE' EXPORTING PERNR = I0380-PERNR BEGDA = I0380-BEGDA ENDDA = I0380-ENDDA * REACTION = ' ' IMPORTING CAREA = CAREA * TABLES * ERROR_TABLE = EXCEPTIONS CAREA_NOT_FOUND = 1 OTHERS = 2.
HRCM_CAREA_GET_FROM_FEATURE CALL FUNCTION 'HRCM_CAREA_GET_FROM_FEATURE' EXPORTING PERNR = I0382-PERNR BEGDA = I0382-BEGDA ENDDA = I0382-ENDDA * REACTION = ' ' IMPORTING CAREA = CAREA * TABLES * ERROR_TABLE = EXCEPTIONS CAREA_NOT_FOUND = 1 OTHERS = 2.
HRCM_CAREA_GET_FROM_FEATURE * CALL FUNCTION 'HRCM_CAREA_GET_FROM_FEATURE' * EXPORTING * PERNR = U0382-PERNR * BEGDA = U0382-BEGDA * ENDDA = U0382-ENDDA ** REACTION = ' ' * IMPORTING * CAREA = CAREA ** TABLES ** ERROR_TABLE = * EXCEPTIONS * CAREA_NOT_FOUND = 1 * OTHERS = 2 * .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.