<?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 issue regarding the zip code for US in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-regarding-the-zip-code-for-us/m-p/9909578#M1793794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem while generating the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For nine digit zip code, insert a hyphen after the fifth digit. i.e.; 631464714 it should be like 63146-4714.&lt;/P&gt;&lt;P&gt;and this zip code should be valid if the country is US.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys please help me, how to code this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dheeraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2013 06:27:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-12-17T06:27:06Z</dc:date>
    <item>
      <title>issue regarding the zip code for US</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-regarding-the-zip-code-for-us/m-p/9909578#M1793794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem while generating the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For nine digit zip code, insert a hyphen after the fifth digit. i.e.; 631464714 it should be like 63146-4714.&lt;/P&gt;&lt;P&gt;and this zip code should be valid if the country is US.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys please help me, how to code this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dheeraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 06:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-regarding-the-zip-code-for-us/m-p/9909578#M1793794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-17T06:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: issue regarding the zip code for US</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-regarding-the-zip-code-for-us/m-p/9909579#M1793795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : v_zip_us(10). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if wa_tab-country = 'US'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; concatenate wa_zipcode+0(5) '-' wa_zipcode+5(4) into v_zip_us. &lt;/P&gt;&lt;P&gt;else. &lt;/P&gt;&lt;P&gt;&amp;nbsp; v_zip_us = wa_zipcode.&lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;wa_tab-zipcode = v_zip_us. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 06:39:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-regarding-the-zip-code-for-us/m-p/9909579#M1793795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-17T06:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: issue regarding the zip code for US</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-regarding-the-zip-code-for-us/m-p/9909580#M1793796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dheeraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use STRLEN method &amp;amp; CONCATENATE to achive this.&lt;/P&gt;&lt;P&gt;For example say postal code is in l_postalcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then l_length = STRLEN (l_postalcode).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF l_length&amp;gt;5.&lt;/P&gt;&lt;P&gt;l_length = l_length-5.&lt;/P&gt;&lt;P&gt;CONCATENATE l_postalcode+0(5) '-' l_postalcode+5(l_length) INTO l_postal_final.&lt;/P&gt;&lt;P&gt;CONDENSE l_postal_final NO-GAPS.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 06:49:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-regarding-the-zip-code-for-us/m-p/9909580#M1793796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-17T06:49:30Z</dc:date>
    </item>
  </channel>
</rss>

