# BAPI_BUS2001_GETDATA — Read Project Definition Details

> Reads the detail data of one project definition. Reports and outbound interfaces use it to get project header data in a stable, released structure. Check ET_RETURN, because an unknown project definition is reported there and not as an exception.

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

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| I_PROJECT_DEFINITION | BAPI_BUS2001_DETAIL-PROJECT_DEFINITION | Project definition | Yes |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| E_PROJECT_DEFINITION | BAPI_BUS2001_DETAIL | Project definition data |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| ET_RETURN | BAPIRET2 | Return messages | - |
| EXTENSIONIN | BAPIPAREX | Customer fields (inbound) | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_BUS2001_GETDATA'
  EXPORTING
    i_project_definition = lv_i_project_definition
  IMPORTING
    e_project_definition = lv_e_project_definition
  TABLES
    et_return = lt_et_return
    extensionin = lt_extensionin.
```

## Related tables

PROJ

