2023 Jan 26 5:50 AM
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
2023 Jan 26 11:26 AM
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)
2023 Jan 27 3:32 AM
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