10-22-2007 10:25 AM
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.
10-22-2007 10:38 AM
Run the program SHOWICON ...you can see the possible values of the icons....
10-22-2007 10:55 AM
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.
?
10-22-2007 11:21 AM
10-22-2007 11:35 AM
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!