03-04-2014 2:46 PM
hi everyone:
im new to abap development and i am currently in the process of validating the fields on one table comparing them to another table.
right now this is the loop im using but i keep geting the same error when i try to assiociate a key field.
loop at i_index into s_validate.
read table i_regist2 with key cid eq s_validate-cid <------ "eq s_validate-cid" is not expected (Error message)
transporting no fields.
if sy_subrc eq 0.
...
...
...
please clarify why this is happening and what is needed to correct this error.
thanks in advance
03-04-2014 3:49 PM
Hi,
Try using a work area in your read instruction as follow: INTO wa [transport_options]
Moez.
03-04-2014 8:41 PM
Hello Irving,
You cannot use EQ in the READ statement. You have to use = in the read statement.
Regards,
Thanga