Ansicht
Dokumentation

/SAPAPO/OMB_DELT_GET_REMOV_VPL - Get and Delete (if Required) Forecast Delta Records with Filter

/SAPAPO/OMB_DELT_GET_REMOV_VPL - Get and Delete (if Required) Forecast Delta Records with Filter

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Reads all delta records of the anchor GUID specified in table IM_ANCDELKOMBMIX. If the table is empty, no records are read.

Records that have

  • the specified transaction number

  • AND a DelNo/DelPs combination that is contained in the specified ANCDELKOMBI table

  • AND an initial (= 0) requirement group index or an index that is larger or identical to the specified one

are NOT returned (that is, they are filtered).

A filtered - that is, non-returned - data record is also deleted if the ENQFLG is set in the ANCDELKOMBI table.

The following rules also apply:

  • If one of the filter criteria (transaction number, requirement group index, DelNo/DelPs combination) is not set, it will not be taken into account.

  • If no DelNo/DelPs combinations are specified, or if these are initial, no deletions will be made, as the ENQFLG cannot be analyzed.

Example

If, for example, the transaction number is not specified, all records will be examined irrespective of their transaction number.

If the requirement group index for one of these records matches the specified one, this record will be filtered, that is, not returned. If the transaction number had been specified, a comparison would only be made for records belonging to this transaction in the requirement group index and with the same index.

Notes

Table ANCDELKOMBIX must conform to the following consistency conditions:

  • The anchor GUID must not be empty.

  • If the DelNo/DelPs combination for an anchor GUID is initial, no more records can exist for this anchor GUID.

If any of these conditions are not met, an entry is made in the log file, and no records will be delivered.

Further information





Parameters

ET_LOG_ATP_MSG
ET_RC
EX_DELTAALLOCX
IM_ANCDELKOMBIX
IM_CONNAME
IM_TRGUID
IS_GEN_PARAMS
IV_WRITE_ATPLOG

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_DELTA_BASIS

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2633 Date: 20240328 Time: 135042     sap01-206 ( 47 ms )