PS BAPI RFC Used the same way in S/4HANA

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.

Function group
2001
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
PROJECT_DEFINITION_STRUBAPI_PROJECT_DEFINITIONProject definition dataYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
E_MESSAGE_TABLEBAPI_METH_MESSAGEMessage 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_CREATE'
  EXPORTING
    project_definition_stru = lv_project_definition_stru
  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.

Request a custom report