SAP Reports / Programs | Personnel Time Management | Time Data Recording and Administration | Time Tickets(PT-RC-IW) SAP PT

RPWI4100 SAP ABAP Report - Integration with Logistics: Reorganize Interface File







RPWI4100 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report reorganizes the interface table between Logistics and Human Resources (HR)...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 RPWI4100 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PW43 - Reorganize Interface File


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 RPWI4100. "Basic submit
SUBMIT RPWI4100 AND RETURN. "Return to original report after report execution complete
SUBMIT RPWI4100 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: DAYS3 = prior to
Selection Text: GRUNR = Group number
Selection Text: KOSTL = Master cost center
Selection Text: MAX_UPD = Number of data records
Selection Text: PROTLIST = Display confirmations
Selection Text: RMALONE = Cancellations without original
Selection Text: RMERR = Incorrect
Selection Text: RMERRSTO = Incorrect with cancellations
Selection Text: RMGOT = Retrieved up to
Selection Text: RMGOTSTO = Retrieved with cancellations
Selection Text: RMNEWSTO = New with cancellations
Selection Text: RMZHL = Confirmation counter
Selection Text: RUECK = Confirmation number
Selection Text: SKOST = Sender cost center
Selection Text: UPDATE = Update
Selection Text: AUFART = D .
Selection Text: AUFNR = D .
Selection Text: BUDAT = D .
Selection Text: BUKRS = D .
Selection Text: PERNR = D .
Selection Text: PERSB = D .
Selection Text: PERSK = D .
Title: Integration with Logistics: Reorganize Interface File
Text Symbol: T22 = Status
Text Symbol: T21 = Cancellation
Text Symbol: T20 = Selected confirmations
Text Symbol: T12 = Number
Text Symbol: T11 = Confirmation type
Text Symbol: T10 = Overview of all confirmations
Text Symbol: 100 = Number
Text Symbol: 101 = Date
Text Symbol: 102 = Order
Text Symbol: 103 = Conf. no.
Text Symbol: 104 = Count.
Text Symbol: 105 = Group
Text Symbol: 106 = Person
Text Symbol: 107 = Error message
Text Symbol: B01 = Selection of confirmations





Text Symbol: B02 = Database
Text Symbol: B03 = Log
Text Symbol: B07 = Incorrect
Text Symbol: B08 = Incorrect with cancellation
Text Symbol: B09 = Retrieved with cancellation
Text Symbol: B10 = Cancellations without original
Text Symbol: B15 = retrieved and prior to
Text Symbol: B16 = Days
Text Symbol: B1A = Confirmations type
Text Symbol: F02 = On
Text Symbol: F04 = Off
Text Symbol: MOD = Special run
Text Symbol: SEL = Selected
Text Symbol: T01 = Retrieved confirmations
Text Symbol: T02 = New confirmations w/cancellation
Text Symbol: T03 = Confirmations with errors
Text Symbol: T04 = Incorrect confirmations with cancellation
Text Symbol: T05 = Retrieved confirmations w/cancellation
Text Symbol: T06 = Cancellations w/o originals


INCLUDES used within this REPORT RPWI4100

INCLUDE RPWI1110_ALV.
INCLUDE RPWI1120.
INCLUDE RPWI1130.
INCLUDE RPWI1140.


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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = icon_checked TEXT = text-f04 INFO = text-sel IMPORTING RESULT = func2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = icon_checked TEXT = text-f02 INFO = text-sel IMPORTING RESULT = func1.

HRIL_CONF_READ CALL FUNCTION 'HRIL_CONF_READ' EXPORTING FOR_UPDATE = PARAMS-UPDATE BLOCK_SIZE = PARAMS-MAX_UPD IMPORTING SELECTION_COMPLETE = NO_MORE_CONFIRMATIONS TABLES I_LSHR = I_LSHR STATU3 = PARAMS-STATU3 DATUM3 = PARAMS-DATUM3 UZEIT3 = PARAMS-UZEIT3 RUECK = RUECK RMZHL = RMZHL AUFART = AUFART AUFNR = AUFNR SKOST = SKOST BUDAT = BUDAT PERNR = PERNR GRUNR = GRUNR PERSB = PERSB PERSK = PERSK BUKRS = BUKRS KOSTL = KOSTL EXCEPTIONS ENQUEUE_FAILED = 1 OTHERS = 2.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGID = SY-MSGID * MSGTY = 'A' "sy-msgty * MSGNO = SY-MSGNO * MSGV1 = SY-MSGV1 * MSGV2 = SY-MSGV2 * MSGV3 = SY-MSGV3 * MSGV4 = SY-MSGV4.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGID = '53' * MSGTY = 'W' * MSGNO = '360'.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGID = '53' * MSGTY = 'W' * MSGNO = '361'.

HRIL_CONF_DEQU CALL FUNCTION 'HRIL_CONF_DEQU'.






HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGTY = 'I' * MSGNO = '357'.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGTY = 'I' * MSGNO = '357'.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGTY = 'A' * MSGNO = '355'.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGTY = 'A' * MSGNO = '356'.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGTY = 'A' * MSGNO = '196'.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGNO = '358' "Es wurden keine Rückmeldungen gelöscht * LISTENBREITE = BREITE_PROTOKOLL.

HR_INPUT_PLL40_MESSAGE * CALL FUNCTION 'HR_INPUT_PLL40_MESSAGE' * EXPORTING * MSGNO = '359' "Die selektierten Rückmeldungen wurden gel.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = i_strname I_PROGRAM_NAME = g_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid it_fieldcat = it_fieldcat it_events = it_eventtab is_layout = is_layout is_print = is_print i_callback_pf_status_set = lv_pf_set_status " PF_SET_STATUS i_callback_user_command = lv_user_command " USER_COMMAND i_suppress_empty_data = lv_empty_data TABLES t_outtab = it_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid it_fieldcat = it_fieldcat it_events = it_eventtab is_layout = is_layout is_print = is_print i_suppress_empty_data = lv_empty_data TABLES t_outtab = it_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = I_SY_MSGID i_msgno = I_SY_MSGNO i_msgty = I_SY_MSGTY i_msgv1 = I_SY_MSGV1 i_msgv2 = I_SY_MSGV2 i_msgv3 = I_SY_MSGV3 i_msgv4 = I_SY_MSGV4.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = ls_display_profile.



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