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

read table issue in method

Former Member
0 Likes
403

Hi,

How can i read this table with where condition in OOPS? is it possible?

Give some idea how to proceed?

Inside method i have written like this.

ret is my return parameter.

code:

Loop at me->s001_raw[] assigning <arr_s001>.

read table ret[] with table key

vkorg in me->select_parameters->SO_VKORG[]

and ZZEMP in me->select_parameters->SO_empl[].

assigning <arr_return>.

Thanks

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
379

Read will not work

May be you can try this way


Loop at me->s001_raw[] assigning <arr_s001>.
  loop at ret[] assigning <arr_return> where vkorg in me->select_parameters->SO_VKORG[]
                 and zzemp in me->select_parameters->SO_empl[].
    exit.
  endloop.
endloop.

a®

Read only

Former Member
0 Likes
379

Hi,

Thanks for ur answer.