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

select...endselect query.

former_member770121
Participant
0 Likes
1,175

select and endselect query act as loop and define functationality of function module read-text ????

4 REPLIES 4
Read only

abo
Active Contributor
1,080

and your question is ?

Read only

former_member770121
Participant
0 Likes
1,080

my question is so simple select and endselect query is act as loop????

Read only

0 Likes
1,080

Thanks but don't precise your question by an answer 😉

Please use the COMMENT button for comments, questions, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,080

Yes select ... endselect is a loop. It's why it's also called in short a "select loop".

Look at ABAP documentation https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapselect.htm:

  • "In the following cases, the statement SELECT opens a loop that must be closed using ENDSELECT."
  • ...
  • "In each loop iteration, the SELECT statement assigns a row or a packet of rows to the data objects specified in target."
  • ...