Truncates the leading zeros even though the member is text type

We have members with data type “TEXT” in planning database. When user enters something with leading zero, it saves the same in relational but not showing the same in planning. It truncates the zero even though it is a text member.
Planning version 11.1.2
Example:
Member name : Issue code (TEXT type)
Entered value : 011_Issue (saves the same in relational)
Display value : 11_Issue (Drops the zero)
is there any workaround?
Thanks

I've opened a SR and here is the reply from MOS.
Apply a fix for Bug 12422049 - DATA TYPE TEXT MEMBER DOES NOT DISPLAY VALUE STARTING WITH ZERO CORRECTLY when its available.
The issue has been identified as a code bug and development team will fix it in future releases.
Thanks
Poorna

Similar Messages

  • Non truncation of Leading Zero

    Hi All,
      I am downloading a .xls file using the function module "GUI_DOWNLOAD".
    But it is truncating the leading zero's in some fileds.
    For example : in the field Account group , value is "0001" but in .xls file it is coming as "1".
    Can anyone please help me on how to avoid this truncation of leading zeros.
    Thanks and Regards,
    Nimisha Deshpande.

    Just execute this porgram and check ur result .
    For this u need to handle the file type as DBF .
    types: begin of t_dat,
             fld1(30) type c,
             fld2(30) type c,
           end of t_dat.
    data: it_dat type table of t_dat,
          wa_dat type t_dat.
    wa_dat-fld1 = '12345678901234567890'.
    wa_dat-fld2 = '00000000000000043210'. "->
    append wa_dat to it_dat.
    wa_dat-fld1 = '12345678901234567890'.
    wa_dat-fld2 = '00000000000000543210'."->ur input
    append wa_dat to it_dat.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
      EXPORTING
        FILENAME                  = 'C:\test.xls'
        FILETYPE                  = 'DBF'
      CHANGING
        DATA_TAB                  = it_dat[]
      EXCEPTIONS
        FILE_WRITE_ERROR          = 1
        NO_BATCH                  = 2
        GUI_REFUSE_FILETRANSFER   = 3
        INVALID_TYPE              = 4
        NO_AUTHORITY              = 5
        UNKNOWN_ERROR             = 6
        HEADER_NOT_ALLOWED        = 7
        SEPARATOR_NOT_ALLOWED     = 8
        FILESIZE_NOT_ALLOWED      = 9
        HEADER_TOO_LONG           = 10
        DP_ERROR_CREATE           = 11
        DP_ERROR_SEND             = 12
        DP_ERROR_WRITE            = 13
        UNKNOWN_DP_ERROR          = 14
        ACCESS_DENIED             = 15
        DP_OUT_OF_MEMORY          = 16
        DISK_FULL                 = 17
        DP_TIMEOUT                = 18
        FILE_NOT_FOUND            = 19
        DATAPROVIDER_EXCEPTION    = 20
        CONTROL_FLUSH_ERROR       = 21
        NOT_SUPPORTED_BY_GUI      = 22
        ERROR_NO_GUI              = 23
        others                    = 24.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY  NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    if sy-subrc eq 0.
    write:/ 'Download completed'.
    endif.
    Hope this works for u .
    Vijay

  • TS2755 cannot text to 50% of my contacts even though i can eceive text from same

    cannot text to 50% of my contacts even though i can eceive text from same

    Quit the App by opening multi-tasking bar, holding down the icon for the App for about 3-5 seconds, and then tap the red circle with the white minus sign.
    Relaunch the App and try again.
    Restart the device. http://support.apple.com/kb/ht1430
    Reset the device. (Same article as above.)
    Restore from backup. http://support.apple.com/kb/ht1766 (If you don't have a backup, make one now, then skip to the next step.)
    Restore as new device. http://support.apple.com/kb/HT4137  For this step, do not re-download ANYTHING, and do not sign into your Apple ID.
    Test the issue after each step.  If the last one does not resolve the issue, it is likely a hardware problem.

  • Truncation of leading Zeros when Down Loading into Excel - OLE Objects

    Hi,
    Can any one help me on this.
    I am using <b>OLE Objects</b> to download Data into Excel Sheet. Data with leading Zeros is getting truncated in Excel.
    Ex: Report Output is showing Plant Number as 0002. But when i am downloading to Excel Plant value will become 2 .
       I would like to have it as 0002 in Excel.
    I have declared Werks as CHAR of 4.I am using OLE Obects for Downloading into Excel Sheet.
    I am using "OLE2_OBJECT" I can not use any other FMs to down load to Excel.As i am modifying this program not creating.
    Thanks In Advance.
    K.Nirmala
    Message was edited by: Nirmala Reddy

    Hi Nirmala,
    While downloading to excel sheet, u need to change the number format of cell from General to Text, then leading zero's won't get deleted. For that u need to set the property of the cell. Please check this sample code,
    INCLUDE OLE2INCL.
    tables : zobrent.
    data : it_kna1 type table of zobrent with header line.
    handles for OLE objects
    DATA: H_EXCEL TYPE OLE2_OBJECT,        " Excel object
          H_MAPL TYPE OLE2_OBJECT,         " list of workbooks
          H_MAP TYPE OLE2_OBJECT,          " workbook
          H_ZL TYPE OLE2_OBJECT,           " cell
          H_F TYPE OLE2_OBJECT.            " font
    DATA  H TYPE I.
    DATA: cell1 TYPE ole2_object.
    *&   Event START-OF-SELECTION
    START-OF-SELECTION.
      select * from zobrent into table it_kna1
               where zopanid = '10001'
                and zo_brent = '050'.
    start Excel
      CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_EXCEL  'Visible' = 1.
    get list of workbooks, initially empty
      CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP.
      PERFORM ERR_HDL.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'EDate'.
      PERFORM FILL_CELL USING 1 2 1 'Brent'.
      PERFORM FILL_CELL USING 1 3 1 'Zopanid'.
      PERFORM FILL_CELL USING 1 4 1 'Contract Type'.
      PERFORM FILL_CELL USING 1 5 1 'Price Type'.
      PERFORM FILL_CELL USING 1 6 1 'Installation Type'.
      PERFORM FILL_CELL USING 1 7 1 'Volume'.
      PERFORM FILL_CELL USING 1 8 1 'AQ'.
      PERFORM FILL_CELL USING 1 9 1 '00000123'.
      LOOP AT IT_KNA1.
    copy values to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_KNA1-zo_effdat.
        PERFORM FILL_CELL USING H 2 0 IT_KNA1-zo_brent.
        PERFORM FILL_CELL USING H 3 0 IT_KNA1-zopanid.
      ENDLOOP.
      CALL METHOD OF h_excel 'Cells' = cell1
        EXPORTING
          #1 = 1
          #2 = 1.
      FREE OBJECT H_EXCEL.
      PERFORM ERR_HDL.
      if sy-subrc eq 0.
       write : / 'year'(001).
      endif.
         FORM FILL_CELL
    sets cell at coordinates i,j to value val boldtype bold
    FORM FILL_CELL USING I J BOLD VAL.
      CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
      PERFORM ERR_HDL.
      GET PROPERTY OF H_ZL 'Font' = H_F.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_F 'Bold' = BOLD .
      PERFORM ERR_HDL.
    ***Changing the format of the cell from General to Text
      <b>SET PROPERTY OF H_ZL 'NumberFormat' = '@'.</b>
      PERFORM ERR_HDL.
      SET PROPERTY OF H_ZL 'Value' = VAL .
      PERFORM ERR_HDL.
    ENDFORM.
    *&      Form  ERR_HDL
    FORM ERR_HDL.
    IF SY-SUBRC <> 0.
      WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
      STOP.
    ENDIF.
    ENDFORM.                    " ERR_HDL
    U just paste this code in a sample program & see.
    Please reward, if found helpful.

  • Need to truncate extra leading zeros

    Post Author: dougatrueb
    CA Forum: Formula
    Dear Crystal Report Gurus,  I am trying to trucate the leading zeros in a feild that I am pulling from and ODBC table name {Inventory.ItemNumber}.  The item number will be similiar to 0000003785768 as an example, and I need it to trancate the leading zeros so the data looks like; 3785768.  Is there such a way to this easily? Thanks. Dougatrueb 

    Post Author: SKodidine
    CA Forum: Formula
    I am assuming that the itemnumber is a string.  If you want it as a string but truncate the leading zeros then do this:
    If NumericText({Inventory.ItemNumber}) thentotext(tonumber({Inventory.ItemNumber}),0,'','')else{Inventory.ItemNumber};

  • Truncation of leading zero's for a numeric field

    How to truncate leading zeros for numeric key figure field. The field value shows 0.0000000000000000E+00. Why the value shows like this??? Plz explain.
    Draj S

    Hi,
    I guess the Infoobj is FLOATING POINT. So its displaying that way.

  • Need help on avoid truncation of leading zeros while export to Excel

    Hi
    I am using crystal reports XI version and facing numerical format issue while exporting data from crystal report viewer to excel file, it is removing leading zeros in a alphanumeric field (String field from DB)
    Thanks
    Nagamani

    The only thing that might do this would be to append an apostrophe (') to the beginning of the field.  What I would try is:
    1. Add a text object to the report where you want this string to appear.
    2. Type an apostrophe in the text box.
    3. Drag the field into the text box so that it's to the right of the apostrophe.
    If you don't want the apostrophe to appear when viewing the report, try this:
    1.  Right-click on the text box and select "Format Object".  Set the font color to be the same as the background color.
    2.  Double-click in the text box.
    3.  Select the field, right-click on it and select the "Format..." option.  Set the font color to black or whatever other color you're using in your report.
    -Dell

  • Digital Publishing Suite - Professional, is the price correct even though CC member?

    We already have an Adobe Creative Cloud account.
    We have Digital Publishing Suite - Single Edition already but have now realised it is only possible to create ipad apps on there and not iphone apps.
    As a company and as we already pay for an annual Creative Cloud membership, we want to know if the price of £400 odd per month would be correct if we were to look into purchasing the Professional Edition, as this pricing seems excessive considering.
    Thanks

    Hi I saw your question and reply and what frustrates me is that none of the replies outline the actual cost of producing something via the dps. I will give you and example.
    I have a client that has been using Acrobat since 1992 to disribute documents. The same client has always been an Adobe advocate and now they wish to move from pdf files to an "App" I use the word app in quotes because it is essentially a magazine. They do not sell through the mag so no opportunity for in app purchases, they do not sell the mag as it is an information tol, they do however have video content that they wish to share. They have exciting articles that can be interspersed with slide shows etc...
    However, imagine their surprise when like yourself, having paid for the design kit that to produce a magazine like this would cost the client a licence fee of $20,000 for upto 50,000 downloads if they are the publisher – and a whopping saving to me if I publish at a reduced cost of $10,000. Then there are my costs as a creative on top which some of my clients already find hard to swallow.
    Now I might be wrong but taking the attitude that "Is that the right format for the client" is pretty crappy given that everyone from the age of 5 years old up knows how to and are using ipads and android devices.
    Where is the middle ground?
    pdf to send costs pittence but time.
    html emailer a few cents per opened email
    Adobe DPS "$kerching"
    The sales chap then told me that if the client wanted a Mercedes but was unwilling to pay – tough really.
    Now I have used Adobe software through Aldus Pagemaker in 1989 all the way through to the first version of InDesign. I encouraged the uptake of InDesign at several studios as a creative director ousting Quark because of their unreasonable prices. Now Adobe are doing just what Quark did. Why?
    Given that we have all been led a merry dance and have been told that rich content and electronic formats are key to modern businesses I feel that Adobe have just given me a huge middle finger. Its like the rise of the internet all over. The promise of WYSIWYG which never materialised making it very hard for small businesses to ever get online unless it looked like something produced by a Microsoft Office techy.
    And what about my charity clients? They would love to have their documents published onto the ipad "other tablets available" so are we just to ignore their cries for halp as they lanquish behind because the costs just dont add up?
    Oh and once you have paid for the licence that only is for one client. So if you have 30 or so clients they would all have to foot the extra cost which by the way is an annual cost!!
    Ok I am going on a bit now but you get the picture.
    What the hell is going on? I am just dissapointed.

  • Leading zeroes to the objects; no conversion exist

    Hi All,
    Info object data  is showing leading zeroes even though there is no conversion exit.
    Here is the exact scenario: ZABC_WHL1 is the navigation attribute of MATNR_ABC.both fileds doesn't have any conversion exit.ZABC_WHL1 is of length 20.
    Loaded the data for MATNR_ABC using a attrib data source .Upto the PSA level for ZABC_WHL1 (corresponding ECC filed)there are no leading zeroes.But when we go to display data for this objects it is showing leading zeroes ie.00000000000000023456.
    Can anyone suggest how to remove these zeroes.
    Thanks
    Sri

    Hi,
    please check the link http://www.sd-solutions.com/SAP-HCM-BW-Conversion-Routines.html.
    Hope it helps.
    Regards,
    Prakash

  • Hi, since doing the latest update my phone makes a strange noise everytime i send or recieve a text even when there is no text tone set?

    hi, since updating my iphone 3gs with latest software it makes a noise when sending/recieving texts even though there is no text tone selected

    Hi Thisslowgt,
    If you are having issues with your iPhone making unexpected sound signals, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    iOS: Force an app to close
    Next, I would try restarting the iPhone -
    Turn your iOS device off and on (restart) and reset
    If the issue is still present, you may want to restore the iPhone as a new device -
    iOS: How to back up your data and set up your device as a new device
    Thanks for using Apple Support Communities.
    Best,
    Brett L  

  • Leading zeros in excel

    Hi,
         I am trying to load a flat file in .csv format but whenever I open the file I am losing the leading zeros. It is very cumbersome for me to do those changes in notepad.
    Does one know how to keep the leading zeros even when I open in excel and edit and save? I changed the format of that column to text but if I close the file and next time I open the file, it is again back...
    ANy suggestions please?

    Hi,
      In excel, make the columns as text and save it. Then save as .csv format. But dont open the csv file becoz if you open, it will get its orginality back. So if you want to see whether it is in text format or not just open the csv file in notepad format. Now you can see leading zeros in the notepad. Without opening the csv file only, load the file.
    Regards,
    Bindu

  • Leading Zero's

    Hi All,
       I am facing the problem with leading zeros.I am getting the  value for the field ZZMATNR is '00000000000000000000000000000000000000000000000000358934'.But user is expecting the value '0358934'.
    I used the function module 'CONVERSION_EXIT_ALPHA_OUTPUT'.
    I am getting the value is '358934'.But user expecting the value is '0358934'.
    In the table itself the value is '0358934'.
    Please help me how to code this.
    Regards,
    sujan

    Hi Sujan T,
    Does the user always expects a leading zero even if the value has 7 digits?
    If so, then after you use the FM 'CONVERSION_EXIT_ALPHA_OUTPUT',
    use the following:
                               CONCATENATE '0'  '358934' into new_value.

  • Sales Order Confirmed qty set to zero even without credit check at SO level

    Hi
    Credit management is implemented and dynamic credit limit check has been assigned only for delivery doc types for blockig PGI.
    There is no credit limit check assigned to sales order types as per the customers requirement.
    However, we came across a scenario where, the confirmed quanties in a sales order were set to zero even though stock was available for the materials and no credit block at SO level.
    The issue was however resolved by going into change mode of sales order>edit> check availability. The schedule lines for all the materials were confirmed.
    Unable to figure out why the schedule lines were not confirmed even though stock available.
    Checked the routiine 101 in OVB8 but it only applies if credit limit check active at sales order level.
    Also checked 'conf.block' for 01-credit limit check in OVZ7 but even this applies if credit limit active at sales order level.
    Note: This happened only once. The same scenario was tested in Quality system and there the schedule lines were confirmed even when the customer exceeded the credit limit.
    Please let me know if I hav overlooked anything that needs to be checked.
    What could be the reson for the items not being confirmed when the order was created?
    Regards
    Madhu
    Edited by: Madhu Naidu on Jul 12, 2011 2:05 PM
    Edited by: Madhu Naidu on Jul 12, 2011 2:06 PM

    Hi Vinayak
    Thanks for your response.
    As you said it migt be bcos of the conf block at OVZ7, but the F1 help for that says that it applies when there is a credit limit check related delivery block in the sales order.
    However, in my case, there is no credit check assigned at sales order level.
    And also when I tried to recreate the scenario by creating an order for a customer who had exceeded the credit limit, it didnt delete the confirmed qty from the schd lines even after saving.
    ANy possible reasons other than credit check conf block that could have led to schd lines not being confirmed inspite of sufficient stock??
    Regards
    Madhu

  • Leading zero was lost in spool when ALV print out

    When run a ALV report and print out in background job,the leading zero is lost
    e.g.: vendor (type c)
          0000000001
            In spool:   1..
    How to show the leading zero when printing out ?
    Thanks  in advance

    hi,
    You can use FM
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
             input         =
         IMPORTING
           OUTPUT        =
    where input parameter and output parameter would be ths vendor(the field you want with zeros)
    Hope this will help you.
    thanks
    Tanmaya Gupta

  • Padding a value with leading zeros

    Hi
    I am trying to create a filename (String) using a sequence int. I need this int to be 6 digits, with leading zeros
    i.e. if my seqence number is 23 my filename (String) should be:
    FILE000023
    Obviously I can do this by creating my own method that iterates through the number, but I was wondering if there was a simple method to change an int to a String and pad it out with leading zeros.
    Thanks
    Neil.

    import java.text.*;
    public class DecimalFormatTesting {
         public static void main( String[] args ) {
              DecimalFormat format = new DecimalFormat("###.###");
              format.setMinimumIntegerDigits( 6 );
              String integ = format.format( 123 );
              System.out.println("str: " + integ);
         } // end of main()
    }hope this helps
    partha

Maybe you are looking for