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

BAPI_NETWORK_MAINTAIN Maintain Networks

Creates and changes networks with all their objects in one call: header, activities, activity elements, milestones and relationships. It is used by older upload programs and interfaces for network planning. As with BAPI_PROJECT_MAINTAIN, every action is driven by I_METHOD_PROJECT and the table must end with a 'SAVE' method; check RETURN and E_MESSAGE_TABLE.

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

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
I_METHOD_PROJECTBAPI_METHOD_PROJECTMethod table (object, method, reference)Yes
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_ELEMENT_UPDATEBAPI_ACT_ELEMENT_UPDActivity element change flags—
I_ACTIVITY_MILESTONEBAPI_ACT_MILESTONEActivity milestones—
I_ACTIVITY_MILESTONE_UPDATEBAPI_ACT_MILESTONE_UPDActivity milestone change flags—
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_NETWORK_MAINTAIN'
  IMPORTING
    return = lv_return
  TABLES
    i_method_project = lt_i_method_project
    i_network = lt_i_network
    i_network_update = lt_i_network_update
    i_activity = lt_i_activity
    i_activity_update = lt_i_activity_update
    i_relation = lt_i_relation
    i_relation_update = lt_i_relation_update
    i_activity_element = lt_i_activity_element
    i_activity_element_update = lt_i_activity_element_update
    i_activity_milestone = lt_i_activity_milestone.

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