Ansicht
Dokumentation

MATERIAL_VALIDITY_UPDATE - Change of validity period of material

MATERIAL_VALIDITY_UPDATE - Change of validity period of material

ROGBILLS - Synchronize billing plans   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

Functionality

In this function module, the validity periods of a material are changed.

  • Maximum validity of a material (MARA)
  • Validity period end: Store listing period (MAW1)
  • Validity period end: DC listing period (MAW1)
  • Validity period end: Store sales period (MAW1)
  • Validity period end: DC sales period (MAW1)
  • Validity period end: Store listing period (MVKE)
  • Validity period end: DC listing period (MVKE)
  • Validity period end: Store sales period (MVKE)
  • Validity period end: DC sales period (MVKE)

An error occurs if the start of the validity period is later than the new final date for the validity period. The return code (RET-Code) contains information on where the error occurred:
The RET-code can have the following values:

  • 1:,,global validity of a material (MARA)
  • 2:,,Store listing period (MAW1)
  • 3:,,DC listing period (MAW1)
  • 4:,,Store listing period (MAW1)
  • 5:,,DC sales period (MAW1)
  • 6:,,Store listing period (MVKE)
  • 7:,,DC listing period (MVKE)
  • 8:,,Store listing period (MVKE)
  • 9:,,DC sales period (MVKE)

Example

Notes

Further information





Parameters

P_DIRECT_UPDATE
P_LIQDT
P_MATNR
P_UNAME
P_WERKS
RET_CODE

Exceptions

MATNR_NOT_FOUND

Function Group

WSO7

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

Length: 1991 Date: 20240604 Time: 004803     sap01-206 ( 25 ms )