2005 Dec 12 8:09 AM
Hello All,
I have to develop a screen similar to CJ03 where I have to display the WBS elements in the same way as they are displayed in TCODE.
How to get the functionality of dropdown buttons in dialog programming?
Is there any function module go get the WBS elements upto N'th level.
Regards,
Dilip
Hello All,
I have to develop a screen similar to CJ03 where I have to display the WBS elements in the same way as they are displayed in TCODE.
How to get the functionality of dropdown buttons in dialog programming?
Is there any function module go get the WBS elements upto N'th level.
Regards,
Dilip
2005 Dec 12 8:30 AM
Have a look at BAPI_PROJECT_GETINFO in se37.
For a project code as input, you get the complete WBS element structure as output
2005 Dec 12 8:41 AM
Hello Sudhir,
Yes I am getting the WBS elements list bu how to differenciate in the levels of WBS elements which are separated by '-' and a letter or number.
Regards,
Dilip
2005 Dec 12 8:49 AM
The tables parameter "E_WBS_HIERARCHIE_TABLE" of the bapi has fields UP and DOWN that tell you which is the parent and child of each element.
Alternatively you can look at tables PRHI/PRHIS which give same information.