Fonction SAP BAPI_BUS2002_CHANGE - Change Network Header Using BAPI

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_NETWORK BAPI_BUS2002_CHG u 255 BAPI Structure Network: Create
I_NETWORK_UPD BAPI_BUS2002_UPD u 33
I_NUMBER BAPI_NETWORK_LIST-NETWORK C 12 Network Number

Paramètre Reférence Long. Facultatif Description
ET_RETURN BAPIRET2 548 Return Parameter
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT

Functionality
Change network header (BOR object type BUS2002001). Only one networkheader can be changed each time this BAPI is called.

Example

  • Parameter I_NUMBER, I_NETWORK und I_NETWORK_UPD

  • Transfer the network number of the network to be changed via parameterI_NUMBER.
    Enter the data of the network that is to be changed in parameterI_NETWORK.
    In parameter I_NETWORK_UPD, flag all fields that are to be updated bythe values from I_NETWORK with an "X".
    All other fields remain unchanged, even if they have been assigned newvalues in paramter I_NETWORK. Therefore, this BAPI works according tothe "change by flagging" principle (also refer to the progamming guidein the BAPI transaction).
    • Temporary network number

    • The network to be changed can already exist in the database or can havebeen created previously in the current processing unit via BAPIBAPI_BUS2002_CREATE. In the second case, use the temporary networknumber for parameter I_NUMBER for internal assignment of the networknumber.
      You can change a network within a processing unit several times usingBAPI BAPI_BUS2002_CHANGE.
      INCLUDE CNIF_PI_NOT_MRP_APPLICABLE OBJECT DOKU ID TX
      INCLUDE CNIF_PI_NOT_AUTO_COSTING OBJECT DOKU ID TX
      INCLUDE CNIF_PI_ET_RETURN OBJECT DOKU ID TX

      Notes
      INCLUDE CNIF_PI_BAPI_HINTS OBJECT DOKU ID TX LANGUAGE EN

      Description
      Data fields of the network to be changed.

      Description
      Update fields of the network to be changed. Flagged fields areoverwritten by the corresponding values of parameter I_NETWORK.

      Description
      Data for customer enhancements is imported using the container"ExtensionIn", as described in the BAPI Programming Guide. Furtherprocessing of the data takes place in the relevant BAdI.

      Description
      Customer enhancement data is exported using the container"ExtensionOut", as described in the BAPI Programming Guide. Procurementof the data takes place in the relevant BADI.

607056Network: User-defined fields
590934BAPI, network, change WBS element: CN033
588893BAPI, header-assigned network: Dialog settlement rule
586151PI-BAPIs Create/change network: CORE corrections II
580136PI-BAPIs create/change network: CORE corrections