Leading zeros are not displaying in the excel

Hi Experts,
Leading zeros are not displaying in the excel
Here is the situation:
I have developed one report, which will create the file in Application server with TAB deleimeted. After that I am sending that file via email in the excel format using Email functionality FM.
Normally our material numbers will start with zeros.
But when I check the email excel file , leading zeros are not displaying.
Even I checked the application server (AL11) file, zeros are there.
I thought program FM was wrong and I tried it manually by downloading the file into excel. Eventhough it is suppressing zeros.
Could you please advise, how to display leading zeros to the material number in excel file.
Thanks in advance
Raghu

Application server file showing  zeros infront of the material number.
1200#  0012401387# XXXXXXXX
Once file created in app server, I am using one custom FM to send that output in excel format / txt format via email.
when I send txt file via email, I am getting leading zeros. But when I send xls file via email, I am not getting zeros.
I checked custom FUNCTION MODULE . No mistakes in that.
===
Sudhir,
As you said, I passed ( ' ) single quote infront of the material number. When I check the excel file, single quote also displaying like this '0000100.
Application server file showing like below
1200#  '0012401387# XXXXXXXX
===
Could you please advise anyone how can we acheive this.
Thanks

Similar Messages

  • Leading zeros are not carried from the pivot table to exported Excel (9927815)

    Hello All -
    I am just wondering if there is a fix available for -- Leading zeros are not carried from the pivot table to exported Excel (9927815)
    can anybody suggest when it will be fixed and if there is any-workaround for this issue if there is no fix available.
    Thanks
    Ram

    Thanks Timo -
    Studio Edition Version 11.1.1.2.0
    About
    Oracle JDeveloper 11g Release 1 11.1.1.2.0
    Studio Edition Version 11.1.1.2.0
    Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    Copyright © 1997, 2009 Oracle and/or its affiliates. All rights reserved.
    IDE Version: 11.1.1.2.36.55.36
    Product ID: oracle.jdeveloper
    Product Version: 11.1.1.2.36.55.36
    I will check on support.oracle.com

  • Chinese characters are not displayed in the Firefox bookmarks

    Chinese characters are not displayed in the Firefox bookmarks. The name looks like e.g. "??????? ???? cn.nytimes.com"
    Chinese character of the site name is displayed ok in the head of the browser window and there is no problem reading chinese web content. I use Firefox Portable 11 /English from portableapps.com in Windows XP.
    I googled and got some tips:
    1) Set your browser to recognise Chinese language internet sites.
    Windows users: Under "Tools - Options" on your browser's menu-bar add Chinese to the languages list.
    - I did this.
    2) Set your browser's "Character Set" or "Encoding" to UTF-8 (sometimes also called Universal Alphabet or Unicode).
    Encoding settings can be changed under the "View" option in your browser's menu-bar.
    - It was already set to UTF-8.
    3) Windows users: If Chinese text still does not display correctly, East Asian language support may need to be enabled.
    - This has been done when I installed Windows.
    I still don't get any Chinese fonts in the bookmark names. I can edit the bookmark name with chinese characters and then save the bookmark, it works fine. But why does not Firefox recognize the characters when saving bookmarks? Help is appreciated.

    No I didn't change anything deep beneath the hood. My problem didn't apply to the URL, but to the name of the link or bookmark header or whatever you would like to call it. (When hitting Ctrl + D there is a Name field). I only got ???????? instead of chinese characters in the name. Also for e.g. www.cntv.cn ...but maybe all China is not in the whitelist either. ;-) But anyway, this was not the real problem for me.
    Apparently I was wrong as after a reboot of the computer it worked. The solution seemed to be to add Chinese to the language list. I don't know why it was not enough to restart Firefox?
    Now I only have problems to show chinese characters in the name field of my external link manager... But I guess it is not an issue for Mozilla.

  • HT201401 My previously made calls are not displaying in the recent call section?  How can I restore  them+

    My previous calls are not displaying in the recent call section.  How can I fix this?

    There are some recovery programs out there if you google them - many with free trials. I haven't tried them so I have no opinion.Read any professional tech and user reviews you can find before you try one. I have read here in the past that some have worked for people who have posted here. 
    To help in the future, have you considered using Jump Desktop - Remote Desktop? I know it won't solve the problem you're dealing with now (unless notes were taken on your computer.) It's in the app store. It's the #1 paid app in the business category and the reviews are great. It allows you to see anything that's on your computer on your ipad. If you take your notes on your ipad then you might want to email them to yourself, put them on Word in your computer, for example, and then if you need them in class, you remotely connect your ipad to your computer and you will see your notes. This way you won't have to rely so much on the cloud. The explanation would be too long here, but you might want to take a look at it. You can use the free trial on jumpdesk.com and then if it works for you, buy it in the app store. 
    Meanwhile, it's hours since you sent this post. Hopefully others who can help solve your problem who are on this forum now can help you. I hope you get your notes back. Don't give up too quickly.
    Hope this helps. 

  • Portal Forms are not displayed in the new migrated environment.

    Hi All,
    We have a distributed Portal environment. Application server and Portal Repository running on one system(System1) and one more portal repository and portal components existing in anothor system(System2). Through DAD we connect to System2 and access the componets. Recently we have done a migration.The Database along the Portal Repository in system2 was migrated to a new server. For this we have edited the DAD and made the necessary changes. But after the migration, the Forms residing in migrated portal repository(System2) are not getting dispayed.The rest of the things(Reports, Pages, Links,LOVs etc..) are working fine. The forms are not getting displayed in the pages where it's added. When forms are run from RUN link in Develop Tab it's showing ERROR but not the cause of the error. Will anyone tell what changes I have to do to make the Forms work?
    Thanks in Advance,
    Tom

    Hi DIAdemUser1,
    This feature was indeed removed.  R&D felt like it caused more confusion than benefit, and I agree.  I do apologize to you and others who liked the feature that has now disappeared.  When DIAdem 9.0 released the custom properties in the Data Portal showed their data types, but that feature was also removed in favor of simplicity.  I often miss that feature, but it's for the greater good.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Groups are not displaying in the user's member of tab

    Hi ,
    We have a issue,
    After mapping any AD  group in CMC,the groups and users are displaying  in the cmc list. but when we go to the properties of the user and member of option ,the groups are not displaying .
    After restarting the CMS every thing works fine.
    Every time after adding a new user we should restart the CMS, it is very difficult for  us as number of users are working on this .
    We are using number of AD groups.
    Is there any resolution for this with out restarting the  CMS.
    Thank you  in advance.
    Environment -
    BO XI3.1,
    LDAP authentication.
    Thanks & Regards,
    Collin.

    The LDAP graph is responsible for showing the membership when viewing the user properties, an issue like this would indicate the graph is not auto updating. It normally builds when starting the CMS then every 15 minutes or so for new users (depending on system activity). It shouldn't lose any info (if it does this indicates a caching or communication problem with AD). There is a graphtimeout setting in the registry (search SAP notes) if this were disabled then it may cause similar symptoms.
    I'm not aware of any bugs in 3.1 causing this behavior so you may need to open a case with support (authentication team) to help troubleshoot.
    Regards,
    Tim

  • Synced bookmarks can be searched for and found but many are not displayed on the complete scrollable bookmarks list.

    How odd. I've a somewhat complex bookmarks menu hierarchy, perhaps two dozen folders each containing between five and fifty bookmarks as well as a sub-folder or two. All of this is synced and displayed correctly with the bookmarks tab in the app, except for some of the more recent bookmarks that not organized into folders, and are floating inside the bookmarks menu. Of thirty or so, only five appear. Yet, when I search for them within the app they are found, including several bookmarks made today. These are bookmarks contained in the bookmarks menu but not in any particular folders. Clearly they are synced, yet the entire contents of the bookmarks menu are not displayed correctly in the app. Syncing otherwise seems swift. I've less than 600 bookmarks in total. I seek not to search for specific bookmarks but to browse my entire collection, so you can sense my frustration. I'd call this a bug. Any thoughts? Thanks!

    No I didn't change anything deep beneath the hood. My problem didn't apply to the URL, but to the name of the link or bookmark header or whatever you would like to call it. (When hitting Ctrl + D there is a Name field). I only got ???????? instead of chinese characters in the name. Also for e.g. www.cntv.cn ...but maybe all China is not in the whitelist either. ;-) But anyway, this was not the real problem for me.
    Apparently I was wrong as after a reboot of the computer it worked. The solution seemed to be to add Chinese to the language list. I don't know why it was not enough to restart Firefox?
    Now I only have problems to show chinese characters in the name field of my external link manager... But I guess it is not an issue for Mozilla.

  • Buttons are not displayed for the first time when drawImage method is used

    Hi
    In my swing window 2 buttons are there and when clicking these buttons, it should display an image . The two buttons are displayed at the first time and I can click on it . While clicking a button , the corresponding image is also got displayed. [ I am using drawImage() function for it] But what the problem is, then the two buttons are not displayed and it will be displayed again when the mouse moves along the position of these two buttons. And this problem occurs only at the first time..When they are on the window on a second time, they won't vanish when the image is displayed when clicking it. Is this the problem with paint() method?. I am using start() method also.
    Please help me!
    Thank You

    Hi
    This is not my exact program, that has a large no: of code. So I am putting here a sample one. One thing I would like to point out is that , I can see the buttons at the time of loading the applet and suddenly it vanishes and the image is drawn. Then if I move the mouse along the position of these buttons , they got displayed.
    import java.awt.*;
    import javax.swing.*;
    /*<applet code = MyClass width = 500 height = 500>
    </applet>
    public class MyClass extends JApplet
    Image img;
    JButton b1,b2;
    Container cp;
    Canvas1 cv;
    class Canvas1 extends JPanel
    public void paint(Graphics g)
    super.paint(g);
    g.setColor(Color.black);
    g.fillRect(0,0,500,500);
    img = getImage(getCodeBase(),"image1.jpeg");
    g.drawImage(img,20,20,this);
    public void start()
    cv = new Canvas1();
    cv.setBounds(0,0,500,500);
    cp.add(cv);
    public void init()
    setLayout(null);
    cp = getContentPane();
    b1 = new JButton("Button1");
    b1.setBounds(1,1,100,30);
    cp.add(b1);
    b2 = new JButton("Button2");
    b2.setBounds(200,1,100,30);
    cp.add(b2);
    It would be very helpful to me if you could fix the problem.
    Thank You.

  • Infopath forms are not displaying in the list

    Hi,
       I have created an info path form template after customizing a list form using infopath designer. But it is behaving weird. After submitting the form it is not displaying in the lists allitems view rather it is displaying from designer but directly
    under the list not in the items folder.
    1) Any idea why this is happening?
    2) What is the use of NaN.xml? why it gets created in the list?

    Yes, it sounds very simply, but there is a very tiny little broken piece causing lots troubles.
     It’s tiny piece, so the solution is going to be very simple. On the other hand, it’s hard to find out because it is very tiny broken piece.
    I have feeling that you made a mistake while saving/publishing or filename in submit option (I don’t think List InfoPath form let you set up different submit option).
    Sometimes, it is much faster and easier to re-do it again. I recommend you to following the article below. You can skip most but please pay attention on the start (beginning of Part 2 – Customizing)) and on the end (Part 4 - Publishing)
    http://msdn.microsoft.com/en-us/library/office/gg180738(v=office.14).aspx
    Once you follow the best practice written in the article and make it work, then you may realize the difference and mistake.
    백상하 - Stop hacking my blog http://blog.naver.com/agilepoint
    쉐어포인트 배움터 http://sharepointkorea.com

  • Downloading data from internal table to xls file leading zeros are not disp

    Hai abap gurus,
    when i am downloading data from internal table to excle file. some field values in a column are with leading zeros and some others dont have leading zeros.but in the output it is showing without leading zeros. then how to get with exact values.
    Ex:
    <b>ECC Code.</b>
    045234
      88567
    098456 
    but output is giving like this:
    45234
    88567
    98456
    how to get the actual values.....
    plz help me in this matter.

    Dear Kiran,
    Those field in the internal table having Leading Zeroes, make those fields' datatype as character.
    Then use the function module to download the content of the internal table to the excel file.
    Regards,
    Abir
    Don't forget to Reward Points  *

  • Spanish accent characters are not displayed proper in excel file

    Hi
    I have written a program which displays one report file (.xls file ) on the browser.
    This report file is in spanish language and contains few accent characters like
    ("� � � � � � �"). These characters are not displyed properly in that excel file which is opened in the browser. I have used utf-8 encoding method. I tried with some other encoding methods available. But still this problem continues.
    Kindly provide me help as soon as possible.
    Thanks and
    Regards,
    Deval

    File is generated through a java bean at runtime and it is not stored pgysically.
    If I copy these characters from somewhere to new xls file then it will be displayed properly.
    Sample code which is used for setting headers is as below:
         protected void setContentType (
              HttpServletResponse     p_response
         ,     InstanceData          p_instancedata
              p_response.setHeader ("Cache-Control", "no-cache");
              p_response.setHeader ("Cache-Control", "max-age=0");
              p_response.setHeader (
                   "Content-Disposition", "inline; filename="
              +      p_instancedata.userId
              +      "_"
              +      System.currentTimeMillis ()
              +     ".csv"
              System.out.println("Content generator = ");
              p_response.setHeader("charset","utf-8");
              p_response.setContentType (EXCEL_CONTENT_TYPE);
    For generating this xls file, format of data is XML. Means both request and response data will be in XML format.
    Hope this information help in suggesting any solution for this problem.
    Regards,
    Deval

  • All fields are not displaying in the infotype screen control

    Hello Everybody,
    All the fields from infotype 2001 and 2002 are not getting displayed in the screen control for these infotypes and
    when I checked the screens for these infotypes, the mod. groups/functions has not been set for field 'Group3' for those
    infotype fields.
    Is there a way I could set this field ' Group3' for these infotype fields also ? Can it be done thru screen exit and if yes could
    anyone tell me what's the screen exit for these infotypes ?
    Thanks
    Alok

    solved it myself.

  • NB Type Planned orders are not Displayed in the Order Information System

    Dear All
    We have one material with Proc. type F.
    We have entered a sales order for that item & run MRP ( MRP type PE)
    No strategy is assigned to the material.
    MRP has created a Plan Order which is of NB type & in MD04 it is showing SDEB against Plan Order.
    Now we are not able to see this Plan Order in COOIS.
    Although it is visible in MD04,MD16.
    Can anyone tell me whether COOIS consider only those plan orders which are of E ( In house Prod ) category ?
    How can we display that in COOIS ?
    Abhishek Garg

    Dear,
    COOIS is used for production orders or planned orders olny and it will show u Order information relevent to "E" type procurement.
    You can use ME5A

  • Images are not displaying in the forms run time.

    Hello All,
    I am using forms 10.1.2.3.0 and database 11g in the windows XP platform.
    I am not able to see the images in the buttons at the run time. I have done the following setup for the same but still I am not able to display images in the buttons. I have gone through all the previous threads for the same. Can any body suggest where I am doing the wrong?
    1) Created one JAR file with the below command putting all the gif files in a folder (All the GIF files are in lower case). Kept this jar file in the forms/java folder. (When I am extracting the JAR file getting all the gif files and one more folder META-INF).
    rem====
    jar cvf icon.jar *.gif
    rem=====
    2) Modified the formsweb.cfg file as follows.
    imageBase=codeBase
    archive_jini=frmall_jinit.jar,icon.jar
    3) In the buttons property Iconic = Yes and Iconicfile name = icon_print (gif file name).
    4) Modified the Registry.dat file in the path "forms\java\oracle\forms\registry\Registry.dat" as follows.
    default.icons.iconpath=forms/java
    default.icons.iconextension=gif
    Start the OC4J instance, and run the application, but still not able to see the images in the buttons. After I modified the regedit file I am able to see the images in the design time but not in the run time.
    Any thing more needed to do the same. All the suggestions are welcome.
    Thanks,
    SUN
    Edited by: User SUN@ on Nov 23, 2009 11:25 AM

    Create a virtual directory icons in your /forms/server/forms.conf file
    In the registry.dat file change
    change
    default.icons.iconpath=http://yourmachine:port/forms/icons/
    Re: icons not displaying in oracle forms.
    Re: Icon deploy issue in 10g forms
    Re: cannot show icon images
    Re: Step by step creation of iconic buttons

  • How to retain the leading zeroes in a number in the excel output.

    Hi All,
    I have a requirement to display the numbers as text in the excel output. Ex: 001 should be displayed as 001 and not 1, as it happens in excel.
    I know displaying 001 as '001' works, but this is not acceptable.
    Also, I need to send a huge file (>20MB) through bursting as an Email, but the mail is not received even the bursting program finishes in success. I tried the zipping option as well but in vain. I know this can be done via FTP but I need to send it through email.
    Thanks,
    Rahul

    Maverick,
    See the admin these:
    Administration and Developer's Guide
    Report Designer's Guide
    Here:
    http://www.oracle.com/technetwork/middleware/bi-publisher/documentation/xmlpdocs-084437.html
    This will give details on how to split the output into multiple files during bursting. If my memory serves me correctly, it is in the admin guide.
    Kurz
    Edited by: Kurzweil4 on Dec 6, 2010 9:11 AM
    Edited by: Kurzweil4 on Dec 6, 2010 9:11 AM

Maybe you are looking for

  • Need a new hard drive for my White Macbook (2008)

    my hard drive crashed and now it runs on the start up disk, i use to have 120 gb available now its down to 3 GB... and i get hard drive errors sometimes, and my macbook takes ages to load up (15 minutes), so i never restart it anymore, I need a link

  • How do I add a print button that would print out pdf or different version than what is on the site?

    I see this example on NY Times.  If you pick any of their articles and click print or do the short cut (Command-P) ... (Control-P for windows), the layout of their article is completely customized and cleaner.  It seems like they've edited the print

  • Need help in re-writing a query

    SELECT DDQ.DS_PRS_ID,TO_CHAR(DDQ.DEACTIVATE_DT,'DD-MON-YYYY HH24:MI'), TO_CHAR(SYSDATE+NVL(L.GMT_OFFSET,0)/24,'DD-MON-YYYY HH24:MI'), PCWI.PRS_ID,mcr_pkg_hra_person_name.get_tc_full_name(PCWI.prs_last_nm, PCWI.prs_first_nm,PCWI.prs_middle_init,PCWI.p

  • Wrong production order connected to a sales order - how to change?

    Hello all! We are using ERP ECC6 - I now I'm in SCM but this has to do with PP and there was no other forum. I have following problem: After the MRP a production order was created for a sales order. Because of the production in another plant the prod

  • Compilation failed error

    Hi I am compiling a BPEL Process while compilation it is giving the following error, BPEL_XYZ.bpel", XML parsing failed because "". [Potential fix]: n/a. Can any body explain why these particular error occurs and solution for this Asap. Thanks in ada