2020 May 12 2:36 PM
Hi expert,
My result internal table filled with RED, YELLOW, GREEN lights..requirement is if result internal has RED light symbol then mail functionality won't be work. How to read if internal table have RED symbol or not..
2020 May 17 4:56 PM
Issue solved, added one more filed char1..When ever red light is filled make it's as X. If internal table have X value stop trigger the mail functionalities.
2020 May 12 2:40 PM
Hi sri6666
Hard to say exactly, because you haven't provided much information.
What you should do is probably check if the internal table contains entries with '@0A@' string. This string is equivalent to the RED light.
Hope this helps.
regards,
Mateusz
2020 May 12 3:12 PM
It could also be the ''@5C@'' string, depends on the red light you have.
2020 May 12 3:21 PM
Technically correct, but not clear coding. Use rather the correct ICON_ value.
2020 May 12 3:21 PM
The icon value may also possibly contain a text and a tooltip, for instance:
@0A\Qtooltip@text
2020 May 12 3:18 PM
The traffic lights icons, or the "led" icons?
Run the program SHOWICON to see the internal values of each icon.
2020 May 12 4:01 PM
Hi Sri
You need to provide more information so that we need to assume anything.
1. In your internal table - how you declare the field to store the Light. (Is it simple led-icon or traffic light. (Based on that we can say the solution).
2. On what condition you are updating that field to Red Icon (Is that condition value is available in the table). If so you can directly check that field.
Kindly provide more input and part of your code where you assign the red icon
Regards,
Venkat
2020 May 13 6:38 AM
sri6666,
On cases where the traffic symbol is used, you can consider below points for reaching the necessary information.
--> The output table that displays the traffic symbol should have a field for this traffic light display, which should probably be of character length 5.
--> Based on the condition they may populate the field either with values like '@0A@' , '@2A@' or they may directly use the name starting with 'ICON_'.
--> As you have already informed that this is red icon check in the program how the respective field is populated. Either it should be with any values as mentioned above or the name of the icon starting with 'ICON_'
If you can search with the above points into consideration you can reach out to the logic how and why the traffic light is populated as red. To know the names of the ICON used you can follow the Type group ICON.
Regards!
2020 May 17 4:56 PM
Issue solved, added one more filed char1..When ever red light is filled make it's as X. If internal table have X value stop trigger the mail functionalities.
2020 May 17 6:27 PM
Type abap_bool would be better - populated with abap_true or abap_false. (Technically the same, but semantically much better coding).
2020 May 18 7:37 AM
Please:
Thank you.