Ansicht
Dokumentation

BAPI_BUS2002_CREATE - Create Network Header Using BAPI

BAPI_BUS2002_CREATE - Create Network Header Using BAPI

Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Create a network header (BOR object type BUS2002001). Only one network can be created each time this BAPI is called.

Example

Transfer the data of the new network in parameter I_NETWORK.

  • Internal number assignment of the network number
    The network profile is the only required-entry field. The BAPI fails if an external network number is entered in the interface.
    When the BAPI finishes successfully, the final network number has not been determined yet. Instead, the log of the return table ET_RETURN contains a temporary network number.
    Use this temporary network number, if you do any of the following before carrying out the posting:
  • Change this network header (BAPI_BUS2002_CHANGE)

  • Create activities for this network (BAPI_BUS2002_ACT_CREATE_MULTI)

  • Change activities created for this network (BAPI_BUS2002_ACT_CHANGE_MULTI)

  • Create activity elements for this network (BAPI_BUS2002_ACTELEM_CREATE_M)

  • Change activity elements that were created for this network (BAPI_BUS2002_ACTELEM_CHANGE)

  • Carry out status changes for this network (BAPI_BUS2002_SET_STATUS)


    After the precommit is carried out successfully, the final network number along with the current temporary number are displayed in the log of the precommit. All dependent messages for this network header in the log of the precommit (change header, create/change network activities, create/change activity elements) contain the final number only.

  • External number assignment of the network number
    In addition to the network profile, the network number is also a required-entry field. Exception: the external network number is determined via user exit CNEX0012 "Derive External Network Number from WBS Number".
    The BAPI fails if no external network number, or one that is already being used, is interfaced or determined in the user exit.
    If the BAPI finishes successfully, the log of the ET_RETURN return table already contains this external network number. If the BAPI fails, the lock of the external network number is immediately lifted.

Notes

Further information





Parameters

ET_RETURN
EXTENSIONIN
EXTENSIONOUT
I_NETWORK

Exceptions

Function Group

CN2002

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

Length: 3124 Date: 20240523 Time: 105112     sap01-206 ( 53 ms )