09-22-2009 9:43 PM
Hello, could someone please tell me how to retrieve the User Status for WBS Elements using ABAP? Which table stores this information.
Thanks.
09-23-2009 1:39 AM
Not quite sure about WBS Elements but if you can find the object number of the WBS Element and the User status profile assigned to it (table JSTO) you will find the selected user status in table JEST.
Give it a go...
cheers,
Aabhas
09-23-2009 4:23 AM
09-23-2009 4:33 AM
Hi,
Get theObject Number for WBS from table PRPS.
Use this number to get Status Profile from JSTO.
Use this Status profile to get text and User Status from TJ30T.
You can then check the Active Status in JEST for this object number and Status.
Regards,
Sachin
09-23-2009 4:54 AM
Sachin,
I was able to find all the tables above before your e-mail. Only thing I didn't know was JSTO. JSTO has the important piece I need. I will try it . Thanks for your help.
I also saw a BAPI that can be used to get the User Status. BAPI_BUS2054_get_status, but it didn't return any date/time information regarding the user status.
Edited by: Sam Varughese on Sep 23, 2009 5:54 AM
09-23-2009 5:24 AM
Apart from the tables; you could directly read the statuses by FM: STATUS_TEXT_EDIT. Pass the Object Number, You will get the statuses in the respective language.
Hope this helps.
Best Regards, Murugesh
09-23-2009 5:41 AM
if you have the OBJNR there was also another FM status in Se37 [link>>|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/changing-status-620444]
also look in the similar requirement [discussion|http://sap.ittoolbox.com/groups/technical-functional/sap-bw/wbs-user-status-262089]