Application Development 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: 

TStatus, QMStatus values in ABAP

Former Member
0 Kudos

Hi,

What are the possible values of QMStatus with ABAP syntax.

My code i want to write is as follows:

IF it_rsreqdone-qmstatus = ICON_RED_LIGHT.

b_del_request = rs_c_true.

ENDIF.

But ICON_RED_LIGHT does not seem to do the trick.

4 REPLIES 4

Former Member
0 Kudos

Run the program SHOWICON ...you can see the possible values of the icons....

Former Member
0 Kudos

OK, I ran the program and found that the internal value was S_TL_R

so what should I write in the code?

IF it_rsreqdone-qmstatus = 'S_TL_R'.

b_del_request = rs_c_true.

ENDIF.

?

0 Kudos

could you please give your full code...

to help you better...

Former Member
0 Kudos

I actually solved it now.

What you need to do is to include the answer you get from ShowIcons in '@XX@' where XX is the code from the program.

So, in this case it would be:

*Check if request is red

IF it_rsreqdone-qmstatus = '@0A@'.

b_del_request = rs_c_true.

ENDIF.

But thank you for your help, showicons was part of the key!