Ansicht
Dokumentation

/AIN/PUB_POBJ_BUNDLE_TO_HIER - Physical Object Bundle Creation

/AIN/PUB_POBJ_BUNDLE_TO_HIER - Physical Object Bundle Creation

TXBHW - Original Tax Base Amount in Local Currency   General Data in Customer Master  
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 covert a physical object bundle to a physical object hierarchy in SAP Auto-ID Infrastructure (SAP AII).

A bundle is used to model a group of physical objects that belong to the same group, but whose parents' external IDs are unknown. However, when the parents' external IDs are available the service can convert the bundle to a hierarchy.

To ensure data integrality in SAP AII, the following checks are performed before a bundle can be converted to a hierarchy:

  • The physical object's internal ID is provided
  • The physical object must exist
  • Time stamp and the user name are provided
  • The hierarchy's reference physical object (IV_HIER_PRT_POBJ_INTID) must be a tagged object (that is, an object that has an external ID).
  • (The bundle's reference physical object (IV_BUNDLE_POBJ_INTID) must belong to an existing bundle.

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.

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.

Commit Handling

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 → mySAP Business Suite → SAP Auto-ID Infrastructure → Auto-ID Core Services.





Parameters

ET_RETURN
IV_BUNDLE_POBJ_INTID
IV_DEVGRP_INTID
IV_HIER_PRT_POBJ_INTID
IV_UPDATE_TIME
IV_UPDATE_USER

Exceptions

BUSINESS_LEVEL_ERROR_BUNDLE
BUSINESS_LEVEL_ERROR_INPUT
TECHNICAL_LEVEL_ERROR

Function Group

/SAPLPUB_POBJ

TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3238 Date: 20240328 Time: 104742     sap01-206 ( 52 ms )