2008 Jul 30 10:01 AM
Hi Guy's,
Please help me i want to check the high value of select-option.
for low i wrote like this, it is wrorking fine but i want how to write the logic for to check high value also.
RANGES: rgion FOR ptk05-rgion OCCURS 0
IF NOT ( ptk05-rgion IS INITIAL ).
rgion-low = ptk05-rgion.
rgion-sign = 'I'.
rgion-option = 'EQ'.
APPEND rgion.
ELSE.
rgion = ' '.
endif.
Thanks,
Sai.
2008 Jul 30 10:10 AM
hi,
Select-options is an internal table.
Having fields SIGN, OPTION, LOW HIGH.
You can check high value in tha same way you check LOW value.
Regards
Sumit Agarwal
Hi Guy's,
Please help me i want to check the high value of select-option.
for low i wrote like this, it is wrorking fine but i want how to write the logic for to check high value also.
RANGES: rgion FOR ptk05-rgion OCCURS 0
IF NOT ( ptk05-rgion IS INITIAL ).
rgion-low = ptk05-rgion.
rgion-sign = 'I'.
rgion-option = 'EQ'.
APPEND rgion.
ELSE.
rgion = ' '.
endif.
Thanks,
Sai.
2008 Jul 30 10:04 AM
If U want to give value to high ..
IF NOT ( ptk05-rgion IS INITIAL ).
rgion-low = ptk05-rgion.
rgion-high = ''. <-- enter a value which is greater than ptk05-rgion.
rgion-sign = 'I'.
rgion-option = 'BT'.
APPEND rgion.
ELSE.
rgion = ' '.
endif.
2008 Jul 30 10:05 AM
Hi Sai,
Use something like this :
RANGES: rgion FOR ptk05-rgion OCCURS 0
IF NOT ( ptk05-rgion IS INITIAL ).
rgion-low = ptk05-rgion.
rgion-high = ptk05-rgion.
rgion-sign = 'I'.
rgion-option = 'EQ'.
APPEND rgion.
ELSE.
rgion = ' '.
endif.
Regards,
Swapna.
2008 Jul 30 10:07 AM
Hi,
select-options : rgion FOR ptk05-rgion.
IF NOT ( ptk05-rgion IS INITIAL ).
rgion-high = ptk05-rgion.
rgion-sign = 'I'.
rgion-option = 'EQ'.
APPEND rgion.
endif.
U will be having low and high options ... if u want to choose higher limit go for high...........
2008 Jul 30 10:07 AM
Use.
Select-options :s_matnr for mara-matnr.
at selection-screen.
loop at screen.
if screen-name eq 'S_MATNR-HIGH'
"Do your action here.
endif.
endloop.
Regards
rajesh
2008 Jul 30 10:08 AM
hi check this..
rgion-low = s_ptk05-low.
rgion-sign = 'I'.
rgion-option = 'BT'.
rgion-high = s_ptk05-high
2008 Jul 30 10:10 AM
hi,
Select-options is an internal table.
Having fields SIGN, OPTION, LOW HIGH.
You can check high value in tha same way you check LOW value.
Regards
Sumit Agarwal
2008 Jul 30 10:16 AM
Hi Sai,
Try the following:
RANGES: rgion FOR ptk05-rgion OCCURS 0
IF NOT ( ptk05-rgion IS INITIAL ).
rgion-low = ptk05-rgion.
rgion-high = ptk05-rgion.
rgion-sign = 'I'.
rgion-option = 'EQ'.
APPEND rgion.
ELSE.
rgion = ' '.
ENDIF.Regards,
Chandra Sekhar
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |