# BAPI_BUS2054_GETDATA — Read WBS Element Details

> Reads detail data of WBS elements, either for a given list or for all elements of a project definition. Reports and outbound interfaces use it to read WBS master data in a released structure. Limit the result with I_MAX_ROWS and check ET_RETURN.

- Modules: PS
- Type: BAPI
- Function group: CJ2054
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-bus2054-getdata/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| I_PROJECT_DEFINITION | BAPI_BUS2054_DETAIL-PROJECT_DEFINITION | Project definition to read | - |
| I_LANGUAGE | BAPI_BUS2054_DETAIL-LANGU_ISO | Language (ISO code) | - |
| I_MAX_ROWS | BAPIF4A-MAX_ROWS | Maximum number of hits | - |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| IT_WBS_ELEMENT | BAPI_WBS_LIST | WBS elements to read | - |
| ET_WBS_ELEMENT | BAPI_BUS2054_DETAIL | WBS element details | - |
| ET_RETURN | BAPIRET2 | Return messages | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_BUS2054_GETDATA'
  TABLES
    it_wbs_element = lt_it_wbs_element
    et_wbs_element = lt_et_wbs_element
    et_return = lt_et_return.
```

## Related tables

PRPS

