PS
BAPI
RFC
Used the same way in S/4HANA
BAPI_BUS2054_CREATE_MULTI Create WBS Elements
Creates several WBS elements (business object BUS2054) under an existing project definition in one call. Project templates, upload programs and interfaces from portfolio tools use it to build the work breakdown structure. 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
| Parameter | Type | Description | Required |
|---|---|---|---|
| I_PROJECT_DEFINITION | BAPI_BUS2001_NEW-PROJECT_DEFINITION | Project definition | Yes |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| IT_WBS_ELEMENT | BAPI_BUS2054_NEW | WBS elements to create | Yes |
| ET_RETURN | BAPIRET2 | Return messages | — |
| EXTENSIONIN | BAPIPAREX | Customer fields (inbound) | — |
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_CREATE_MULTI'
EXPORTING
i_project_definition = lv_i_project_definition
TABLES
it_wbs_element = lt_it_wbs_element
et_return = lt_et_return
extensionin = lt_extensionin.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.