Fonction SAP BAPI_BUS2002_ACT_CREATE_MULTI - List: Create Network Activities

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_NUMBER BAPI_NETWORK_LIST-NETWORK C 12 Network Number

Paramètre Reférence Long. Facultatif Description
ET_RETURN BAPIRET2 548 X Return Parameter
EXTENSIONIN BAPIPAREX 990 X Ref. Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Ref. Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
IT_ACTIVITY BAPI_BUS2002_ACT_NEW 763 Data Structure: Create Network Activity

Functionality
Create one or more activities (subobject of the BOR object typeBUS2002001). Activities of one network only can be changed each timethis BAPI is called.

Example

  • Parameter I_NUMBER

  • Specify the network for which the activities are to be created in theparameter I_NUMBER.
    The network can already exist in the database or have been createdpreviously in the current processing unit via BAPI BAPI_BUS2002_CREATE.In the second case, use the temporary network number for the internalnetwork number assignment for parameter I_NUMBER.
    • Tabelle IT_ACTIVITY

    • Transfer the data for each new activity element to be created in aseparate row in table IT_ACTIVITY.
      The activity number in the field ACTIVITY is a required-entry field.Note that this activity number in the network must be unique for allactivities and activity elements.
      • Field CONTROL_KEY

      • Initially the CONTROL_KEY field for the control key is not arequired-entry field.
        If you do not transfer a value in the CONTROL_KEY field, an internallyprocessed activity element is created with the control key from thenetwork profile for the activity type "internal". However, if acorresponding control key is not defined in the network profile, theCONTROL_KEY becomes a required-entry field.
        INCLUDE CNIF_PI_NOT_MRP_APPLICABLE OBJECT DOKU ID TX
        INCLUDE CNIF_PI_LTXA1_KTSCH OBJECT DOKU ID TX
        • Return table ET_RETURN

        • Messages from the application and a success or error message arereturned by the BAPI to the caller in the return table ET_RETURN. InET_RETURN, the messages are collected together in blocks per activity.Each message block refers therefore to an activity and starts with asummarized success or error message.

          Notes
          INCLUDE CNIF_PI_BAPI_HINTS OBJECT DOKU ID TX

          Further information

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

          Description
          Customer enhancement data is exported using the container"ExtensionOut", as described in the BAPI Programming Guide. Procurementof the data is carried out in the relevant BAdI.

          Description
          A list of detail data for the network activities that are to be createdfor the specified network instance.

595484Create activity via BAPI, control key: MESSAGE_TYPE_X
586151PI-BAPIs Create/change network: CORE corrections II
580136PI-BAPIs create/change network: CORE corrections