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
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return messages |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| I_METHOD_PROJECT | BAPI_METHOD_PROJECT | Method table (object, method, reference) | Yes |
| I_NETWORK | BAPI_NETWORK | Network header data | — |
| I_NETWORK_UPDATE | BAPI_NETWORK_UPDATE | Network header change flags | — |
| I_ACTIVITY | BAPI_NETWORK_ACTIVITY | Network activities | — |
| I_ACTIVITY_UPDATE | BAPI_NETWORK_ACTIVITY_UP | Activity change flags | — |
| I_RELATION | BAPI_NETWORK_RELATION | Relationships | — |
| I_RELATION_UPDATE | BAPI_NETWORK_RELATION_UP | Relationship change flags | — |
| I_ACTIVITY_ELEMENT | BAPI_ACT_ELEMENT | Activity elements | — |
| I_ACTIVITY_ELEMENT_UPDATE | BAPI_ACT_ELEMENT_UPD | Activity element change flags | — |
| I_ACTIVITY_MILESTONE | BAPI_ACT_MILESTONE | Activity milestones | — |
| I_ACTIVITY_MILESTONE_UPDATE | BAPI_ACT_MILESTONE_UPD | Activity milestone change flags | — |
| E_MESSAGE_TABLE | BAPI_METH_MESSAGE | Message 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.