Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

creation of project definition and wbs element

Former Member
0 Kudos

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??

8 REPLIES 8

Former Member
0 Kudos

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.

Former Member
0 Kudos

BAPI_PROJECT_MAINTAIN

0 Kudos

can u give me a working code for using this bapi...

thanks in advance

0 Kudos

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.

0 Kudos

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.

0 Kudos

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....

0 Kudos

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

0 Kudos

you need a key for doing that, ask your basis gay for the key