Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/SAPAPO/RET_API_DELETE - Delete Restrictions

/SAPAPO/RET_API_DELETE - Delete Restrictions

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

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_RETURN
IT_AUTH
IT_HEADER
IT_LOCNO
IT_PNAME
IT_RETNAME
IT_SETNAME
IV_APOVERS
IV_CONTROL_FLAG
IV_MMP_FLAG

Exceptions

Function Group

APO/SAPLRET_API

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2879 Date: 20211128 Time: 123004     sap01-206 ( 27 ms )