Ansicht
Dokumentation

J_1S_J_1SWEMF00_REMISSION - IS-M/SD CH: Refresh WEMF Statistics for Returns

J_1S_J_1SWEMF00_REMISSION - IS-M/SD CH: Refresh WEMF Statistics for Returns

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This function module is an update task that saves the publishing IVW statistics. It is used both when creating and when changing.

Update Logic

The retail order, an X table, and a Y table are transferred to the function module for all the schedule lines in the return.
The Y table represents the status before the change, and the X table contains the current status with all the changes. The changes are assigned the DB code in the X table. New entries are marked with INSERT, changed entries with UPDATE, and entries for deletion with DELETE.

Procedure:

  1. The function module reads the IVW record (JITSTAT) and removes the lock key for each entry in the YJKEP table. The quantity is deducted from the YJKEP entry and the IVW record is returned. The lock key is cancelled.
  2. The function module reads the IVW record (JITSTAT) and removes the lock key for each entry in the XJKEP table. The quantity is added to the XJKEP entry and the IVW record is returned. XJEP entries marked with DELETE are ignored.

Explanation:
This procedure is necessary because the system is only able to identify which IVW records have been edited when the data is saved. This means it is no longer possible to lock the records without allowing the user to edit records that are already locked by other users.





Parameters

BJKAK
BJKAP
BJKKD
XJKAK
XJKAP
XJKEP
YJKAK
YJKAP
YJKEP

Exceptions

Function Group

J1S7

Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1621 Date: 20240523 Time: 110559     sap01-206 ( 37 ms )