Application Development and Automation 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: 
Read only

BAPI_PROJECT_MAINTAIN Create Project Def & WBS ?

0 Likes
884

Hi,

Would anyone have sample code to create project def. with WBS and release project ?.

Regards,

Neeth

4 REPLIES 4
Read only

Former Member
0 Likes
655

Hi Nameeth,

Here is a link to similar posting:

Hope this helps.

Regards,

Sumant

Read only

0 Likes
655

Check the Includes

LCNMASSF02 Form routines for CNMASS_DO_MASS_CHANGES

LCNMASSU06 38 CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'

EXPORTING

I_PROJECT_DEFINITION = I_PROJECT_DEFINITION

I_PROJECT_DEFINITION_UPD = I_PROJECT_DEFINITION_UPD

IMPORTING

RETURN = RETURN

TABLES

I_METHOD_PROJECT = I_METHOD_PROJECT

I_WBS_ELEMENT_TABLE_UPDATE = I_WBS_ELEMENT_TABLE_UPDATE

I_WBS_ELEMENT_TABLE = I_WBS_ELEMENT_TABLE

I_WBS_HIERARCHIE_TABLE = I_WBS_HIERARCHIE_TABLE

I_NETWORK = I_NETWORK

I_NETWORK_UPDATE = I_NETWORK_UPDATE

I_ACTIVITY = I_ACTIVITY

I_ACTIVITY_UPDATE = I_ACTIVITY_UPDATE

I_RELATION = I_RELATION

I_RELATION_UPDATE = I_RELATION_UPDATE

E_MESSAGE_TABLE = E_MESSAGE_TABLE.

Hope this’ll give you idea!!

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Some are wise and some are otherwise"

Read only

0 Likes
655

Hi,

I also have a custome field (non-sap field) which needs to be populated in the Project is it possible to do this from BAPI_PROJECT_MAINTAIN ?

Thanks.

Read only

0 Likes
655

Hi Kushi,

Yes, you can update the custom fields of table PROJ.

You must use the BAPI structure "EXTENSIONIN" for passing these values.

Regards,

Sumant.