Paramètre | Reférence | Type | Long. | Valeur par déf. | Facultatif | Description |
---|---|---|---|---|---|---|
I_NUMBER | BAPI_NETWORK_LIST-NETWORK | C | 12 | Network Number |
Paramètre | Reférence | Long. | Facultatif | Description |
---|---|---|---|---|
ET_RETURN | BAPIRET2 | 548 | X | Return Parameter |
EXTENSIONIN | BAPIPAREX | 990 | X | Ref. Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT |
EXTENSIONOUT | BAPIPAREX | 990 | X | Ref. Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT |
IT_ACT_ELEMENT | BAPI_BUS2002_ACTELEM_CHG | 643 | Data Structure: Change Activity Element | |
IT_UPDATE_ACT_ELEMENT | BAPI_BUS2002_ACTELEM_UPD | 92 | Update: Change Activity Element |
Functionality Example
Specify the network for which the activity elements are to be changedin parameter I_NUMBER. The network can already exist in the database or have been createdpreviously in the current processing unit via BAPIBAPI_BUS2002_CREATE. In the second case, use the temporary networknumber for internal assignment of the network number for parameterI_NUMBER. Transfer a row for each activity element to be changed in the tablesIT_ACT_ELEMENT and IT_UPDATE_ACT_ELEMENT. The mapping of both tableentries takes place via the activity element number field (ELEMENT). Fill the table entry in IT_ACT_ELEMENT with the data of the activityelement that is to be changed. In the table entry in IT_UPDATE_ACT_ELEMENT, flag all fields that areto be updated with the values from IT_ACT_ELEMENT with an "X". All other fields remain unchanged, even if new values have beenassigned to them in IT_ACT_ELEMENT. This BAPI therefore works accordingto the "change by flagging" principle (refer also to the programmingguide in transaction BAPI). Entries in table IT_UPDATE_ACT_ELEMENT that do not have a correspondingrecord in table IT_ACT_ELEMENT are ignored. Entries in table IT_ACT_ELEMENT that do not have a corresponding recordin table IT_UPDATE_ACT_ELEMENT generate an error. If the tables IT_ACT_ELEMENT and/or IT_UPDATE_ACT_ELEMENT each containseveral entries with the same key ELEMENT, system behaviour isundefined because unique mapping is not possible. An activity element to be changed can already exist in the database orhave been created previously in the current processing unit via BAPIBAPI_BUS2002_ACTELEM_CREATE_M. You can change an activity elementseveral times within a processing unit via BAPIBAPI_BUS2002_ACTELEM_CHANGE_M. INCLUDE CNIF_PI_NOT_MRP_APPLICABLE OBJECT DOKU ID TX Notes Description Description Description Description |