<?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: Address node in smartforms. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764590#M905780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the function module ADDRESS_INTO_PRINTFORM&lt;/P&gt;&lt;P&gt;it works just like the address node&lt;/P&gt;&lt;P&gt;You have to pass the same values to it.&lt;/P&gt;&lt;P&gt;It returns the address in an internal table&lt;/P&gt;&lt;P&gt;You can then display it as you like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there re different types of ways it returns the addresss&lt;/P&gt;&lt;P&gt;Simple itab , for printing&lt;/P&gt;&lt;P&gt;Short address (in one line)&lt;/P&gt;&lt;P&gt;and another one in which it returns what each line is (Name,comapny..etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the documentation on it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2008 13:22:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-05T13:22:26Z</dc:date>
    <item>
      <title>Address node in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764583#M905773</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 a problem in displaying the address in a smartform. For one sales order, I fetch the customer name, street, house number, str_suppl3, location etc from table adrc and I have to display the same in 5 lines. I first used a window and displayed the fields side by side. But in few cases, if str_suppl3 and location were not entered by the user, then that line remained blank. Sometimes the name which was a combination of name1 and name2 had to be checked bcoz some sales orders were related with 2 names and some had only one. In some cases region was not entered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of all these comibinations and permutations it was difficult to give conditions. So I replaced this by the address node. Now for this, the problem is that each field takes a new line. But I need to display the two names side by side if present. the street and house number side by side and so on cause I have about 5 lines space to print the address. &lt;/P&gt;&lt;P&gt;Can anyone please give me solution to this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 10:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764583#M905773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T10:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Address node in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764584#M905774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi in address window there is a tab called Aditional address specification:&lt;/P&gt;&lt;P&gt; in this there is a field calle 'Number of Lines to be Used'&lt;/P&gt;&lt;P&gt;specify 5 in this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 11:09:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764584#M905774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T11:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Address node in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764585#M905775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When I specify lines 5, it prints only 5 fields on five lines and and the rest is ommited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 11:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764585#M905775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T11:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Address node in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764586#M905776</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;EXAMPLE on Address node&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to display the vendor's address , get the ADRNR for that particular LIFNR and put it that variable(&amp;amp;v_adrnr&amp;amp;) or the value in the the address number field .. select the type of the address you want to display. if you are not sure of the type then select the 'Determine Dynamically' radiobutton and give the variable there..&lt;/P&gt;&lt;P&gt;&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;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 11:15:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764586#M905776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T11:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Address node in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764587#M905777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , &lt;/P&gt;&lt;P&gt;specify some other no and try it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 11:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764587#M905777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T11:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Address node in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764588#M905778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii,&lt;/P&gt;&lt;P&gt;creating the address window ,we must specify it as a secondary window.then we have positon it as per requirement.then by left clicking it we have to create the program line..for eg &lt;/P&gt;&lt;P&gt;select adrnr&lt;/P&gt;&lt;P&gt;  from t001&lt;/P&gt;&lt;P&gt;  into v_adrnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; where bukrs eq company_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endselect.&lt;/P&gt;&lt;P&gt;and specufy in the input parameter as company_code and output parameter as v_adrnr.&lt;/P&gt;&lt;P&gt;then in the address option we have to specify the address number as &amp;amp; v_adrnr&amp;amp;,organizational address,and also the number of lines you must use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any more queries plz revert back..&lt;/P&gt;&lt;P&gt;reward points if helpful.&lt;/P&gt;&lt;P&gt;thankss...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 11:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764588#M905778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T11:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Address node in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764589#M905779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;My code fetches the adrnr etc into a work area. I have mentioned wa_adrc-adrnr in the address node. The address is being fetched but I want the fields side by side and if one field is empty it should not print a gap, thats all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 13:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764589#M905779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T13:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Address node in smartforms.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764590#M905780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the function module ADDRESS_INTO_PRINTFORM&lt;/P&gt;&lt;P&gt;it works just like the address node&lt;/P&gt;&lt;P&gt;You have to pass the same values to it.&lt;/P&gt;&lt;P&gt;It returns the address in an internal table&lt;/P&gt;&lt;P&gt;You can then display it as you like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there re different types of ways it returns the addresss&lt;/P&gt;&lt;P&gt;Simple itab , for printing&lt;/P&gt;&lt;P&gt;Short address (in one line)&lt;/P&gt;&lt;P&gt;and another one in which it returns what each line is (Name,comapny..etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the documentation on it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 13:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-node-in-smartforms/m-p/3764590#M905780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T13:22:26Z</dc:date>
    </item>
  </channel>
</rss>

