# BAPI_BUS2002_CREATE — Create Network Header

> Creates a network header (business object BUS2002) that can be assigned to a project or WBS element. Project upload programs use it before adding activities with BAPI_BUS2002_ACT_CREATE_MULTI. Call BAPI_PS_INITIALIZATION first, then BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT only when ET_RETURN has no type E or A messages.

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

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| I_NETWORK | BAPI_BUS2002_NEW | Network header data | Yes |

## Tables parameters

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

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_BUS2002_CREATE'
  EXPORTING
    i_network = lv_i_network
  TABLES
    et_return = lt_et_return
    extensionin = lt_extensionin.
```

## Related tables

AFKO, AUFK

