Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Validation

Former Member
0 Likes
469

Hi gurus,

I am new to ABAP, can you just tell me whether the following statement is right or not.

loop at it_tab where it_temp-custid = it_tab01-custid.

Thanks

Rajeev Gupta

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
451

no ,that is wrong..

Please paste your code .

it should be like this

loop at it_tab where custid = it_tab01-custid.

endloop.

thanks

Seshu

3 REPLIES 3
Read only

Former Member
0 Likes
452

no ,that is wrong..

Please paste your code .

it should be like this

loop at it_tab where custid = it_tab01-custid.

endloop.

thanks

Seshu

Read only

Former Member
0 Likes
451

I guess not.

Pleae modify it as follows.

Loop at it_tab where (here you have to specify the field name from the table it_tab) = (here you can hardcode any value or can be from some other internaltable or work area).

Hope this helps.

Shreekant

Read only

Former Member
0 Likes
451

Hi Rajeev,

The statement is correct, except that you have to use " ENDLOOP. " after this..

Thanks and Best Regards,

Vikas Bittera.