Ansicht
Dokumentation

/AIN/PUB_POBJ_HIER_PEER_ADD - Add Peers to Physical Object Hierarchy

/AIN/PUB_POBJ_HIER_PEER_ADD - Add Peers to Physical Object Hierarchy

CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
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 add physical objects into an existing object hierarchy by referring to a peer physical object in SAP Auto-ID Infrastructure (SAP AII).

To ensure data integrality in SAP AII, the following checks are performed before the physical objects can be added to the object hierarchy:

  • The objects must exist
  • The reference peer object cannot be a top (root) object
  • The objects to be added and the reference peer object must be in the same location andmust be in stock.
  • Child objects to be added cannot already belong to the hierarchy ; however, they may have their own child objects.
  • Time stamp and user name must be 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.

The 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 usingthe service /AIN/PUB_BO_SAVE service
  2. Depending on that values in the return table (ET_RETURN) of the /AIN/PUB_BO_SAVE service, either performing commit work (by using /AIN/PUB_DATABASE_COMMIT service) or rollback (by using /AIN/PUB_DATABASE_ROLLBACK service).

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

Exceptions

BUSINESS_LEVEL_ERROR_INPUT
TECHNICAL_LEVEL_ERROR

Function Group

/SAPLPUB_POBJ

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2891 Date: 20240329 Time: 152940     sap01-206 ( 47 ms )