<?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: printing address in sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518348#M1261431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about trying like this :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;	  TITLE    &amp;amp;SADR-ANRED&amp;amp;
 	  NAME     &amp;amp;SADR-NAME1&amp;amp;, &amp;amp;SADR-NAME2&amp;amp;, &amp;amp;SADR-NAME3&amp;amp;, &amp;amp;SADR-NAME4&amp;amp;
 	  STREET   &amp;amp;SADR-STRAS&amp;amp;
if not SADR-PFACH is initial.  "&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;check if we have value..
 	  POBOX    &amp;amp;SADR-PFACH&amp;amp; CODE &amp;amp;SADR-PSTL2&amp;amp;
endif.
 	  POBOX                 CODE                CITY &amp;amp;XXXX-PFORT&amp;amp;
if not SADR-PSTLZ is initial.
 	  POSTCODE &amp;amp;SADR-PSTLZ&amp;amp;
endif.
 	  CITY     &amp;amp;SADR-ORT01&amp;amp;, &amp;amp;SADR-ORT02&amp;amp;
 	  REGION   &amp;amp;SADR-REGIO&amp;amp;
 	  COUNTRY  &amp;amp;SADR-LAND1&amp;amp;
 	  FROMCOUNTRY &amp;amp;XXXX-SLAND&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 14:33:33 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2009-04-30T14:33:33Z</dc:date>
    <item>
      <title>printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518339#M1261422</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;&lt;/P&gt;&lt;P&gt;I want to display the vendor address in the script.I am using the FM ADDRESS_INTO_PRINTFORM.&lt;/P&gt;&lt;P&gt;CUstomer needs it as in XK03 Preview poup address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i am using this FM the data is coming  importing aparameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;address_printform_table = address_printform_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looping the data like this and populating ADRS structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT  address_printform_table INTO  wa_address_printform_table.&lt;/P&gt;&lt;P&gt;      IF wa_address_printform_table-line_type = '1'.&lt;/P&gt;&lt;P&gt;        adrs-line1 = wa_address_printform_table-address_line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF wa_address_printform_table-line_type = '5'.&lt;/P&gt;&lt;P&gt;        adrs-line2 = wa_address_printform_table-address_line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF wa_address_printform_table-line_type = '7'.&lt;/P&gt;&lt;P&gt;        adrs-line3 = wa_address_printform_table-address_line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF wa_address_printform_table-line_type = 'S'.&lt;/P&gt;&lt;P&gt;        adrs-line4 = wa_address_printform_table-address_line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF wa_address_printform_table-line_type = '0'.&lt;/P&gt;&lt;P&gt;        adrs-line5 = wa_address_printform_table-address_line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF wa_address_printform_table-line_type = 'R'.&lt;/P&gt;&lt;P&gt;        adrs-line6 = wa_address_printform_table-address_line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      IF wa_address_printform_table-line_type = 'C'.&lt;/P&gt;&lt;P&gt;        adrs-line7 = wa_address_printform_table-address_line.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF one value is empty then it is showing empty in the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DavidDonaldson&lt;/P&gt;&lt;P&gt;ACCOUNTS&lt;/P&gt;&lt;P&gt;57 xxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i delete this space-How can i solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can aynbody please give me solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 11:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518339#M1261422</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-04-30T11:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518340#M1261423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the address number or Person Number for the vendor from LFA1 or LFB1 and use &lt;/P&gt;&lt;P&gt;ADDRESS Command with in the script with the address number fetched .It will display the same in the script output.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 11:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518340#M1261423</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2009-04-30T11:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518341#M1261424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sirish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please give me code how to write it.I have address number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 12:01:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518341#M1261424</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-04-30T12:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518342#M1261425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello sishu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing coding like this &lt;/P&gt;&lt;P&gt;/: ADDRESS TYPE VENDOR PARAGRAPH AD&lt;/P&gt;&lt;P&gt;/:ADDRESSNUMBER &amp;amp;REGUH-ADRNR&amp;amp;&lt;/P&gt;&lt;P&gt;/:FROMCOUNTRY &amp;amp;LFA1-LAND1&amp;amp;&lt;/P&gt;&lt;P&gt;/:LANGUAGE &amp;amp;SYST-LANGU&amp;amp;&lt;/P&gt;&lt;P&gt;/:ENDADDRESS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while i am checking the script it is throwing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know is this correct and where i am doing maisatek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 13:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518342#M1261425</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-04-30T13:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518343#M1261426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;	ADDRESS
 	  TITLE    &amp;amp;SADR-ANRED&amp;amp;
 	  NAME     &amp;amp;SADR-NAME1&amp;amp;, &amp;amp;SADR-NAME2&amp;amp;, &amp;amp;SADR-NAME3&amp;amp;, &amp;amp;SADR-NAME4&amp;amp;
 	  STREET   &amp;amp;SADR-STRAS&amp;amp;
 	  POBOX    &amp;amp;SADR-PFACH&amp;amp; CODE &amp;amp;SADR-PSTL2&amp;amp;
 	  POBOX                 CODE                CITY &amp;amp;XXXX-PFORT&amp;amp;
 	  POSTCODE &amp;amp;SADR-PSTLZ&amp;amp;
 	  CITY     &amp;amp;SADR-ORT01&amp;amp;, &amp;amp;SADR-ORT02&amp;amp;
 	  REGION   &amp;amp;SADR-REGIO&amp;amp;
 	  COUNTRY  &amp;amp;SADR-LAND1&amp;amp;
 	  FROMCOUNTRY &amp;amp;XXXX-SLAND&amp;amp;
 	ENDADDRESS&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518343#M1261426</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-04-30T14:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518344#M1261427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't believe 'VENDOR' is a valid address type. It should be 1,2,3 or ' ' (default).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For paragraph AD set the 'No Blank Lines' flag and it will stop printing the blank line in the address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that some postal regulations want a space before printing the destination country, which is why the address_into_printform sometimes adds a blank line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518344#M1261427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T14:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518345#M1261428</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;&lt;/P&gt;&lt;P&gt;Thank u so muxh for u r reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADDRESS TYPE &amp;amp;1&amp;amp; PARAGRAPH AD&lt;/P&gt;&lt;P&gt;ADDRESSNUMBER &amp;amp;REGUH-ADRNR&amp;amp;&lt;/P&gt;&lt;P&gt;FROMCOUNTRY &amp;amp;t001-land1&amp;amp;&lt;/P&gt;&lt;P&gt;ENDADDRESS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this not displaying the adrees in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the address to be displayed as in XK03 print priview adress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This i am able to get through 'address_print_program' in importing parameter 'ADDRESS_PRINTFORM_TABLE-ADDRESS_LINE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i display same output in print form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can anybody give idea it is so quick forme&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518345#M1261428</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-04-30T14:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518346#M1261429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if at all you are using address .. endaddress tags SAP will automatically pick the country format of address and displays in the same fashion. If you want as per your specifications give all the fields you want to show and remove the tags ( address... endaddress)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518346#M1261429</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-04-30T14:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518347#M1261430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi J@Y,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As u said I have all the fields in the script and removed the adress and end adrees tags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as i have given in my code for first post i am getting the spaces in sructure and these spaces are coming output also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518347#M1261430</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-04-30T14:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518348#M1261431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about trying like this :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;	  TITLE    &amp;amp;SADR-ANRED&amp;amp;
 	  NAME     &amp;amp;SADR-NAME1&amp;amp;, &amp;amp;SADR-NAME2&amp;amp;, &amp;amp;SADR-NAME3&amp;amp;, &amp;amp;SADR-NAME4&amp;amp;
 	  STREET   &amp;amp;SADR-STRAS&amp;amp;
if not SADR-PFACH is initial.  "&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;check if we have value..
 	  POBOX    &amp;amp;SADR-PFACH&amp;amp; CODE &amp;amp;SADR-PSTL2&amp;amp;
endif.
 	  POBOX                 CODE                CITY &amp;amp;XXXX-PFORT&amp;amp;
if not SADR-PSTLZ is initial.
 	  POSTCODE &amp;amp;SADR-PSTLZ&amp;amp;
endif.
 	  CITY     &amp;amp;SADR-ORT01&amp;amp;, &amp;amp;SADR-ORT02&amp;amp;
 	  REGION   &amp;amp;SADR-REGIO&amp;amp;
 	  COUNTRY  &amp;amp;SADR-LAND1&amp;amp;
 	  FROMCOUNTRY &amp;amp;XXXX-SLAND&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518348#M1261431</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-04-30T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518349#M1261432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't put the 1 in &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ADDRESS TYPE 1 PARAGRAPH AD
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518349#M1261432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: printing address in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518350#M1261433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MIchael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small question the address coming in bold letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i chnage the font style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In printout is it come properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks u so much for u r help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 15:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-address-in-sapscript/m-p/5518350#M1261433</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-05-04T15:33:47Z</dc:date>
    </item>
  </channel>
</rss>

