Dear Experts,
I have created one module pool program in PS module for creating project with WBS elements.
Based on Template Hierarchy in CJ93 Tcode, all the WBS elements are displayed in screen as Table control, Values for WBS element are fetched from prpss table.
Issue:
If the user creates a new child hierarchy in existing template (CJ93), then it will be saved at last row in PRPSS table based on OBJNR and logic for displaying WBS in screen is based on PRPSS table and its displayed as same sequence in PRPSS table. But in the transaction CJ93, the hierarchy is different.
I want to display same sequence of WBS elements as in CJ93 tcode. Is there any logic to display like CJ93?
PRPSS Table Entries: (Same sequence in module pool program also)
MANDT PSPNR POSID POST1 OBJNR PSPHI
300 181 2-R0XXX-RBL Road Build PT00000181 12 300 182 2-R0XXX-RBL-PKG1 Package 1 PT00000182 12 300 183 2-R0XXX-RBL-PKG2 Package 2 PT00000183 12 300 184 2-R0XXX-RBL-PKG1-E Engineering PT00000184 12CJ93 Transaction Code sequence:
Thanks and Regards,
Arindam Samanta.