Skip to Content
Former Member
Jul 10, 2007 at 11:11 AM

read table...


Hi all,

I have a select statement in which i am retrieving values in a internal table.

how to use the values of that table in the next if statements...

for ex:

SELECT rfarea docct rbukrs ryear docnr

ksl racct sgtxt cpudt usnam

FROM glpca client specified INTO TABLE gt_tpca

WHERE docnr EQ gw_idoc-belnr

AND rclnt EQ sy-mandt.

Now i want to check if the field racct of table gt_tpca is the value in select options.

Based on that i want to write a perfrom statement.

So how to get that value.