Ansicht
Dokumentation

RWLF_XPRA_S4MIG_SETTL_METHOD - XPRA for S4 settl method migration (tables TMZR + WBRK)

RWLF_XPRA_S4MIG_SETTL_METHOD - XPRA for S4 settl method migration (tables TMZR + WBRK)

CL_GUI_FRONTEND_SERVICES - Frontend Services   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

XPRA to migrate parked settlement requests from the classic to the extend settlement method ERP to S/4HANA, as only the extended settlement method is supported now for follow-on document creation:

  • adjustment of customizing tables: TMZR
  • adjustment of application data tables: WBRK

Step 1: Adjustment of Customizing

Change Settlement Method in Customizing Table TMZR

Relevant Entries: TMZR-SETTL_METHOD = ' ' and TMZR-WBTYP ca 'AB'

Change: set TMZR-SETTL_METHOD = '1'

Step 2: Adjustment of Documents

Change Settlement Method and Settlement Status in Table WBRK

Relevant Entries: WBRK-WDTYP = 'B' and WBRK-SETTL_METHOD = ' ' and WBRK-WBTYP = 'C'

Changes:

  • WBRK-SETTL_METHOD = '1'
  • WBRK-SETTL_DOCTYPE_V = 'D' or 'L' depending on TMZR-settings
  • WBRK-SETTL_DOCTYPE_C = 'C' or 'G' depending on TMZR-settings
  • WBRK-SETTL_STATUS_V depending on WBRK-RFBSK and WBRK-SETTL_PARTY
  • WBRK-SETTL_STATUS_C depending on WBRK-RFBSK and WBRK-SETTL_PARTY

Integration

The XPRA uses the table SDPROGRESS_LOG to control the process. If a step fails the progress log enables the restart of the report. If the report is restarted only open steps are processed.

Steps that have been processed successfully in a previous report run are not reprocessed.

For the second step, the report creates a temporary projection view to improve the performance of database access to table WBRK.

If errors occur that deal with the creation or activation of the projection view, the problems have to be analyzed and solved before restarting the report. Remember to restart the report after solving these errors, otherwise the data migration is not complete.

If the deletion of the projection view fails, the data migration is not effected, since the projection view is only the vehicle used to migrate and the program attempts to delete it after migration has been completed.

Restarting the report in this case only updates the status of the deletion step in the progress log.

Client independent.

Prerequisites

Features

Selection

Standard Variants

Output

Activities

Example






Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2709 Date: 20240520 Time: 141315     sap01-206 ( 39 ms )