Display of leading zeros for a GL account in FS00

Hi all,
does anyone know is it possible to set something in SAP so that in transaction FS00 the gl account number is displayed with leading zeros? Now they are removed.
Thanks!
D.

Hi Dusan,
"Alpha conversion" is already implemented on the domain (SAKNR) itself. You can modify the system (take out conversion exit "ALPHA") from domain SAKNR but I'm guessing this might create inconsistencies in many other dictionary objects.
I think it's better to consider alternavtives - like using character + number as GL account (e.g. A345999)..
Best regards, Kyoko

Similar Messages

  • Suppress leading zeros for ALV column

    Hello,
    I have an ALV with a column mapped to a context attribute of type NUMC and would like to suppress the leading zeros being displayed.  My initial solution was to change the attribute to a char/string type and remove the zeros in my code, but then, the sort functionality no longer works correctly.  Any ideas if the ALV can use a 'hidden' field to do the sorting for a certain column... that way, I can display the number as a char/string without the zeros and when the user sorts the column, the ALV will use the hidden NUMC type field.
    Thanx for any directions...

    Hi,
    You can follow the following way which i implemnted for one of my application. Here i am setting this property for the context attrubute. May be this will work. But in ALV there is no separate method for this type of setting.
    **This method is used to display the Leading zeros for the Lot Number in Step-1
      DATA:
        node_do_not_change                  TYPE REF TO if_wd_context_node,
        node_d0130_sapmf05a                 TYPE REF TO if_wd_context_node,
        node_pstap                          TYPE REF TO if_wd_context_node,
        node_info                           TYPE REF TO if_wd_context_node_info,
        ls_fprops                           TYPE wdy_attribute_format_prop.
      node_do_not_change = wd_context->get_child_node( name = wd_this->wdctx_do_not_change ).
      node_d0130_sapmf05a = node_do_not_change->get_child_node( name = wd_this->wdctx_d0130_sapmf05a ).
      node_pstap = node_d0130_sapmf05a->get_child_node( name = wd_this->wdctx_pstap ).
      node_info = node_pstap->get_node_info( ).
      ls_fprops = node_info->get_attribute_format_props( 'VALUE' ).
      ls_fprops-null_as_blank = if_wd_context_node_info=>c_format_null_as_BLANK.
      node_info->set_attribute_format_props(
        name              = 'VALUE'
        format_properties = ls_fprops ).
    Warm Regards,
    Vijay

  • Leading zero in G/L account

    Hello together,
    OSS 10714 describes, that it is not possible to create or to use accounts with leading zeroes and in standard SAP it will never be possible. But if you need to have it, SAP can make it possible.
    In my case it has to be done. It's a mustn or rather we are discussing about it. There are voices who are adamant that it works and other who say no. How ever if it has to be - then SAP will have to do the modification.
    So can somebody tell me how many man days approximately it will cost to let SAP do this modification?
    Thanks in advance.
    Heiko

    Hi,
    the requirement is to be able to create them with leading zeroes, to display them with the exact number of leading zeros and of course to print them with the exact number of leading zeroes.
    I just spoke again with our controlling and it showed me again the problem.
    We dont have accounts with leading zero, but the destination accounts (also a SAP System) have leading zeroes.
    At the moment they have to work with 2 charts of accounts daily and this is a great handicap for them. The goal is just to work with the same chart of account as the destination system.
    Thanks for your estimation - thats something I can and did communicate - but I have to do a SAP call to get an "offer".
    Regards
    Heiko

  • How can i avoid leading zeros for a field in smartform?

    how can i avoid leading zeros for a field in smartform?

    Hi,
    Using the Symbols.
    &symbol(Z)&  Omit Leading Zeros  &symbol(S)&  Omit Leading Sign 
    &symbol(<)&  Display Leading Sign to the Left 
    &symbol(>)&  Display Leading Sign to the Right 
    &symbol(C)&  Compress Spaces 
    &symbol(.N)&  Display upto N decimal places 
    &symbol(T)&  Omit thousands separator 
    &symbol(R)&  Right justified 
    &symbol(I)&  Suppress output of the initial value 
    Regards,
    Shiva Kumar

  • Removal of leading zeros for material no. in report

    hi
    my issue is that i have to remove leading zeros for material number when displaying in alv grid.iam getting output.but leading have to truncated automatically.
    eg: 000000000000000102
    the ouput should be 102.
    please do provide solution for this or any function module.thanks in advance.

    Hi Sanjana,
    while populating the internal table use the conversion exit available for MATNR. this will remove the leading zeros.
    oter possible way, declare the internaltable by referring the data element MATNR, i hope if you do this, it will delete the leading zeros automaticallt.
    or if you declare the internal table field as charecter type, use the ALPLA_CONVERSION_EXIT_INPUT ot OUTPUT function module to remove the leading zeros.
    Reward the points if it is helpful..

  • How to get the leading zeros for decimal values?

    Hi,
      How i wil get the leading zeros for decimal values.For CONVERSION_EXIT_ALPHA_INPUT it is not working.Now iam using overlay condition for getting leading zeros.But iam getting the value like 00013.500.But as per my requirement i want to display this value 0000013.5.
    my code is
                    overlay w_MetLife_detail-rdempsalary with '000000000'
                    data :rdempsalary     type char9
    Please help me on this.
    Regards,
    Sujan

    Hi
    For more info,
    The function of the statement UNPACK is based on the fact, that the BCD display of a decimal place corresponds to the second half-byte of code of a digit in the most character representations. This conversion is commonly called "unpacking".
    The statement PACK to pack is obsolete and can be replaced by MOVE.
    If destination is specified as untyped field symbol or as untyped formal parameter and is not flat and not character-type during execution of the statement, then an untreatable exception occurs in Unicode programs. In non-Unicode programs, an exception occurs only with deep types, whereas flat types are treated as character-type types.
    Example
    After the assignments,char1 and char2 contain the values "123.456" and "0000123456".
    DATA: pack  TYPE p LENGTH 8 DECIMALS 3 VALUE '123.456',
          char1 TYPE c LENGTH 10,
          char2 TYPE c LENGTH 10.
    MOVE   pack TO char1.
    UNPACK pack TO char2.
    Regards

  • Remove Leading zeros for Material in Transformation

    Hi Experts,
    I'm using DTP first time. I don't have much exp on DTP & Transformations.
    I'm creating infocube with some objects. I want to remove leading zeros for zmaterial.
    In 3.x writen update routines as fallows:
    data: zmat(18) type c.
    zmat = COMM_STRUCTURE-/BIC/ZMAT.
    shift zmat left deleting leading '0'.
    result value of the routine
      RESULT = zmat.
    I'm confusing in Transfermation where to write this routines.
    I'm writing in Transformation as fallows:
    data: zmat(18) type c.
    zmat = SOURCE_FIELDS-/BIC/ZMAT.
    shift zmat left deleting leading '0'.
    RESULT = zmat.
    But it's getting remove zero's.
    Anybody suggest on this.
    Siri

    Dear Sir,
    No confusion at all.
    Just double click on the Target Infoobjct i,e Material object in Transformation, you will see a wizard popping up.
    There you will see a option called "RULE TYPE" and the default value will be "Direct Assignment". In the same check box click on the drop down icon and select "Routine".
    The moment you select the routine option, it will open up ABAP workspace where in you can write your routine and get the desired result.
    Hope it helps.

  • Leading Zeros in Cost Center Account Creation

    Hi All,
    I am creating new cost centers using KS01. The problem I have is that the numbering system that my client requires have leading zeros for some of the cost centers, e.g. 00702. However, the system is not taking the leading zeros and creating them as 702 using my earlier example. Is there any way I can force the system to accept the leading zeros. Thank you for your responses.
    Regards,
    Yomi

    Hi,
    I do not think it is feasible... have a read on this OSS note :
    Note 106971 - FAQ: Automatic Leading Zeroes for Numeric Fields
    Hope this helps.
    Cheers,
    Gimmo

  • Leading Zeros for Decimal values

    Hi,
    In my requirement i need to add leading zeros for Decimal values.
    For Example.
    If the value is = 0.00 then my Target value should be = 000000000000.00
    Regards,
    Anil.

    Hi Anil,
    You have to use conversion exit ,
    Kindly go through this link below:
    Re: Conversion exit: numbers in database, two decimals on screen
    Hope it helps
    Regards
    Mansi

  • Leading Zeros for variable vlaues(Date)

    Hi,
    How to remove leading zeros for variable values.
    For example;
    Comapny Code by Auth: 007.2004(July 2004)
    How to take out the first two zeros or first zero.
    Any suggestions would be of great help.
    Regards,
    Suresh

    How is that related to sql develper?
    Did you read the forum title? - SQL Developer (Not for general SQLl/PLSQL questions)

  • How to remove leading zeros for an item number within quickviewer

    how to remove leading zeros for an item number within quickviewer. Pls help

    ask your abap guy to do  it. not portal guys business.

  • Delete leading zeros for material in mapping.

    Hi,
    How to delete leading zeros for material like 0000000128736 if so I am expecting 128736 only.
    We need to consider if I get  material number is like RPG2389 .
    Thanks,
    Vinay.

    Hi,
    If you will be getting alphanumeric codes, it would be best to use a UDF with a regex-expression.
    UDF Type:
    ContextType
    imports:
    java.util.regex; (if you are using PI 7.1 you must remove the semicolon)
    arguments:
    input1
    Here's the code (courtesy of Sun Developer Network):
            Pattern p = Pattern.compile("[^a-zA-Z]");
            Matcher m = p.matcher(input1[0]);
            StringBuffer sb = new StringBuffer();
            boolean output = m.find();
            while(output) {
                m.appendReplacement(sb, "");
                output = m.find();
            m.appendTail(sb);
    result.addValue(input1[1]);
    Now to solve the leading zeroes, just add formatNumber: 0 after the UDF and it will work.
    Hope this helps,

  • Leading zero for the instance

    hi,
    my numbers looks like 0 or -0,23 or ,45...
    but i want to have a leading zero, e.g. 0,0 or 0,45
    i know that i can use to_char(xxx,'format') in queries,
    but i want to have the leading zero for the whole instance.
    is that possible?
    thx.

    In cas you use SQL*Plus for your queries modify your login file
    SET NUMFORMAT ...http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch3.htm#1005686

  • Leading zero for a character datatype field in ALV display

    I have field access sequence value(VAKEY) which is concatenated by sales org, distibution chnl and division
    (0100/01/01).  the field is populating proprerly in internal tables, but in ALV display it is displaying as 100/01/01. How to consider leading zero in ALV for a CHAR datatype field.
    Thanks in Advance.

    Hi Srnii,
    You can use the below sample statement
    Shift mara-matnr right deleting trailing ' '.
    overlay mara-matnr with '0000000'.
    Thanks,
    Chidanand

  • Eliminating Leading Zeros for Input

    Hello,
    I am very new to the world of Netweaver Portals and Web Dynpro, so please have some patience.
    I have created an application in Web Dynpro which will display the Stock Requirements for a Material.  Everything is working fine with the exception that the User needs to enter 10 leading zeros before they enter the material number.  Is this something that I can correct in Web Dynpro, or is there something I need to do on the R/3 side?
    In R/3, the user can simply type in the 7 digit material number, but in my Web Dynpro App, they need to enter a 17 digit number (10 leading zeros and the 7 digit mat number).
    I have checked other topics, but couldn't find where this exact issue has been addressed.  Thanks for your help.
    Paul

    Paul,
    one possible solution for this issue might be to write some code to add the missing zeros. For example you can put the coding in a action method.
    Please take a look at the following snippet:
    // get the material number from context (this is the number entered by the user)
    String id = wdThis.wdGetWelcomeComponentController().wdGetContext().currentContextElement().getMaterialID();
    if(id.length() < 17) {
       for(int i = 0; i < 17 - id.length(); i++) {
          id = "0" + id;
    // your id is now a 17 digit number
    I that helps you.
    Sebastian

Maybe you are looking for

  • How do i use wifi on my imac

    I have an old imac that is still great for word processing and playing DVD / music but its now in a place in the house away from the router and the cable wont reach. Basically it would be far easier if this desktop mac had wifi. is there anything tha

  • How to embed font?

    I am working on a poster for the press and they require the font to be embedded. How do you do this? Thanks!

  • About ALE transaction set 860 (purchase orders) and Idoc type ORDERS05.

    Hi all, What is the mapping between the two? How can I find more about the two.. Thanks, Charles. +++++++++++++++++++++

  • How to manipulate number data embedded in number type?

    Hi all, I have a SERVER profile table with column IP_ADD char(15) with allowed value range 224.0.0.0 to 239.255.255.255. I want to create a constraint for this column imposing this range. Can you help me the logic/syntax please? Is CHECK IP_ADD betwe

  • Ocfs2 du/df

    Hi I have the following configuration: linux SLES 10 SP2, ocfs2 , RAC (oracle 10.2.0.4) si SAP ERP 6.0. Database is in the "archivelog" mod and archivelogs are generate in a ocfs2 mount point type . We set a retention of 14 days to archivelogs and th