Ansicht
Dokumentation

/AIN/PUB_POBJ_HIER_CREATE - Create Object Hierarchy

/AIN/PUB_POBJ_HIER_CREATE - Create Object Hierarchy

rdisp/max_wprun_time - Maximum work process run time   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The service enables a calling application such as an activity, user interface, or custom application to create physical object hierarchies in SAP Auto-ID Infrastructure (SAP AII).

To ensure data integrality, SAP AII performs the following checks before it creates a physical object hierarchy:

  • The objects must exist
  • The internal IDs of child and parent objects are provided.
  • The parent object must be tagged (that is, it must have an external ID)
  • Both the child and parent objects must be in a same location and in stock
  • The object to be added may already have children; however, it cannot already belong to a hierarchy (that is, it cannot have a parent object)
  • The time stamp and the user name are provided

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_PRT_POBJ_LINK
IV_DEVGRP_INTID
IV_UPDATE_TIME
IV_UPDATE_USER

Exceptions

BUSINESS_LEVEL_ERROR_INPUT
TECHNICAL_LEVEL_ERROR

Function Group

/SAPLPUB_POBJ

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.

Length: 2812 Date: 20240329 Time: 160406     sap01-206 ( 44 ms )