<?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: Leading ZERO? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940801#M942769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am exporting it from internal table..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2008 15:18:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-06T15:18:47Z</dc:date>
    <item>
      <title>Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940799#M942767</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 need to export LQUA-WERKS to excel..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when exported I mis leading zeros?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;40 need to be exported in excel 0040 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adibo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940799#M942767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940800#M942768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How r u exporting it?&lt;/P&gt;&lt;P&gt;If you r using some internal table then it will take data in the format present in internal table.&lt;/P&gt;&lt;P&gt;If you r exporting it from ALV, it will take as it is displayed in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in both cases, adjust your internal table data and then export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940800#M942768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940801#M942769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am exporting it from internal table..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940801#M942769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940802#M942770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;adjust that column data in internal table to whatever format you want it to appear in EXCEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940802#M942770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940803#M942771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES:  BEGIN OF ls_lqua,
            werks TYPE lqua-werks,
            matnr TYPE lqua-matnr,
            gesme TYPE lqua-gesme,
            meins TYPE lqua-meins,
            letyp TYPE lqua-letyp,
            lgtyp TYPE lqua-lgtyp,
            lgpla TYPE lqua-lgpla,
        END OF ls_lqua.
DATA: lt_lqua TYPE STANDARD TABLE OF ls_lqua,
      wa_lqua TYPE ls_lqua.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I set breakpoint to see format of lt_lqua-werks, it is shown as 0040..but when exported 40 ?? strange&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940803#M942771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940804#M942772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Always best method would be........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;through se16 download the data into text file then take out the header, open the blank excell sheet then open  your text file in this excell. While opening the this file it will give you differnet options go with delimitor then  in the next screen give the another '|' as the delimitor and with shift select all the columns in the below window go with next option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the next screen select the text radio button and finish.... thats it u will get all the fields with leading zeros if exists in the original list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940804#M942772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940805#M942773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do we have checked options and settings in Excel?&lt;/P&gt;&lt;P&gt;I think there should be some setting in Excel.&lt;/P&gt;&lt;P&gt;It must be giving 0040 when you download it into text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G@urav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940805#M942773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940806#M942774</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 depends on excel, not SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the code of plant is a number, excel manage the field as it was a numeric field, so it's deleting the leading zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before opening the file u should set the colunm for WERKS as TEXT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940806#M942774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940807#M942775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the FM :&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_INPUT&lt;/P&gt;&lt;P&gt;this convert ure values or example a char(4) if u have a valu = 3, this function return = 0003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_ALPHA_OUTPUT&lt;/P&gt;&lt;P&gt;this quit the zeros example if u have a 0000056, only return 56&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 15:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940807#M942775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T15:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940808#M942776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adibo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simplest way to achieve this is like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONCATENATE ''''' LQUA-WERKS INTO lv_werks.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you are concatenating single colon ( ' ) with your plant number and moving it to char type variable.&lt;/P&gt;&lt;P&gt;Now when you use this variable to download into XL, It will show appending Zeros and it will not show your appended single colon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This surely works..&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx,&lt;/P&gt;&lt;P&gt;ags&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:59 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 16:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940808#M942776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T16:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940809#M942777</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;Not one solution has helped..But I solved it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I exported file in TXT. Then when opening with excel chose option to change column WERKS as text!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 11:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940809#M942777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T11:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940810#M942778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adibo, Can you please explain me how you solved this issue. PLease share this with me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 10:26:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940810#M942778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T10:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Leading ZERO?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940811#M942779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @CN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just exported lt_lqua as TXT file, that was enough..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When opening this file in EXCEL you can define werks column as TEXT, so leading zeros won't be deleted..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 09:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leading-zero/m-p/3940811#M942779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T09:42:09Z</dc:date>
    </item>
  </channel>
</rss>

