on 11-19-2007 11:56 AM
Hi frnds,
I have a ITAB having many columns.. And i want to read one of the column (itab_adrnr) of the first row ( index = 1).
When i use the READ statement it reads the entire row.. So.. Friends .. plz help me....
Thanks.
Hi,
Do like this.
Read Table <itab> into <wa> index 1.
Pass wa-field1 into a variable.
Reward if this helps,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
READ always read the entire row therefor use this.
READ itab into wa_itab index 1.
if sy-subrc = 0.
v_var = wa_itab-ardnr.
endif.
Regards,
Amit
Reward all helpful replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.