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: 

Second Level WBS Element -existing Project using BAPI_PROJECT_MAINTAIN

former_member203806
Participant
0 Kudos
490

Dear Experts,

I need to upload 2nd level WBS element to the existing project. according to my program logic, the new WBS is assigned as 1st level element and updated in the bottom line of the structure.

Needs to update WBS element FM21AP220001552007640015 to under the 2nd element of FM21AP22000155.

( Pls ref 2nd image ).

Pls advise me, if I am doing any incorrect table updates.

- WBS updated incorrect position with existing logic

- Required position to update

Below are the filled internal tables for BAPI_PROJECT_MAINTAIN.

- it_projmethod

- it_uwbs_element_upd

- it_uwbs_element

- it_wbs_hierarchie_table

Thanks

Pramod

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
430

Could you try to add a record in I_METHOD_PROJECT before the SAVE : 00000 - WBS HIERARCHY - CREATE - blank

(to force a rebuild of the hierarchy)

0 Kudos
430

Hi Raymond,

Thanks for your response.

I have corrected the - it_projmethod as below, now I am getting the below error.

- it_projmethod

- it_wbs_hierarchie_table

Error

Statistical WBS element: No surcharges, settlement etc.

The transfered hierarchy is inconsistent

Termination: Too many errors (more than 10% of methods)

Data cannot be saved

Thanks

Pramod