Fonction SAP BAPI_BUS2054_DELETE_MULTI - Delete WBS Elements Using BAPI

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_PROJECT_DEFINITION BAPI_BUS2001_NEW-PROJECT_DEFINITION C 24 Project Definition

Paramètre Reférence Long. Facultatif Description
ET_RETURN BAPIRET2 548 X Return Parameter
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
IT_DELETE_WBS_ELEMENT BAPI_WBS_LIST 24 Data Structure: Delete WBS Element

Functionality
WBS elements can be deleted for a project with BAPI"BAPI_BUS2054_DELETE_MULTI". To do this, parameter"I_PROJECT_DEFINITION" must contain the project definition to which theWBS elements to be deleted belong. Table "IT_WBS_ELEMENT_TABLE" mustcontain the WBS elements that are to be deleted.
Before the WBS elements are deleted, the following is checked:

  • Is another project already being processed in the LUW (Logical Unit of
  • Work)?
    • Can the project be locked?

    • If one check was not successful, nothing is deleted. Otherwise, eachWBS element in "IT_WBS_ELEMENT_TABLE" is deleted in the document table.
      If other WBS elements belong to a WBS element, these are also deleted.If other objects belong to a WBS element, the WBS element cannot bedeleted.
      Return parameter RETURN displays first an error or success message thatshows whether the WBS element could be deleted. The first messagevariable contains the object type, the second contains the object ID,and the fourth contains the GUID (if it could be generated). Allrelated messages that were generated during processing are listedunderneath the success or error messages. The parameters of theindividual messages are filled with the object ID.

      Notes
      INCLUDE CNIF_PI_BAPI_HINTS OBJECT DOKU ID TX LANGUAGE EN

      Further information
      For more information, refer to the SAP Library under Project System ->Structures -> Project System Interfaces -> PS-EPS Interface to ExternalProject Management Systems.

      Description
      Number that uniquely identifies a project definition within a client.

      Description
      Table that contains the names of the WBS elements that are to bedeleted.