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

code to create WBS using BAPI_PROJECT_MAINTAIN

Former Member
0 Likes
1,700

Hi,

I am creating a program for mass upload of project definition and WBS elements. I was able to create the project definition using BAPI_PROJECTDEF_CREATE. For the WBS, I am using BAPI_PROJECT_MAINTAIN. But I was not able to create WBS yet. Can you give me a sample code for the BAPI_PROJECT_MAINTAIN that can create a WBS? What should be the values to be populated in the table i_method_project, i_wbs_element_table, etc.

Please help.. I will reward points.

Thanks,

Lalyn

1 REPLY 1
Read only

Former Member
0 Likes
506

Hi Lalyn.

Firstly, I would like to suggest you not to use "REWARD POINTS" which is againts the rules of engagement.

Hope you take things positively.

I would like to suggest a couple of references, which are similar to your issue,

[SDN - Reference for Updating value of WBS element - BAPI_PROJECT_MAINTAIN|;

[SDN - Reference for issues related to creation of WBS element using BAPI_PROJECT_MAINTAIN|;

[SDN Wiki - Standard Reference for ABAP Program to Upload WBS ELEMENTS IN Hierarchy|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap%2bprogram%2bto%2bupload%2bwbs%2belements%2bin%2bhierarchy ]

Hope that's usefull.

Good Luck & Regards.