<?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 printing in SAP Scripts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475735#M223093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends how you want it formatted.  The address, currency, and dates are usually formatted for the destination country.  All of these settings are in txn OY01.&lt;/P&gt;&lt;P&gt;If you want it to look like US formatting, it would be 004.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2006 14:53:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-22T14:53:45Z</dc:date>
    <item>
      <title>Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475728#M223086</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;I am using SAP Scripts to print the purchase orders. I have problem in printing the address for Puerto Rico. All other addresses print well except for PR. In this case, it prints the postal code prior to the city. Is it because it is a province. We are using the Standard print program which uses the NAST table. Please advice.&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;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 13:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475728#M223086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T13:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475729#M223087</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;See the Address Maintenance as done in database, because address is printed as per the preview avialabel in the SAP database. If you wanna modify change it there it will be reflected in SAPSCript don't have to write any extra code for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope This Helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 13:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475729#M223087</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-08-22T13:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475730#M223088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change alignment to display format for City and PO Code display&lt;/P&gt;&lt;P&gt;chk this one..&lt;/P&gt;&lt;P&gt;/:ADDRESS PARAGRAPH AS&lt;/P&gt;&lt;P&gt;/: TITLE &amp;amp;VBLKK-ANRED&amp;amp;&lt;/P&gt;&lt;P&gt;/: NAME &amp;amp;VBLKK-NAME1&amp;amp;, &amp;amp;VBLKK-NAME2&amp;amp;, &amp;amp;VBLKK-NAME3&amp;amp;, &amp;amp;VBLKK-NAME4&amp;amp;/: Street &amp;#145;115&amp;#146;&lt;/P&gt;&lt;P&gt;/: POBOX &amp;amp;VBLKK-PFACH&amp;amp; CODE &amp;amp;VBLKK-PSTL2&amp;amp; CITY &amp;amp;VBLKK-PFORT&amp;amp;&lt;/P&gt;&lt;P&gt;/: POSTCODE &amp;amp;VBLKK-PSTLZ&amp;amp; &lt;/P&gt;&lt;P&gt;/: CITY &amp;amp;VBLKK-ORT01&amp;amp;, &amp;amp;VBLKK-ORT02&amp;amp;&lt;/P&gt;&lt;P&gt;/: COUNTRY &amp;amp;VBLKK-LAND1&amp;amp;&lt;/P&gt;&lt;P&gt;/: REGION &amp;amp;VBLKK-REGIO&amp;amp;&lt;/P&gt;&lt;P&gt;/: FROMCOUNTRY &amp;amp;TVST-ALAND&amp;amp;&lt;/P&gt;&lt;P&gt;/: End Address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;Revert back for more help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 13:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475730#M223088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T13:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475731#M223089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The address is printing correctly for all other states and cities in proper format. Only in case of Puerto Rico ( province)it is printing the postal code prior to the city. Do you think it should stil;l help for this case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, can you please let me know if I can do this change in the same Script or if I need to copy the script and then modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 13:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475731#M223089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T13:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475732#M223090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can make the change to SAP-Script form in transaction code SE71.&lt;/P&gt;&lt;P&gt;make a copy and make changes in original language for layout design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPscript calls the function module &amp;lt;b&amp;gt;ADDRESS_INTO_PRINTFORM&amp;lt;/b&amp;gt; for formatting the address. If the display is not in the required form, please check the settings valid for this function module (see the documentation on the function module).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM will print the address according to the Standard address format of the sender_country.  So the address format will change depends upon the sender country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ADDRESS_INTO_PRINTFORM'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              address_type        = '1'&lt;/P&gt;&lt;P&gt;              address_number      = adrnr&lt;/P&gt;&lt;P&gt;              sender_country      = sender_country&lt;/P&gt;&lt;P&gt;              number_of_lines     = 10&lt;/P&gt;&lt;P&gt;              street_has_priority = 'X'&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              address_printform   = wa_address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the problem is with only PR i suggest you to use an if condition.&lt;/P&gt;&lt;P&gt;else modify the address format by using the user exit: &lt;/P&gt;&lt;P&gt;"EXIT_SAPLSADR_001"  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guess this helps&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 14:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475732#M223090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475733#M223091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is configuration.  It will apply to all of your layout sets, not just the purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The address layout format is set up for each country.  I think the transaction code is OY01.  It is in the IMG with the label SET COUNTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PR is probably set for 010.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 14:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475733#M223091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T14:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475734#M223092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Norman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest me as to what PR can be set to instead of 010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 14:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475734#M223092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T14:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475735#M223093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends how you want it formatted.  The address, currency, and dates are usually formatted for the destination country.  All of these settings are in txn OY01.&lt;/P&gt;&lt;P&gt;If you want it to look like US formatting, it would be 004.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 14:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475735#M223093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T14:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Address printing in SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475736#M223094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Norman. That solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have awarded points to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 15:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/address-printing-in-sap-scripts/m-p/1475736#M223094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T15:20:08Z</dc:date>
    </item>
  </channel>
</rss>

