Application Development and Automation 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: 
Read only

Finding the previous active user status

Former Member
0 Likes
1,874

Hi,

Can anyone tell me how I can find the previous active user status for a work order. The criteria is, I want to find only the previous active user status with a status number. Please help

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,382

Hi Joshi,

You can get the same from the table JCDS

Pass OR<order no> as object, User status starts with 'E' and the field CHGNR will give you the sequence no

so you can easily detrmine which was the last user status active.

Hope this solve your problem

Regards

Bikas

Hi,

Can anyone tell me how I can find the previous active user status for a work order. The criteria is, I want to find only the previous active user status with a status number. Please help

6 REPLIES 6
Read only

Former Member
0 Likes
1,382

Hi,

you can find the valid ststus in JEST and the history in JCDS. Hope this helps.

Regards,

Klaus

Read only

Former Member
0 Likes
1,383

Hi Joshi,

You can get the same from the table JCDS

Pass OR<order no> as object, User status starts with 'E' and the field CHGNR will give you the sequence no

so you can easily detrmine which was the last user status active.

Hope this solve your problem

Regards

Bikas

Read only

0 Likes
1,382

Yes I know JCDS table will give the history of all the user statuses for a particular object number. But if i have activated an order using the user status with status number and user status without status number, then both gets saved in the JCDS table and I need only the status with a status number. Actually my requirement is to perform an operation only if the previous active user status is different from the current one. JCDS table gives only the status number and not the status profile. If you take this user status and check in TJ30T table, you may be able to find many user status texts associated with it. So I will not be able to compare the current user status with the previous user status incase, both have the same status numbers. Hope I have made myself clear. Is there any function module to find this out.

Read only

0 Likes
1,382

Hi,

Can anybody please help me out find the exact user status which encounters the above criteria.

Read only

0 Likes
1,382

Hi,

to get the Status Profile look in table JSTO with OBJNR of your work order. In tables TJ30 and TJ30T you can find out the meaning and description of the status depending on this status profile ...

Regards,

Klaus

Read only

Former Member
0 Likes
1,382

Hi,

you can find in info type 0000 field massn. check the info type.

Ram.