Ansicht
Dokumentation
/SAPAPO/RET_API_DELETE - Delete Restrictions
Fill RESBD Structure from EBP Component Structure PERFORM Short ReferenceThis 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_APIRFUMSV00 - Advance Return for Tax on Sales/Purchases Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 2879 Date: 20240419 Time: 180016 sap01-206 ( 32 ms )