<?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: Transfering the value from deep structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389655#M1994651</link>
    <description>&lt;P&gt;aarghhh... You shouldn't talk about header lines unless the OP talks about it, currently I understand that maybe I can try to use a header line even if it's obsolete. Header lines can be used ONLY when there's no other choice, when using or maintaining old programs.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 06:54:23 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2021-08-25T06:54:23Z</dc:date>
    <item>
      <title>Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389648#M1994644</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1969827-error-low.png"&gt;error-low.png&lt;/A&gt;I want to pass the below highlighted value to some variable so that i use that ..&lt;/P&gt;
  &lt;P&gt;like : Lv_comp = lv_comp1-low &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;can you suggest some way of transfering this value &lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 05:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389648#M1994644</guid>
      <dc:creator>former_member763570</dc:creator>
      <dc:date>2021-08-25T05:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389649#M1994645</link>
      <description>&lt;P&gt;What do you want to transfert  and where do you want to transfert ?   and what is the problem with your syntax ? &lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 05:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389649#M1994645</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-08-25T05:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389650#M1994646</link>
      <description>&lt;P&gt;i am getting this error while transferring the value as : Lv_comp = lv_comp1-low&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" style="color: inherit;" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 06:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389650#M1994646</guid>
      <dc:creator>former_member763570</dc:creator>
      <dc:date>2021-08-25T06:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389651#M1994647</link>
      <description>&lt;P&gt;"LV_COMP is a table without a header line"&lt;/P&gt;&lt;P&gt;if you do : &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data my_table type table_type with header-line. 

my_table-field = 'something'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you must have an header line, that means, a structure with exactly the same name as the table. This is old ABAP code, could not be use in Abap Object.&lt;/P&gt;&lt;P&gt;Now, to use your LV_COMP, you need to know:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you want to add an entry&lt;/LI&gt;&lt;LI&gt;Do you want to initiate a new entry&lt;/LI&gt;&lt;LI&gt;Do you want to update an entry&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For modification, you could use simple &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT my_table into data(my_table_line).
  IF something = something_else.
    my_table_line-field = 'something_else_again'.
    UPDATE my_table FROM my_table_line TRANSPORTING field.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if you need to initiate a new entry (empty table).&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;my_table = values #( ( field = 'something' ) ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The internal ( ) represente an entry, if you need several entries  value #( ( entry one ) (entry two ) ).&lt;/P&gt;&lt;P&gt;and to add you could use statement APPEND&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 06:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389651#M1994647</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-08-25T06:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389652#M1994648</link>
      <description>&lt;P&gt;You should add a basic ABAP tutorial link to that answer, and you'd nailed it.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 06:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389652#M1994648</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2021-08-25T06:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389653#M1994649</link>
      <description>&lt;P&gt;I am not sure to not have made error, I wrote it very fast.&lt;/P&gt;&lt;P&gt;So, yes, for any help; you have the transaction : ABAPDOCU  (in SAP) and you could enter any statement you will find full help&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 06:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389653#M1994649</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-08-25T06:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389654#M1994650</link>
      <description>&lt;P&gt;If you search the forum, you'll see that the question has been answered lots of times:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"is a table without a header line" site:sap.com&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Aug 2021 06:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389654#M1994650</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-08-25T06:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389655#M1994651</link>
      <description>&lt;P&gt;aarghhh... You shouldn't talk about header lines unless the OP talks about it, currently I understand that maybe I can try to use a header line even if it's obsolete. Header lines can be used ONLY when there's no other choice, when using or maintaining old programs.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 06:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389655#M1994651</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-08-25T06:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389656#M1994652</link>
      <description>&lt;P&gt;If you are maintaining old programs, the first thing you must do is to remove those nasty header lines, occurs and tables declarations.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 07:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389656#M1994652</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2021-08-25T07:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389657#M1994653</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; there is no tabou in ABAP &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389657#M1994653</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-08-25T08:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389658#M1994654</link>
      <description>&lt;P&gt;No taboos, but I'm not convinced that your mention of header lines won't confuse the OP further. Best keep things simple.&lt;/P&gt;&lt;P&gt;I tell you what, let's talk about field groups. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389658#M1994654</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-08-25T08:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389659#M1994655</link>
      <description>&lt;P&gt;I like the idea of having no taboo (in ABAP or whatever). There's just people who throw water on electricity fire ! Just kidding &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389659#M1994655</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-08-25T08:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389660#M1994656</link>
      <description>&lt;P&gt;�� = wink. &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389660#M1994656</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-08-25T08:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389661#M1994657</link>
      <description>&lt;P&gt;nobody remember field-groups &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:15:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389661#M1994657</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-08-25T08:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389662#M1994658</link>
      <description>&lt;P&gt;Field groups are never far..., I refreshed my memory 2 days ago by looking at RSNAST00 &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389662#M1994658</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-08-25T08:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389663#M1994659</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;frdric.girod&lt;/SPAN&gt; ... so young! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389663#M1994659</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-08-25T08:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Transfering the value from deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389664#M1994660</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;matthew.billingham&lt;/SPAN&gt; so grandfatherish! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 09:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfering-the-value-from-deep-structure/m-p/12389664#M1994660</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-08-25T09:36:38Z</dc:date>
    </item>
  </channel>
</rss>

