PS
BAPI
RFC
Used the same way in S/4HANA
BAPI_PROJECTDEF_UPDATE Change Project Definition (Classic BAPI)
Changes a project definition with the older ProjectDefinition interface, identified by its external or internal number. Existing interfaces use it; BAPI_BUS2001_CHANGE is the newer alternative. Flag the changed fields in PROJECT_DEFINITION_UP and evaluate RETURN and E_MESSAGE_TABLE.
- Function group
- 2001
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| CURRENTEXTERNALPROJE | BAPI_PROJ_KEY-PROJECT_DEFI | Project definition (external number) | Yes |
| CURRENTINTERNALPROJE | BAPI_PROJ_KEY-PROJ_KEY_INT | Project definition (internal number) | Yes |
| PROJECT_DEFINITION_STRU | BAPI_PROJECT_DEFINITION | Project definition data | Yes |
| PROJECT_DEFINITION_UP | BAPI_PROJECT_DEFINITION_UP | Project definition change flags | 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)
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_PROJECTDEF_UPDATE'
EXPORTING
currentexternalproje = lv_currentexternalproje
currentinternalproje = lv_currentinternalproje
project_definition_stru = lv_project_definition_stru
project_definition_up = lv_project_definition_up
IMPORTING
return = lv_return
TABLES
e_message_table = lt_e_message_table.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.