SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

RWRF_TRANSP_CHAIN_MIGRATION SAP ABAP Report - Migration for Transportation Chain and Staging Time







RWRF_TRANSP_CHAIN_MIGRATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The newly introduced data retention levels for the transportation chain and staging time are not automatically filled with values if these data records (vendor master data, purchasing info record) already existed before the introduction of the fields on the new data retention levels...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 RWRF_TRANSP_CHAIN_MIGRATION 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

WRF_TCHAIN_MIGR - Migration Transp.Chain/Staging Time


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 RWRF_TRANSP_CHAIN_MIGRATION. "Basic submit
SUBMIT RWRF_TRANSP_CHAIN_MIGRATION AND RETURN. "Return to original report after report execution complete
SUBMIT RWRF_TRANSP_CHAIN_MIGRATION 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: FLG_INIT = Only Adjust Initial Fields
Selection Text: FLG_PUR = Adjust Purch. Info Records
Selection Text: FLG_TEST = Test Run
Selection Text: FLG_VEN = Adjust Vendor Data
Selection Text: VENDORS = Vendor
Title: Migration for Transportation Chain and Staging Time
Text Symbol: 001 = Transportation Migration Results
Text Symbol: C01 = Icon
Text Symbol: C02 = Message
Text Symbol: C03 = New Transportation Chain
Text Symbol: C04 = Old Transportation Chain
Text Symbol: C05 = New Staging Time
Text Symbol: C06 = Old Staging Time
Text Symbol: E01 =
Text Symbol: I01 = Error
Text Symbol: I02 = Warning
Text Symbol: I03 = Success
Text Symbol: P01 = You have switched off the option 'Test Run'
Text Symbol: P02 = This means that the changes are written to the database
Text Symbol: P03 = Do you wish to proceed with the migration?
Text Symbol: P04 = Confirmation Prompt


INCLUDES used within this REPORT RWRF_TRANSP_CHAIN_MIGRATION

INCLUDE RWRF_TCHAIN_MIGRATIONTOP . " GLOBAL DATA


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:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey TABLES p_exclude = lt_itab.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'N' DIAGNOSETEXT1 = text-p01 DIAGNOSETEXT2 = text-p02 TEXTLINE1 = text-p03 TITEL = text-p04 CANCEL_DISPLAY = ' ' IMPORTING ANSWER = l_answer.

ENQUEUE_EXLFA1 CALL FUNCTION 'ENQUEUE_EXLFA1' EXPORTING LIFNR = -lifnr EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

ENQUEUE_EMEINAE CALL FUNCTION 'ENQUEUE_EMEINAE' "lock info record EXPORTING INFNR = -infnr EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.



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