PS BAPI RFC Used the same way in S/4HANA

BAPI_BUS2054_DELETE_MULTI Delete WBS Elements

Deletes several WBS elements of a project in one call. It is used to remove WBS elements that were created by mistake or are no longer needed in a template. Call BAPI_PS_INITIALIZATION first, then BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT only when ET_RETURN has no type E or A messages.

Function group
CJ2054
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
I_PROJECT_DEFINITIONBAPI_BUS2001_NEW-PROJECT_DEFINITIONProject definitionYes

Tables parameters

ParameterTypeDescriptionRequired
IT_DELETE_WBS_ELEMENTBAPI_WBS_LISTWBS elements to deleteYes
ET_RETURNBAPIRET2Return messages—

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'BAPI_BUS2054_DELETE_MULTI'
  EXPORTING
    i_project_definition = lv_i_project_definition
  TABLES
    it_delete_wbs_element = lt_it_delete_wbs_element
    et_return = lt_et_return.

Related tables

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report