Paramètre | Reférence | Type | Long. | Valeur par déf. | Facultatif | Description |
---|---|---|---|---|---|---|
I_PROJECT_DEFINITION | BAPI_BUS2001_NEW-PROJECT_DEFINITION | C | 24 | Project Definition |
Paramètre | Reférence | Long. | Facultatif | Description |
---|---|---|---|---|
ET_RETURN | BAPIRET2 | 548 | X | Return Parameter |
EXTENSIONIN | BAPIPAREX | 990 | X | Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT |
EXTENSIONOUT | BAPIPAREX | 990 | X | Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT |
IT_WBS_ELEMENT | BAPI_BUS2054_NEW | 618 | Data Structure: Create WBS Element |
Functionality
If one check was not successful, nothing is created. Otherwise, eachWBS element is changed individually in "IT_WBS_ELEMENT_TABLE", althoughthe following is checked first: If all checks were succussful, the individual WBS element is created inthe document tables. Afterwards, the hierarchy is updated, that is thenew elements are added in the appropriate place as described above. Ifan error occurs while this is being carried out, the new elements arecreated on the right-hand side, on the first level, and an errormessage is generated in the return table. An error can occur if the WBSelement in I_WBS_UP and I_WBS_LEFT does not exist in the specifiedproject, or I_WBS_UP is not directly above I_WBS_LEFT if both arespecified, or because an inconsistency occurs in the hierarchy foranother reason. As soon as a LUW (Logical Unit of Work) is completed with BAPIBAPI_PS_PRECOMMIT and COMMIT WORK, the WBS elements are finallychanged. Only one project or WBS element from a project can be processed at atime in a LUW. The return parameter RETURN displays first an error or success messagethat shows whether the WBS elements could be created. The first messagevariable contains the object type, the second contains the object ID,and the fourth contains the GUID (if it could be read). All relatedmessages that were generated during processing are listed underneaththe error or success messages. The parameters of the individualmessages are filled with the object ID. Notes Further information Description Description Description Description |
588124 | Setting up/changing hierarchy leads to online mssges in BAPI |