<?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: How transfer a string which has trailing zero's in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320385#M509352</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 guess trailing zero's were also transfered to your file(app server)may be some part of the record only visible to you. &lt;/P&gt;&lt;P&gt;so download the file into presentation server using CG3Y transaction in asci mode and check file whether file contains the leading zero's or not....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if needful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 18:39:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-23T18:39:26Z</dc:date>
    <item>
      <title>How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320377#M509344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have string which has trailing zeros. These string values should be stored in application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is! when i save the file in the application server i am unable to these trailing zeros after saving the file in the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can i handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:19:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320377#M509344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T13:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320378#M509345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post the code how your transferring the file to application server??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320378#M509345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T13:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320379#M509346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While transferring the String to Application Server ensure that your data is in the Character Format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie suppose you are Transferring an internal table which has Numc Fields which has leading Zeroes,now u need to Convert the Intrnal table fields to Char with similar length and decimal places ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transfer this Internal table to File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this wil Solve your Problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award Points if Useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds,&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:26:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320379#M509346</guid>
      <dc:creator>mithun_shetty4</dc:creator>
      <dc:date>2007-05-23T13:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320380#M509347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are this numbers after decimal point? Probably because of internal type definition. Same can happen to leading zeros. Are they part of some kind of order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;  ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320380#M509347</guid>
      <dc:creator>oliver</dc:creator>
      <dc:date>2007-05-23T13:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320381#M509348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandrasekhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is is the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
   OPEN DATASET file FOR OUTPUT IN TEXT MODE
    ENCODING NON-UNICODE IGNORING CONVERSION ERRORS.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the above is my transfer mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      TRANSFER trans_file TO file LENGTH len.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320381#M509348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320382#M509349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mithiun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by String must be in character format. Doest mean like below code must be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data i(200) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tranfer i to file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is your question then i can't put trailing zeros. Do you have any idea how to put trailing zeros in this case.&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;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320382#M509349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T13:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320383#M509350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello oliver,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These numbers are not after decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 13:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320383#M509350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T13:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320384#M509351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Lisa, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sur eif this is exactly what you need, but i was able to write trailing 0's with this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: s1(50) type c,&lt;/P&gt;&lt;P&gt;      s2 type c value ' ',&lt;/P&gt;&lt;P&gt;      z1 type c value '0',&lt;/P&gt;&lt;P&gt;      l1 type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: f1(50) value 'test_file'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: s1.&lt;/P&gt;&lt;P&gt;move: '123456789' to s1.&lt;/P&gt;&lt;P&gt; l1 = strlen( s1 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 50 times.   "(or replace with a value of  s1 max len (50) - l1 )&lt;/P&gt;&lt;P&gt;  replace ' ' in section offset l1 length 1 of s1  with '0'.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset f1 for output in text mode encoding  non-unicode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transfer s1 to f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;close dataset f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;not quite an elegant piece of code but hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;fredy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 16:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320384#M509351</guid>
      <dc:creator>uongf</dc:creator>
      <dc:date>2007-05-23T16:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320385#M509352</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 guess trailing zero's were also transfered to your file(app server)may be some part of the record only visible to you. &lt;/P&gt;&lt;P&gt;so download the file into presentation server using CG3Y transaction in asci mode and check file whether file contains the leading zero's or not....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if needful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 18:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320385#M509352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T18:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: How transfer a string which has trailing zero's</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320386#M509353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the data structure of "trans_file"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 20:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-transfer-a-string-which-has-trailing-zero-s/m-p/2320386#M509353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T20:08:30Z</dc:date>
    </item>
  </channel>
</rss>

