03-13-2007 5:53 PM
hello,
can anyone tell how to build the structure of hierachy to change WBS element using BAPI_PROJECT_MAINTAIN.
I want to change the basic date for WBS Element....
cheers
03-13-2007 9:39 PM
Hi,
If the WBS element is already created and you want to chagne some data, read the table PRHI for that Project of WBS element and then move the corresponding data to I_WBS_HIERARCHIE_TABLE in function module BAPI_PROJECT_MAINTAIN.
I am using different sets of BAPIs to create project, create / change WBS element.
I use function module from Function group CJ2001 ( Project related BAPIs ), CJ2054 ( WBS related BAPIs ) and PS_BAPI ( pre/post processing BAPIs ). There are specific order in which you need to execute these BAPIs.
For example if you want to change the WBS element, the BAPIs sequence is:
1. BAPI_PS_INITIALIZATION
2. BAPI_BUS2054_CHANGE_MULTI
3. BAPI_PS_PRECOMMIT
4. BAPI_TRANSACTION_COMMIT
Let me know if you need further information.
Regards,
RS
03-13-2007 9:39 PM
Hi,
If the WBS element is already created and you want to chagne some data, read the table PRHI for that Project of WBS element and then move the corresponding data to I_WBS_HIERARCHIE_TABLE in function module BAPI_PROJECT_MAINTAIN.
I am using different sets of BAPIs to create project, create / change WBS element.
I use function module from Function group CJ2001 ( Project related BAPIs ), CJ2054 ( WBS related BAPIs ) and PS_BAPI ( pre/post processing BAPIs ). There are specific order in which you need to execute these BAPIs.
For example if you want to change the WBS element, the BAPIs sequence is:
1. BAPI_PS_INITIALIZATION
2. BAPI_BUS2054_CHANGE_MULTI
3. BAPI_PS_PRECOMMIT
4. BAPI_TRANSACTION_COMMIT
Let me know if you need further information.
Regards,
RS
03-14-2007 2:27 PM