2008 Jul 11 8:01 AM
Hi All,
1. in Read statement how to use lower and higher condition ?
"S_MATNR " IN SELECTION SCREEN MATERIAL CONTAIN VALUE RANGE.
I want to check the value range in read statement .
eg: READ TABLE T_COMPAS INTO W_COMPAS WITH KEY MATNR = S_MATNR-LOW S_MATNR-HIGH.
It is showing error message.
Thanking you.
Hi All,
1. in Read statement how to use lower and higher condition ?
"S_MATNR " IN SELECTION SCREEN MATERIAL CONTAIN VALUE RANGE.
I want to check the value range in read statement .
eg: READ TABLE T_COMPAS INTO W_COMPAS WITH KEY MATNR = S_MATNR-LOW S_MATNR-HIGH.
It is showing error message.
Thanking you.
2008 Jul 11 8:03 AM
You are asking the same question 4th time!!! I know that half of the answers were rubbish (however there were good answers as well), but...
CAN YOU JUST STOP?
2008 Jul 11 8:04 AM
Post the question for one time.... Don't repeat the same question for entire SDN....
Use the loop with where condition and get the valid records..., being S_MATNR is an select-option you may get the multiple records. If you want only one record with in that range then put one EXIT with in that loop-endloop.
Edited by: Ravi Kumar on Jul 11, 2008 9:19 AM
2008 Jul 11 8:07 AM
Hi,
Try this-
Read table t_mara into fs_mara with key matnr = s_matnr.
Regards,
Sujit
2008 Jul 11 8:07 AM
What u r doing man............
U have posted this question 4 thimes..........
Just check ur previous question i think u will get ur answer if not then reply to any thread.....
Thanks,
2008 Jul 11 8:09 AM
Hi.....
Subhasha....
This is really very unfair yaar...
You can come back with ur reply with iin the same Question...
sorry... But Dont repeat like this...
You know so many qustions will moves back with this....
and..,
May I know What is the problem with following Answer!!!!!?????
Your Reading more than one entries into internal table ...
Then...,
Change your code like this....
>loop at itab into wa where matnr = s_matnr-low and matnr = s_matnr-high.
>
>(Use those Entries)
>
>Endloop.
and proceed..,
Thanks,
Naveen
2008 Jul 11 8:14 AM
Hi,
as sujit said you can try with this code.
select-options: s_matnr like mara-matnr.
initialization.
s_matnr-sign = 'I'.
s_matnr-option = 'BT'.
s_matnr-low = 'low number'.
s_matnr-high = 'high number'.
append s_matnr.
read table T_COMPAS into W_COMPAS with key matnr in s_matnr.
regards.
sriram.
2008 Jul 11 9:11 AM
Hi.
Don't repeat your question in several threads. Don't use meaningless subjects. Don't claim your question being urgent (btw: ur_g_ent) others don't feel the need to answer it urgent.
Read our rules of engagement! Users continuously breaking this rules will lose their account. I will lock this thread, most other copies have been deleted.
Best regards,
Jan Stallkamp
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |