Difference between revisions of "SAP ABAP PSEUDO COMMENTS"

From SapWiki
Line 27: Line 27:
 
</nowiki>
 
</nowiki>
  
* [[SAP ABAP VARIOS#Listado_de_Pragmas|Listado de Pragmas]]
+
==Pragmas==
 +
=== [[SAP ABAP VARIOS#Listado_de_Pragmas|Listado de Pragmas]]===
 +
=== [https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenpragma.htm|Pragmas en help.sap]]===
 +
===Ejemplos===
 +
l_string = 'Hola Mundo'          ##no_text.

Revision as of 14:43, 13 May 2021

  • 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.
  • Al actualizar
  LOOP AT gt_tabla INTO wa_tabla.
       update zt_tabla set habilitado = 'N'
              WHERE rut_emp = wa_tabla-rut_emp. "#EC CI_IMUD_NESTED
    COMMIT WORK.
  ENDLOOP.

Pragmas

Listado de Pragmas

en help.sap]

Ejemplos

l_string = 'Hola Mundo'           ##no_text.