04-29-2008 4:01 PM
I want creation of project definition and wbs element upto 4 level using bapis.
i am using transaction cj27,cj01,cj02
which function module to use for this??
04-29-2008 4:14 PM
Hi Gaurav,
Try BAPI_PROJECTDEF_CREATE for creating the project definition. For change there is BAPI_PROJECTDEF_UPDATE.
You can check all available BAPIs in tcode BAPI.
Goto BAPI->Hierarichal tab-> Project system-> ProjectDefinition for BAPIs related to project definition.
Similarly, BAPI->Hierarichal tab-> Project system-> WorkBreakdownStruct for BAPIs for wbs creation and change.
Regards,
Komal.
05-05-2008 2:38 PM
05-11-2008 12:57 PM
can u give me a working code for using this bapi...
thanks in advance
05-11-2008 4:43 PM
Hi,
to create project definition with customer fields the BAPI you should use is : BAPI_BUS2001_CREATE
to create WBS elements with different levels and specific fields the BAPI you should use is BAPI_BUS2054_CREATE_MULTI
these bapi must be used in the sequence of call :
BAPI_PS_INITIALIZATION
BAPI_BUS2001_CREATE / BAPI_BUS2054_CREATE_MULTI
BAPI_PS_PRECOMMIT
BAPI_TRANSACTION_COMMIT
before using the bapi, you must apply OSS note :
637345 - Syntax error with enhanced PS tables
i sent you the oss note to your mail
please reward points if helpfull.
05-19-2008 10:49 PM
Hi,
Was this point solved with the Bapi BAPI_BUS2054_CREATE_MULTI? I need to create project and definition project upto 4 level using CJ01 too, and I didnu2019t see a field in the structure with this description, how can I use this Bapi?
Thanks.
05-20-2008 11:18 AM
i am trying this thing.
let's hope it works
actually there are some fields which are not there in the extension of this bapi....
05-20-2008 3:15 PM
For project definition :
The Zfields you need are in include CI_PROJ structure, that you have change to character type and rename to ZCI_PROJ
add the ZCI_PROJ structure to the help structure BAPI_TE_PROJECT_DEFINITION of the bapi.
then use the bapi.
it works fine.
please reward points if helpfull
05-20-2008 4:14 PM