LOOP AT GROUP KEY INTO DATA(MEMBER). ENDLOOP. ENDLOOP. 按LIFNR,ERNAM分组,LS_EKKO为空 LOOP AT LT_EKKO INTO DATA(LS_EKKO) GROUP BY ( KEY1 = LS_EKKO-LIFNR KEY2 = LS_EKKO-ERNAM ) INTO DATA(KEY).LOOP AT GROUP按组的分组条件访问组成员,其中KEY可以理解为工作区,包含lifnr和ername. mem...
DATA text_short TYPE c LENGTH 2. DATA text_long TYPE c LENGTH 4. DATA itab LIKE TABLE OF text_short WITH NON-UNIQUE KEY table_line. text_short = 'AA'. text_long = 'AAXX'. APPEND text_short TO itab. LOOP AT itab INTO text_short WHERE table_line = text_long. ENDLOOP....
Like the example above, but with the addition WITHOUT MEMBERS, for which a group key binding is defined with INTO DATA(key). There is no access to the rows of the groups in the loop. SELECT * FROM spfli INTO TABLE @DATA(spfli_tab). LOOP AT spfli_tab INTO DATA(wa) ...
This procedure describes how to configure a Foreach Loop container, including property expressions at the enumerator and container levels.In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want. Click the Control Flow tab and double-click the For...
This procedure describes how to configure a Foreach Loop container, including property expressions at the enumerator and container levels.In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want. Click the Control Flow tab and double-click the For...
This procedure describes how to configure a Foreach Loop container, including property expressions at the enumerator and container levels.In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want. Click the Control Flow tab and double-click the For...
This procedure describes how to configure a Foreach Loop container, including property expressions at the enumerator and container levels. In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want. ...
This procedure describes how to configure a Foreach Loop container, including property expressions at the enumerator and container levels.In SQL Server Data Tools (SSDT), open the Integration Services project that contains the package you want. Click the Control Flow tab and double-click the For...
Declaration of a structured group key with additional components for group index and group size. A group key binding must be defined with INTO data(key). SELECT * FROM spfli INTO TABLE @DATA(spfli_tab). LOOP AT spfli_tab INTO DATA(wa) ...
DATA(itab) = VALUE itab( ( 1 ) ( 1 ) ( 2 ) ( 2 ) ). LOOP AT itab INTO DATA(wa) GROUP BY wa. LOOP AT GROUP wa INTO DATA(member). ... ENDLOOP. ENDLOOP. LOOP AT itab ASSIGNING FIELD-SYMBOL(<fs>) GROUP BY <fs>. LOOP AT GROUP <fs> INTO member. ... ...