# BAPI_PROJECTDEF_CREATE — Create Project Definition (Classic BAPI)

> Creates a project definition with the older ProjectDefinition interface. It still appears in existing interfaces, while BAPI_BUS2001_CREATE is the newer alternative. Evaluate RETURN together with E_MESSAGE_TABLE, which lists the detailed messages.

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

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| PROJECT_DEFINITION_STRU | BAPI_PROJECT_DEFINITION | Project definition data | Yes |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return messages |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| E_MESSAGE_TABLE | BAPI_METH_MESSAGE | Message table | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_PROJECTDEF_CREATE'
  EXPORTING
    project_definition_stru = lv_project_definition_stru
  IMPORTING
    return = lv_return
  TABLES
    e_message_table = lt_e_message_table.
```

## Related tables

PROJ

