Difference between revisions of "SAP ABAP PSEUDO COMMENTS"
From SapWiki
(Created page with "* Local Nested Reading DB OP (SELECT) found <nowiki> SELECT * INTO TABLE @DATA(lt_t001) FROM t001. LOOP AT lt_t001 INTO DATA(ls_t001). SELECT SINGLE city1 INTO @DATA...") |
|||
Line 6: | Line 6: | ||
SELECT SINGLE city1 INTO @DATA(l_city) FROM adrc WHERE addrnumber = @ls_t001-adrnr. "#EC CI_SEL_NESTED | SELECT SINGLE city1 INTO @DATA(l_city) FROM adrc WHERE addrnumber = @ls_t001-adrnr. "#EC CI_SEL_NESTED | ||
ENDLOOP.</nowiki> | ENDLOOP.</nowiki> | ||
+ | |||
+ | * NonLocal Nested Reading DB OP (SELECT) found | ||
+ | |||
+ | <nowiki> LOOP AT lt_t001 INTO ls_t001. | ||
+ | PERFORM form2 USING ls_t001-adrnr. | ||
+ | ENDLOOP. | ||
+ | |||
+ | FORM form2 USING p_adrnr. | ||
+ | SELECT SINGLE city1 INTO @DATA(l_city) FROM adrc | ||
+ | WHERE addrnumber = @p_adrnr. "#EC CI_SEL_NESTED | ||
+ | ENDFORM.</nowiki> |
Revision as of 18:43, 24 June 2020
- Local Nested Reading DB OP (SELECT) found
SELECT * INTO TABLE @DATA(lt_t001) FROM t001. LOOP AT lt_t001 INTO DATA(ls_t001). SELECT SINGLE city1 INTO @DATA(l_city) FROM adrc WHERE addrnumber = @ls_t001-adrnr. "#EC CI_SEL_NESTED ENDLOOP.
- NonLocal Nested Reading DB OP (SELECT) found
LOOP AT lt_t001 INTO ls_t001. PERFORM form2 USING ls_t001-adrnr. ENDLOOP. FORM form2 USING p_adrnr. SELECT SINGLE city1 INTO @DATA(l_city) FROM adrc WHERE addrnumber = @p_adrnr. "#EC CI_SEL_NESTED ENDFORM.