‎2008 Apr 11 2:46 PM
Hi experts,
I have a get statement with logical database,
when it is executed, it should go to END-OF-SELECTION. But it goes to GET statement again. Why is it happening? Do anybody have explanation about it?
‎2008 Apr 11 2:48 PM
HI,
Write an EXIT statement after GET which takes it to END-OF-SELECTION statement ...
Regards,
Santosh
‎2008 Apr 11 3:14 PM
Okay, but why GET statement executed more than once??
I have something similar syntax...
How does GET work in this case? Why is it executed 2 times?
START-OF-SELECTION
GET logical_db.
END-OF-SELECTION
‎2008 Apr 11 3:19 PM
hi,
Get statement functions as loop and endloop statement .... and comes out of it only when it sees any exit statement after executing that statement ....For more information check out
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/get_.htm
Regards,
Santosh
‎2008 Apr 11 2:53 PM
‎2008 Apr 11 3:21 PM