<?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: smartforms address in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158474#M119672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should check the following things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The structure u are using in ur smartform and ABAP program should be declared in the data dictionary (SE11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You should then declare an itab 'LIKE' that structure in the TABLES tab in the FORM INTERFACE of ur smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Now u can display the respective field of that itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2006 07:20:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-03T07:20:03Z</dc:date>
    <item>
      <title>smartforms address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158471#M119669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have created ITAB to get the customer addresses.&lt;/P&gt;&lt;P&gt;Same structure(T_PVT) i have created in smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call function '/1BCDWB/SF00000249'    
      tables     
       t_pvt = itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the smartforms ,sap address number i have given &amp;amp;T_PVT-ADRNR&amp;amp; to get the address dynamically.While executing iam getting the error "Error in address output (name not filled)." But there are values in ITAB.&lt;/P&gt;&lt;P&gt;Where might be the problem?If i give direct address number ex: 24354 , iam getting the address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i give &amp;amp;T_PVT-ADRNR&amp;amp; directly in the address number?Or is there any other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 02:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158471#M119669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-03T02:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158472#M119670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define A global variable at global data as&lt;/P&gt;&lt;P&gt;W_PVT TYPE  T_PVT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add program lines(Shown Below) "before" your address text element  or in the "initialization" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Read Table T_PVT into W_PVT index 1.&amp;lt;/b&amp;gt; "W_PVT  is work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add &amp;amp;W_PVT-ADRNR&amp;amp; in address element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are not reading any entry in the internal table T_PVT hence there is no value assigned to variable &amp;amp;T_OVT-ADRNR&amp;amp;. You are getting an "error" in address output .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 02:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158472#M119670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-03T02:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158473#M119671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried this logic.Still iam getting error&lt;/P&gt;&lt;P&gt;"Error in address output (name not filled)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam using this code in program lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Read Table T_PVT into G_PVT index 1.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;and address number iam passing G_PVT-ADRNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i give value directly,that is G_PVT-ADRNR = '39012'.&lt;/P&gt;&lt;P&gt;Iam getting the address.What i found is T_PVT is not getting read.But data is in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where might be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 06:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158473#M119671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-03T06:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158474#M119672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should check the following things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The structure u are using in ur smartform and ABAP program should be declared in the data dictionary (SE11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You should then declare an itab 'LIKE' that structure in the TABLES tab in the FORM INTERFACE of ur smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Now u can display the respective field of that itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 07:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158474#M119672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-03T07:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158475#M119673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All these things are has  been done.Iam trying to read the itab in the smartform(program lines).I did not understand why the READ statement not getting anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 07:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158475#M119673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-03T07:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158476#M119674</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;Put Break point and check for the entries in T_PVT table.&lt;/P&gt;&lt;P&gt;If it contains any value then and only u get a record by read statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Digesh Panchal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 08:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158476#M119674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-03T08:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms address</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158477#M119675</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;Why don't you write the code to retrieve the address no in Smartform Code Window instead of writing in ABAP Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murali Krishna K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2006 09:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-address/m-p/1158477#M119675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-03T09:00:50Z</dc:date>
    </item>
  </channel>
</rss>

