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

BAPI_PROJECT_MAINTAIN Maintain Project Including Networks

Creates and changes a whole project in one call: project definition, WBS elements, hierarchy, milestones, networks, activities and relationships. Older project upload programs use it; the BUS2001, BUS2054 and BUS2002 BAPIs are the newer alternative. Every action is controlled by entries in I_METHOD_PROJECT (object type, method, reference number), and the table must end with a 'SAVE' method; check RETURN and E_MESSAGE_TABLE.

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

Importing parameters

ParameterTypeDescriptionRequired
I_PROJECT_DEFINITIONBAPI_PROJECT_DEFINITIONProject definition dataYes
I_PROJECT_DEFINITION_UPDBAPI_PROJECT_DEFINITION_UPProject definition change flagsYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
I_METHOD_PROJECTBAPI_METHOD_PROJECTMethod table (object, method, reference)Yes
I_WBS_ELEMENT_TABLEBAPI_WBS_ELEMENTWBS elements—
I_WBS_ELEMENT_TABLE_UPDATEBAPI_WBS_ELEMENT_UPDATEWBS element change flags—
I_WBS_MILESTONE_TABLEBAPI_WBS_MILESTONEWBS milestones—
I_WBS_MILESTONE_TABLE_UPDATEBAPI_WBS_MILESTONE_UPDWBS milestone change flags—
I_WBS_HIERARCHIE_TABLEBAPI_WBS_HIERARCHIEWBS hierarchy—
I_NETWORKBAPI_NETWORKNetwork header data—
I_NETWORK_UPDATEBAPI_NETWORK_UPDATENetwork header change flags—
I_ACTIVITYBAPI_NETWORK_ACTIVITYNetwork activities—
I_ACTIVITY_UPDATEBAPI_NETWORK_ACTIVITY_UPActivity change flags—
I_RELATIONBAPI_NETWORK_RELATIONRelationships—
I_RELATION_UPDATEBAPI_NETWORK_RELATION_UPRelationship change flags—
I_ACTIVITY_ELEMENTBAPI_ACT_ELEMENTActivity elements—
I_ACTIVITY_MILESTONEBAPI_ACT_MILESTONEActivity milestones—
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_MAINTAIN'
  EXPORTING
    i_project_definition = lv_i_project_definition
    i_project_definition_upd = lv_i_project_definition_upd
  IMPORTING
    return = lv_return
  TABLES
    i_method_project = lt_i_method_project
    i_wbs_element_table = lt_i_wbs_element_table
    i_wbs_element_table_update = lt_i_wbs_element_table_update
    i_wbs_milestone_table = lt_i_wbs_milestone_table
    i_wbs_milestone_table_update = lt_i_wbs_milestone_table_update
    i_wbs_hierarchie_table = lt_i_wbs_hierarchie_table
    i_network = lt_i_network
    i_network_update = lt_i_network_update
    i_activity = lt_i_activity
    i_activity_update = lt_i_activity_update.

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