Ansicht
Dokumentation
/AIN/PUB_POBJ_INV_STA_MODIFY - Update Object Inventory Status
ABAP Short Reference SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
This service enables a calling application such as an activity, user interface, or custom application to update the inventory status of physical objects in SAP Auto-ID Infrastructure (SAP AII).
To ensure data integrality, SAP AII performs the following checks before changing the inventory status of an object:
- The object's internal ID is provided
- The object exists
- The time stamp and the user name are provided
If the service updates the object's inventory status from "in stock" to "out of stock," then all descendent objects are also changed to "out of stock." However, if the service updates an object's status from "out of stock" to "in stock," then it only updates the inventory status for the object itself.
Example
Notes
This core service documentation is intended for technical developers and implementation consultants. For information about the individual parameters, see the SAP AII system documentation for parameters.
Messages generated by the services are not stored in any application log. It is the responsibility of the calling application to store the application log entries in the relevant application log objects. All messages that are generated during the service call are returned to the calling application.
This service does not commit any information to the SAP AII database. It is the responsibility of the calling application to perform the following sequential steps:
- Trigger the database update statements by using the service /AIN/PUB_BO_SAVE
- Perform commit work (by using the service /AIN/PUB_DATABASE_COMMIT) or rollback (by using the service /AIN/PUB_DATABASE_ROLLBACK), depending on the values in the table ET_RETURN. If the table is empty, the system performs commit work; if not, it performs rollback.
Further information
The documentation for core services can be found in SAP Help Portal at help.sap.com → Documentation → SAP Auto-ID Infrastructure → Auto-ID Core Services.
Parameters
ET_RETURNIT_POBJ_INTID
IV_DEVGRP_INTID
IV_INV_STATUS
IV_UPDATE_TIME
IV_UPDATE_USER
Exceptions
BUSINESS_LEVEL_ERROR_INPUTTECHNICAL_LEVEL_ERROR
Function Group
/SAPLPUB_POBJBAL_S_LOG - Application Log: Log header data BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2831 Date: 20240426 Time: 220401 sap01-206 ( 55 ms )