2009 May 06 2:02 PM
Hi Guys,
Iam using read stment , iam hving issue that it is asking to involve all key fields in internal table I_Final.Iam hving 5 key fields in Final itab.but i have only one plant vaue .
Loop at i_plant into ls_plant.
Read table I_Final with table key ZWerks = ls_plant-bukrs
Endloop.
Can any one rectfiy me how to correct this error,
Regards,
Sri
Hi Guys,
Iam using read stment , iam hving issue that it is asking to involve all key fields in internal table I_Final.Iam hving 5 key fields in Final itab.but i have only one plant vaue .
Loop at i_plant into ls_plant.
Read table I_Final with table key ZWerks = ls_plant-bukrs
Endloop.
Can any one rectfiy me how to correct this error,
Regards,
Sri
2009 May 06 2:03 PM
read table i_final with key xxx....
delete the "TABLE" keyword from ur read stmt!!!
2009 May 06 2:05 PM
Hi,
Use this one
READ TABLE itab WITH KEY k1 = v1
Remove TABLE
Regards
Krishna
2009 May 06 2:05 PM
2009 May 06 2:06 PM
hi,
if i_final is a table with header line then use the below syntax.
Read table I_Final with key ZWerks = ls_plant-bukrs. "--> remove TABLE key wordif i_final is a table without header line then use the below syntax.
Read table I_Final INTO w_final with key ZWerks = ls_plant-bukrs.
Thanks
2009 May 06 2:06 PM
Hi,
Try This
Loop at i_plant into ls_plant.
Read table Is_plant with table key ZWerks = ls_plant-bukrs
Endloop.
Else send me ur code then i can aable to rectify...
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |