Ansicht
Dokumentation
/SAPAPO/RET_API_READ - Select Restrictions from the Database
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
You can use this API to select restrictions that are assigned to a certain planning version, line, location, or restriction group.
Alternatively, you can select the restrictions with a certain status, restriction category, or object dependency.
Example
To be able to read all restrictions in model mix planning for a specified planning version, use the import parameter IV_APOVERS.
You can combine the parameters mentioned above with the following import parameters:
- IV_RET_STATUS = 'B' , to read only locked restrictions.
- IV_RETTYPE= 'K', to read only 'K from M' restrictions of model mix planning.
- IV_DEPENDENCY = 'COLOR' = 'BLACK' , to read only restrictions with this dependency.
- IV_STARTDATE = '01.01.2003' , to read restrictions from this validity date only.
- IV_CONTRACTLINE = 'X' , to read only restrictions from reservation planning for which the Upper Capacity Limit indicator has been set.
- IT_LOCNO, to read only restrictions for the stipulated locations and planning version (import parameter IV_APOVERS).
- IT_PNAME, to read only restrictions for the stipulated production lines and planning version (import parameter IV_APOVERS).
- IT_SETNAME, to read only restrictions for the stipulated restriction groups, locations or production lines, and planning version (import parameter IV_APOVERS).
- IT_RETNAME, to read only restrictions with the stipulated restriction names in the planning version stipulated with IV_APOVERS.
- IT_RETID, to read only restrictions with the stipulated restriction ID in the planning version stipulated with IV_APOVERS.
- IT_AUTH, to read only restrictions with the authorization groups stipulated in this parameter.
Notes
Further information
Parameters
ET_DEPENDENCYET_HEADER
ET_RETURN
ET_RETVALUES
ET_SOURCE
IT_AUTH
IT_LOCNO
IT_PNAME
IT_RETID
IT_RETNAME
IT_SETNAME
IV_APOVERS
IV_CONTRACTLINE
IV_DEPENDENCY
IV_MMP_FLAG
IV_RETTYPE
IV_RET_STATUS
IV_STARTDATE
Exceptions
Function Group
APO/SAPLRET_APICL_GUI_FRONTEND_SERVICES - Frontend Services ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 4180 Date: 20240423 Time: 203420 sap01-206 ( 43 ms )