2008 Dec 03 9:39 PM
I'm getting plants as an input range.
Select-options: PLANTS for T001W-WERKS.
since its stored as IEQFD01 internally ,
what should be done to remove this IEQ and display as FD01.
how to display the from and to range like Plant range : FD01 to CH03.
Thanks.
I'm getting plants as an input range.
Select-options: PLANTS for T001W-WERKS.
since its stored as IEQFD01 internally ,
what should be done to remove this IEQ and display as FD01.
how to display the from and to range like Plant range : FD01 to CH03.
Thanks.
2008 Dec 03 9:47 PM
It is not saved like that internally, what you are seeing is the value you got in debugging mode.
Just use PLANTS-LOW & PLANTS-HIGH for display.
e.g. - write:/ PLANTS-LOW, 'TO', PLANTS-HIGH.
2008 Dec 05 4:58 AM
that was not in debug mode.
even if it's displayed using write 😕 plants. you can see IEQ.
Thanks for suggestion.
2008 Dec 03 9:48 PM
for single value:
WRITE : selectoption-low.
for range:
WRITE : selectoption-low, 'to' , selectoption-high.
the select option is an internal table in fact (with fields: sign, option, low and high), so you have to LOOP AT it.
2008 Dec 03 11:45 PM
Use something like :
LOOP AT PLANTS.
* sign I, E
CASE PLANTS-SIGN
WHEN 'I'.
WRITE: / 'including'.
WHEN 'E'.
WRITE: / 'excluding'.
ENDCASE.
* options EQ LT BT CP GE GT LE NB NE NP
CASE PLANTS-OPTION.
WHEN 'EQ'.
WRITE 'equal'.
WHEN 'LT'.
WRITE 'lower than'.
WHEN 'BT'.
WRITE 'between'
(...)
ENDCASE.
WRITE plants-low.
IF plants-option EQ 'BT' or plants-option EQ 'NB'.
WRITE: 'and', plants-high.
ENDIF.
ENDLOOP.Regards