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
Below is a list of transaction codes which are relevant to this SAP report
WRF_TCHAIN_MIGR - Migration Transp.Chain/Staging Time
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: 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
INCLUDE RWRF_TCHAIN_MIGRATIONTOP . " GLOBAL DATA
No SAP DATABASE tables are accessed within this REPORT code!
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'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RWRF_TRANSP_CHAIN_MIGRATION - Migration for Transportation Chain and Staging Time RWRF_TRANSP_CHAIN_MIGRATION - Migration for Transportation Chain and Staging Time RWRF_TRANSFER_QUANTITY - Stock in Transit (Consignment Processing) RWRF_TRANSFER_QUANTITY - Stock in Transit (Consignment Processing) RWRF_TCHAIN_MIGRATIONTOP - RWRFTCHAINMIGRATIONTOP RWRF_STOCK_SITUATION - Set Stock Situation