Ansicht
Dokumentation

/AIN/PUB_BTD_HIER_UNASSIGN - Business Transaction Document Hierarchy Unassign

/AIN/PUB_BTD_HIER_UNASSIGN - Business Transaction Document Hierarchy Unassign

PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The business transaction document (BTD) assign hierarchy service enables a calling application such as an activity, user interface, or custom application to remove an existing association of a hierarchy of physical objects to a BTD in SAP Auto-ID Infrastructure (SAP AII).

Example

If you write your own custom activity to be called in an outbound loading scenario, you can use this service to remove existing associations of scanned object tag IDs to an outbound delivery (that is, to correct wrong object scans made earlier). If you created a pack hierarchy of physical objects using the physical object core services in a previous step, you may use the root object (i.e. the pallet) to call the BTD unassign hierarchy service to remove the hierachy association.

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 on parameters.

Interaction with Physical Object

This service uses the Physical Object Internal Identifier (POBJ_INTID) to read attributes of existing instances of physical object and to update the attributes of BTD node BTD Object Actual for the given object(s).

Data persistency

This service does not persist any data to the SAP AII database. Only internal buffer tables are updated (stateful service). It is the responsibility of the caller to persist the new or modified data to the SAP AII database by calling the service /AIN/PUB_BO_SAVE.

Commit handling

This service does not commit any information to the SAP AII database. It is the responsibility of the calling application to process the messages generated by the service in the ET_RETURN table and commit (or rollback) by calling the service /AIN/PUB_DATABASE_COMMIT or /AIN/PUB_DATABASE_ROLLBACK..

Message Handling

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 the messages that are generated during the service call are returned to the calling application.

Integration with external systems

This service only affects data within SAP AII; it does not does not send data to external systems.

Further information

The documentation for core services can be found in SAP Help Portal at help.sap.com → mySAP Business Suite → SAP Auto-ID Infrastructure → Auto-ID Core Services.





Parameters

ET_RETURN
IT_POBJ_INTID
IV_ACTION_TYPE
IV_BTD_INTID
IV_BTD_ITM_ACT_BY_OBJ_ACT
IV_BTD_STATUS_BY_OBJ_ACT

Exceptions

BUSINESS_LEVEL_ERROR_INPUT
TECHNICAL_LEVEL_ERROR

Function Group

/SAPLPUB_BTD

General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3951 Date: 20240328 Time: 140833     sap01-206 ( 68 ms )