<?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: White Space Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966248#M1603339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pranu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially from SAP, to where the file is getting extracted ?.If I am not wrong it will be to application server and from there PI picks the file, encrypts it and then transfers the file.If this is the case,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.for testing download the file as .txt to desktop and do a CTRL+A on the file contents.To see selection is getting done for all the 80 charcters.If yes then no problem while downloading to desktop ie it is getting all the 80 charcaters inlcuding 5 spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Check the file that is getting downloaded to application server and do a CTRL+A on the file contents of the file on the application server as explained above.If the file is getting downloaded to desktop fine but 5 spaces are getting truncated only when downloaded to application server then  use the following subroutine before opening the dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; PERFORM set_trail_blanks(saplgrap) USING 'X'.
 PERFORM set_fixlen(saplgrap) USING c_zero '210'  "210 is the no of characters if it is 80 in your requirement,test it by giving 80&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;3.As far as my knowledge is concerned PGP encryption/decryption will neither truncate any spaces nor does any modifications to the file but just encrypts or decrypts.I may be wrong on this point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.If the file is getting downloaded fine both at the desktop and also on the application server,then needs to be checked on PI end.I am not aware how PI processes the file transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2011 06:37:05 GMT</pubDate>
    <dc:creator>kiran_k8</dc:creator>
    <dc:date>2011-06-03T06:37:05Z</dc:date>
    <item>
      <title>White Space Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966246#M1603337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am generating a file in ECC. Record length is 80 Char.&lt;/P&gt;&lt;P&gt;Data is 75 Char and 5 are white spaces. All is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file is picked by PI , PGP encrypted , sent to the bank and original file is archieved.&lt;/P&gt;&lt;P&gt;The Archieved file is good as well with all 5 white spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the file received at the bank does not have the 5 white spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could not figure out where the problem is. Any clues would be appretiated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Pranu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 23:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966246#M1603337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-02T23:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: White Space Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966247#M1603338</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;it seems that PGP strips end of line white spaces. Are you able to switch to binary mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 04:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966247#M1603338</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2011-06-03T04:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: White Space Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966248#M1603339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pranu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially from SAP, to where the file is getting extracted ?.If I am not wrong it will be to application server and from there PI picks the file, encrypts it and then transfers the file.If this is the case,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.for testing download the file as .txt to desktop and do a CTRL+A on the file contents.To see selection is getting done for all the 80 charcters.If yes then no problem while downloading to desktop ie it is getting all the 80 charcaters inlcuding 5 spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Check the file that is getting downloaded to application server and do a CTRL+A on the file contents of the file on the application server as explained above.If the file is getting downloaded to desktop fine but 5 spaces are getting truncated only when downloaded to application server then  use the following subroutine before opening the dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; PERFORM set_trail_blanks(saplgrap) USING 'X'.
 PERFORM set_fixlen(saplgrap) USING c_zero '210'  "210 is the no of characters if it is 80 in your requirement,test it by giving 80&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;3.As far as my knowledge is concerned PGP encryption/decryption will neither truncate any spaces nor does any modifications to the file but just encrypts or decrypts.I may be wrong on this point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.If the file is getting downloaded fine both at the desktop and also on the application server,then needs to be checked on PI end.I am not aware how PI processes the file transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 06:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966248#M1603339</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2011-06-03T06:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: White Space Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966249#M1603340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kiran - &lt;/P&gt;&lt;P&gt;Step 1 and Step 2 are checked.&lt;/P&gt;&lt;P&gt;I can see the white spaces in the original file and also in the archieved file (file is archieved after PI dispatches it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin - We are using a third party encryption tool called Advanco. I am not sure if it is creating a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our PI setup is just to pick the file , encrypt and send it. There is no processing at PI side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 15:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966249#M1603340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-03T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: White Space Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966250#M1603341</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 would ask them if they've already noticed this behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 23:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/white-space-issue/m-p/7966250#M1603341</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2011-06-03T23:28:08Z</dc:date>
    </item>
  </channel>
</rss>

