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

BAPI_PROJECTDEF_GETDETAIL Read Project Definition (Classic BAPI)

Reads the detail data of a project definition by external or internal number with the older ProjectDefinition interface. Reports and older interfaces use it; BAPI_BUS2001_GETDATA is the newer alternative. Pass one of the two numbers and check RETURN.

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

Importing parameters

ParameterTypeDescriptionRequired
CURRENTEXTERNALPROJEBAPI_PROJ_KEY-PROJECT_DEFIProject definition (external number)Yes
CURRENTINTERNALPROJEBAPI_PROJ_KEY-PROJ_KEY_INTProject definition (internal number)Yes

Exporting parameters

ParameterTypeDescription
PROJECT_DEFINITION_STRUBAPI_PROJECT_DEFINITION_EXProject definition data (result)
RETURNBAPIRETURN1Return messages

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_GETDETAIL'
  EXPORTING
    currentexternalproje = lv_currentexternalproje
    currentinternalproje = lv_currentinternalproje
  IMPORTING
    project_definition_stru = lv_project_definition_stru
    return = lv_return.

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