<?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 Create variables dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399520#M1406024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends! I'm need to create an variable for ech line of internal table to build xml file, but i have a problem. How can I create variables dynamically in abap? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2009 16:12:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-15T16:12:43Z</dc:date>
    <item>
      <title>Create variables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399520#M1406024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends! I'm need to create an variable for ech line of internal table to build xml file, but i have a problem. How can I create variables dynamically in abap? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 16:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399520#M1406024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-15T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create variables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399521#M1406025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be more specific with your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you need to create variables, but just assign the fields in the table to a field-symbols to achieve what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 16:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399521#M1406025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-15T16:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create variables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399522#M1406026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achive this by using field-symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be no need to create variables for each line of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search SDN for the use of same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 16:44:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399522#M1406026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-15T16:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create variables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399523#M1406027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain the scenario correctly.&lt;/P&gt;&lt;P&gt;what about moving the internal table line to a string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 17:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399523#M1406027</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-12-15T17:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create variables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399524#M1406028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply...I made a mistake. I tought would need this, but only one variable for each tag works 'cause every XML element is created in a base document.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code I'm used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT xml_item_tab INTO wa_xml_item_tab.&lt;/P&gt;&lt;P&gt;*Numero item&lt;/P&gt;&lt;P&gt;    CLEAR value.&lt;/P&gt;&lt;P&gt;    TRANSLATE wa_xml_item_tab-nitem USING '0 '.&lt;/P&gt;&lt;P&gt;    value = wa_xml_item_tab-nitem.&lt;/P&gt;&lt;P&gt;    CONDENSE value NO-GAPS.&lt;/P&gt;&lt;P&gt;    g_rc = i_det-&amp;gt;set_attribute(&lt;/P&gt;&lt;P&gt;           name = 'nItem'&lt;/P&gt;&lt;P&gt;           value = value ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Fulvio Valente on Dec 17, 2009 6:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 17:56:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-variables-dynamically/m-p/6399524#M1406028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T17:56:23Z</dc:date>
    </item>
  </channel>
</rss>

