<?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: give out variable as string on the screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867970#M1476685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define it as String ..Thats It.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 May 2010 08:25:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-06T08:25:21Z</dc:date>
    <item>
      <title>give out variable as string on the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867969#M1476684</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 have define a variable and assign a value. Now i want show the variable as string in screen.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data lf_vab type i.

lf_vab = 1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output is&lt;/P&gt;&lt;P&gt;lf_vab = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know, i have might define LF_VAB as a constant but i wan't. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx abap_begin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 08:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867969#M1476684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-06T08:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: give out variable as string on the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867970#M1476685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define it as String ..Thats It.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 08:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867970#M1476685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-06T08:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: give out variable as string on the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867971#M1476686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried quite hard to understand the question. But couldn't&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 08:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867971#M1476686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-06T08:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: give out variable as string on the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867972#M1476687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, i know, i can definition as string, look this problem&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 data lf_vab1 type i .
 data lf_va type string value 'LF_VAB1'.

 lf_vab1 = 3
WRITE:  lf_va, ' = ' , lf_vab1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the output is&lt;/P&gt;&lt;P&gt;LF_VAB1= 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i change later the variable name, then the output isn't right.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 data lf_vab type i .
 data lf_va type string value 'LF_VAB1'.

 lf_vab1 = 3
WRITE:  lf_va, ' = ' , lf_vab1. "Now is wrong, because the Variable LF_VAB1 isn't exist
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What i want is, get the variable name as string. Is for dynamic programing.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx abap_begin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abap_begin on May 6, 2010 10:41 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 08:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867972#M1476687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-06T08:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: give out variable as string on the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867973#M1476688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data lf_vab type i .
 data lf_va type string value 'LF_VAB1'.
 
 lf_vab = 3
WRITE:  lf_va, ' = ' , lf_vab. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if if you change the varible name ten you have to change in all the place.Please check your codings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are declared lf_vab but used as lf_vab1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 09:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/give-out-variable-as-string-on-the-screen/m-p/6867973#M1476688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-06T09:05:45Z</dc:date>
    </item>
  </channel>
</rss>

