Ansicht
Dokumentation

/AIN/PUB_POBJ_HIER_REMOVE - Remove Object from Hierarchy

/AIN/PUB_POBJ_HIER_REMOVE - Remove Object from Hierarchy

ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This service enables a calling application such as an activity, user interface, or custom application to remove the hierarchical relationships between physical objects in SAP Auto-ID Infrastructure (SAP AII). The service uses the internal ID of the object whose relationship is to be removed to identify and delete its parent relationship. For example, if object A is parent to objects B and C, the service only needs B's internal ID to delete the relationship between A and B.

To ensure data integrality, SAP AII performs the following checks before removing the object hierarchy relationships:

  • The objects exist
  • The time stamp and the user name are provided

If the internal ID belongs to a tagged object, the service only deletes the object's hierarchical relationship. If the internal ID belongs to an untagged object, the service deletes the hierarchical relationship and then also deletes the untagged object from the SAP AII system.

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 the 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:

  1. Trigger the database update statements by using the service /AIN/PUB_BO_SAVE
  2. 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_RETURN
IT_POBJ_INTID
IV_DEVGRP_INTID
IV_UPDATE_TIME
IV_UPDATE_USER

Exceptions

BUSINESS_LEVEL_ERROR_INPUT
TECHNICAL_LEVEL_ERROR

Function Group

/SAPLPUB_POBJ

TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2921 Date: 20240328 Time: 200326     sap01-206 ( 55 ms )