Ansicht
Dokumentation
/SAPAPO/RET_API_DELETE - Delete Restrictions
CPI1466 during Backup ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Functionality
Deleting the Restrictions of a Certain Planning Version, Production Line or Location.
Example
The following restrictions can be deleted:
Restrictions of a certain
- Planning version
- Location
- Line
- Restriction group
To delete all restrictions for model mix planning for a specific planning version, use the import parameters IV_APOVERS and IV_MMP_FLAG = 'X'.
To delete all restrictions for reservation planning for a specific planning version, use the import parameter IV_APOVERS.
You can use these parameters along with the following import parameters:
- IT_LOCNO, to delete the restrictions of the specified location and planning version only.
- IT_PNAME, to delete the restrictions of the specified production lines and planning version only.
- IT_SETNAME, to delete only the restrictions of the specified restriction groups created with reference to certain locations/lines and the specified planning version created in IV_APOVERS.
- IT_RETNAME, to delete only the restrictions with the restriction names specified in this parameter and the planning version specified in IV_APOVERS.
- IT_HEADER
- You can fill this parameter with the desired restriciton IDs by first reading restrictions according to the specified parameters using the API /SAPAPO/RET_API_READ. Then delete the restrictions which were read.
Notes
Further information
Parameters
ET_RETURNIT_AUTH
IT_HEADER
IT_LOCNO
IT_PNAME
IT_RETNAME
IT_SETNAME
IV_APOVERS
IV_CONTROL_FLAG
IV_MMP_FLAG
Exceptions
Function Group
APO/SAPLRET_APIBAL_S_LOG - Application Log: Log header data BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 2879 Date: 20240419 Time: 103659 sap01-206 ( 39 ms )