cancel
Showing results for 
Search instead for 
Did you mean: 

Loop / Read statement for a inline declaration

k_sriram
Explorer
0 Kudos

Hello experts , how do you write loop and read statement for a inline declaration during select query ?

lenapadeken
Product and Topic Expert
Product and Topic Expert
0 Kudos

Not at all. Using @DATA(gt_vbap04), you define a target area. Link to documentation.

FredericGirod
Active Contributor

or

 INTO DATA(my_other_beautiful_line).
my_other_beautiful_line-vbeln ...
Sandra_Rossi
Active Contributor

frdric.girod It's worth an answer! 😉

horst_keller
Product and Topic Expert
Product and Topic Expert

We are missing a SELECT function:

... SELECT( clauses ) ...

where the INTO clause goes to the function's result.

That could then be used in operand positions.

TamasFodor
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

We helped you to accept the answer, since there were no updates after 7 days. You can unaccept it anytime if you have further questions.

Kind regards,

Tamas

Accepted Solutions (1)

Accepted Solutions (1)

FredericGirod
Active Contributor
loop at gt_vbap04
reference into data(my_beautiful_line).
my_beautiful_line->vbeln ....
endloop.

Answers (0)