<?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: a question about write in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285308#M1022282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM CONVERSION_EXIT_ALPHA_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass it the variable which is without zeros..&lt;/P&gt;&lt;P&gt;It will return you the output with zeros infront of it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2008 07:49:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-12T07:49:01Z</dc:date>
    <item>
      <title>a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285304#M1022278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts&lt;/P&gt;&lt;P&gt;when I use write to output a varient, the vaule of varient is '0000123456', but why the resule turns to 123456....   0 got missed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285304#M1022278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T07:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285305#M1022279</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;wat is the data type of work field that you are trying to write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285305#M1022279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T07:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285306#M1022280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Lavanya&lt;/P&gt;&lt;P&gt;the data type is char10....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285306#M1022280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T07:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285307#M1022281</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;Is your variable of Integer type.. if so integer does not display leading zero. Assign the value to  character so that it will display the zeros too..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general there will be some conversion exits already created  by SAP due to which the leading zeros may be deleted during output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try checking that in debug what exactly the variable is holding.. I think in debugging it will hold the zeros too but during displaying it does not display zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Narin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285307#M1022281</guid>
      <dc:creator>narin_nandivada3</dc:creator>
      <dc:date>2008-08-12T07:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285308#M1022282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM CONVERSION_EXIT_ALPHA_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass it the variable which is without zeros..&lt;/P&gt;&lt;P&gt;It will return you the output with zeros infront of it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285308#M1022282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T07:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285309#M1022283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If its numeric or Integer then output will be right justified and may zeros are skipped due to length constraints.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285309#M1022283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T07:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285310#M1022284</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;PRE&gt;&lt;CODE&gt;
data: str type string.
str = value.
write str.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285310#M1022284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T07:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285311#M1022285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Lavanya&lt;/P&gt;&lt;P&gt;actually, the data type refer to a data element, the data element is char10.&lt;/P&gt;&lt;P&gt;and my varient is just ok with leading 0, but when I write it out, the 0 got lost.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285311#M1022285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T07:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285312#M1022286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;First of all to get the Zeros back in your variable that you are using to display should be of 10 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, for displaying the values with Zeros,you should use the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UNPACK &amp;lt;variable&amp;gt; to &amp;lt;Variable&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg:&lt;/P&gt;&lt;P&gt;v_number type char10 value '123456'.&lt;/P&gt;&lt;P&gt;UNPACK  v_number to v_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write:/v_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the output will be '0000123456'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this v_number is of char10 it will put Zeros before that number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rashmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285312#M1022286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T07:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: a question about write</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285313#M1022287</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;At data element check whether are there any conversion exits or not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Narin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 07:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-write/m-p/4285313#M1022287</guid>
      <dc:creator>narin_nandivada3</dc:creator>
      <dc:date>2008-08-12T07:53:42Z</dc:date>
    </item>
  </channel>
</rss>

