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

BAPI_PROJECT_GETINFO Read Project Structure

Reads a project definition together with its WBS elements, hierarchy and, on request, milestones and network activities. Reports and interfaces that export complete project structures use it. Set WITH_ACTIVITIES, WITH_MILESTONES and WITH_SUBTREE to 'X' only when you need that data, and check RETURN.

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

Importing parameters

ParameterTypeDescriptionRequired
PROJECT_DEFINITIONBAPIPR-PROJECT_DEFINITIONProject definition to read—
WITH_ACTIVITIESBAPIPR-WITH_ACTIVITIESInclude network activities—
WITH_MILESTONESBAPIPR-WITH_MILESTONESInclude milestones—
WITH_SUBTREEBAPIPR-WITH_SUBTREEInclude subordinate WBS elements—

Exporting parameters

ParameterTypeDescription
E_PROJECT_DEFINITIONBAPI_PROJECT_DEFINITION_EXProject definition data
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
I_WBS_ELEMENT_TABLEBAPI_WBS_ELEMENTSWBS elements to read—
E_WBS_ELEMENT_TABLEBAPI_WBS_ELEMENT_EXPWBS elements—
E_WBS_MILESTONE_TABLEBAPI_WBS_MILESTONE_EXPWBS milestones—
E_WBS_HIERARCHIE_TABLEBAPI_WBS_HIERARCHIEWBS hierarchy—
E_ACTIVITY_TABLEBAPI_NETWORK_ACTIVITY_EXPNetwork activities—
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_PROJECT_GETINFO'
  IMPORTING
    e_project_definition = lv_e_project_definition
    return = lv_return
  TABLES
    i_wbs_element_table = lt_i_wbs_element_table
    e_wbs_element_table = lt_e_wbs_element_table
    e_wbs_milestone_table = lt_e_wbs_milestone_table
    e_wbs_hierarchie_table = lt_e_wbs_hierarchie_table
    e_activity_table = lt_e_activity_table
    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