<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Coding with deep structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134694#M1818544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use field-symbols .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Check price at the BREAK-POINT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM test_01 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: it_sflight TYPE TABLE OF sflight .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FIELD-SYMBOLS: &amp;lt;st_sflight&amp;gt; LIKE LINE OF it_sflight .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SELECT * FROM sflight INTO TABLE it_sflight UP TO 10 ROWS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; BREAK-POINT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT it_sflight ASSIGNING &amp;lt;st_sflight&amp;gt; .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;st_sflight&amp;gt;-price = &amp;lt;st_sflight&amp;gt;-price * '1.5' .&lt;BR /&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; BREAK-POINT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 08:36:05 GMT</pubDate>
    <dc:creator>rosenberg_eitan</dc:creator>
    <dc:date>2014-02-20T08:36:05Z</dc:date>
    <item>
      <title>Coding with deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134693#M1818543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need help for coding in deep structure.&lt;/P&gt;&lt;P&gt;My code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;loop &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;t_header &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;w_header&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;loop &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;w_header&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;curr_items &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;w_curr_item&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;sort&amp;nbsp; &lt;/SPAN&gt;w_curr_item&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;invoices &lt;SPAN class="L0S52"&gt;by &lt;/SPAN&gt;INVNO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;loop &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;w_curr_item&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;invoices &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;w_invoice&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;loop &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;t_INV &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;w_INV &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;vbeln &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;w_invoice&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;INVNO&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;Append &lt;/SPAN&gt;w_iNV&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;name1 &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;w_curr_item&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;invoices&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endloop&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Append w_iNV-name1 to t_HEADER-curr_itemS-invoices.&amp;nbsp;&amp;nbsp;&amp;nbsp; ...*This statement doesnt works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endloop&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endloop&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endloop&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Where t_header is header structure with inner structures defined as follows: t_header-curr_items-invoices.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Above code doesnt update t_header intead w_curr_item is updated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;I will be thankful for guiding how invoices structure can be updated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 08:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134693#M1818543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-20T08:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Coding with deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134694#M1818544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use field-symbols .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Check price at the BREAK-POINT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM test_01 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA: it_sflight TYPE TABLE OF sflight .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FIELD-SYMBOLS: &amp;lt;st_sflight&amp;gt; LIKE LINE OF it_sflight .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SELECT * FROM sflight INTO TABLE it_sflight UP TO 10 ROWS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; BREAK-POINT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT it_sflight ASSIGNING &amp;lt;st_sflight&amp;gt; .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;st_sflight&amp;gt;-price = &amp;lt;st_sflight&amp;gt;-price * '1.5' .&lt;BR /&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; BREAK-POINT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 08:36:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134694#M1818544</guid>
      <dc:creator>rosenberg_eitan</dc:creator>
      <dc:date>2014-02-20T08:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Coding with deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134695#M1818545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello San,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check whether &lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;w_iNV-name1&lt;/SPAN&gt; and &lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;t_HEADER-curr_itemS-invoices&lt;/SPAN&gt; has same structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, then try the below logic, You are using 3 levels of deep structure and you are trying to append value directly to level1. Might be you can try by passing the value in the hierarchical manner like, first APPEND the value to level3 and then to level2 and then finally to level1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the below crude program for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* Declare type lev1 having a 'field' that is an internal table ita&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* with rows of type lev2, and so on.&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;TYPES&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; LEV3&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;FIELD1&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; C&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;FIELD2&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; C&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;END&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; LEV3&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; LEV2&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;FIELD1&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; C&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;FIELD2&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; C&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;ITA &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; LEV3 &lt;SPAN style="color: #0000ff;"&gt;OCCURS&lt;/SPAN&gt; 0&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;END&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; LEV2&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;BEGIN&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; LEV1&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;FIELD1&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; C&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;FIELD2&lt;SPAN style="color: #800097;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3399ff;"&gt;8&lt;/SPAN&gt;&lt;SPAN style="color: #800097;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; C&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;ITA &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; LEV2 &lt;SPAN style="color: #0000ff;"&gt;OCCURS&lt;/SPAN&gt; 0&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;END&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; LEV1&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt;:&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;IST &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; LEV1 &lt;SPAN style="color: #0000ff;"&gt;OCCURS&lt;/SPAN&gt; 0&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"internal table&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL1 &lt;SPAN style="color: #0000ff;"&gt;LIKE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;LINE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; IST&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"row thereof&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL2 &lt;SPAN style="color: #0000ff;"&gt;LIKE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;LINE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"row of the int. table in the above&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3 &lt;SPAN style="color: #0000ff;"&gt;LIKE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;LINE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;OF&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"row of the int. table in the above&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* assign level-3 data to level-2 internal table&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REFRESH&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'ABCDEFGH'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'caps'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL3 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'abcdefgh'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'smalls'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL3 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* assign level-2 data to level-1 internal table&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REFRESH&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL2-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'12345678'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL2-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'numbers'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL2 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL2 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"let's have this twice&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REFRESH&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"[wipe the level3 data for demo purposes]&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL2 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"and a third time, but without level3&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* assign remaining level-1 data and write to internal table&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL1-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'TOP'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL1-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'LEVEL'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL1 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; IST&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REFRESH&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL1 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; IST&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* some more data for demo purposes&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REFRESH&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'!#£$%^&amp;amp;*'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'symbols'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL3 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'hgfedcba'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL3-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'smalls'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL3 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REFRESH&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL2-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'87654321'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL2-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'numbers'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL2 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;REFRESH&lt;/SPAN&gt; LEVEL2-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"[wipe the level3 data for demo purposes]&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL2-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'98765432'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL2-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'backnos'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL2 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; LEVEL1-ITA&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL1-FIELD1&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'top'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;LEVEL1-FIELD2&lt;SPAN style="color: #800080;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #4da616;"&gt;'level'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL1 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; IST&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;APPEND&lt;/SPAN&gt; LEVEL1 &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; IST&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;EM style="color: #808080;"&gt;"let's have this twice.&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;EM style="color: #808080;"&gt;* read &amp;amp; display the data&lt;/EM&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;LOOP&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;AT&lt;/SPAN&gt; IST &lt;SPAN style="color: #0000ff;"&gt;INTO&lt;/SPAN&gt; LEVEL1&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;WRITE&lt;/SPAN&gt;: /&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; /4 &lt;SPAN style="color: #4da616;"&gt;'level1:'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; LEVEL1-FIELD1&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; LEVEL1-FIELD2&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;LOOP&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;AT&lt;/SPAN&gt; LEVEL1-ITA &lt;SPAN style="color: #0000ff;"&gt;INTO&lt;/SPAN&gt; LEVEL2&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;WRITE&lt;/SPAN&gt;: /&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; /12 &lt;SPAN style="color: #4da616;"&gt;'level2:'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; LEVEL2-FIELD1&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; LEVEL2-FIELD2&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;LOOP&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;AT&lt;/SPAN&gt; LEVEL2-ITA &lt;SPAN style="color: #0000ff;"&gt;INTO&lt;/SPAN&gt; LEVEL3&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;WRITE&lt;/SPAN&gt;: /&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; /20 &lt;SPAN style="color: #4da616;"&gt;'level3:'&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; LEVEL3-FIELD1&lt;SPAN style="color: #800080;"&gt;,&lt;/SPAN&gt; LEVEL3-FIELD2&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: courier; color: black;"&gt;&lt;SPAN style="color: #0000ff;"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards, Thanga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 08:46:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134695#M1818545</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2014-02-20T08:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Coding with deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134696#M1818546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either use field-symbols, as suggested by Eitan. Otherwise you will have to modify the work areas from down to up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;Append &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;w_iNV&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;name1 &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;to &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;w_curr_item&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-size: 12px; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;invoices&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;append to &lt;SPAN style="color: #333333; font-size: 12px;"&gt;w_invoice&lt;/SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;append to &lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;w_curr_item.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333;"&gt;using the modify from statement. But go for the field-symbols, it is much easier.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 08:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding-with-deep-structure/m-p/10134696#M1818546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-20T08:50:43Z</dc:date>
    </item>
  </channel>
</rss>

