Ansicht
Dokumentation

J_1S_J_1SWEMF00_IVWKN - IS-M/SD CH: Determine WEMF Return Category

J_1S_J_1SWEMF00_IVWKN - IS-M/SD CH: Determine WEMF Return Category

Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
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

AIVWKN
IIVWKN

Exceptions

Function Group

J1S7

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

Length: 1532 Date: 20240523 Time: 113336     sap01-206 ( 48 ms )