How to get comma separator digits

Hi,
I need to build some reports for US clients and they need comma separated numbers (9,999,999.00). I thought I could do it in the data format, as custom numeric format, but I insert 9,999,999.00 there, than
it will replace the actual value of the column.
Any ideas?
Thanks and Regards
Giuliano

Hi
we have two ways :
1. in Fx area we need implemt to_char functon
2. colum properties -> data format--> Check the Override Default Data Format --> select drop down list box select the custom --> enter format in Custom Numeric Format area what do u want for ur report .
it is working fine ..
Regards
srinivas

Similar Messages

  • Get Comma separated result from SQL Query

    Hey Everyone
    I have a requirement where i need to get comma separated result of names because there is one to many relationship i.e for every protocol there are mutiple people associated to it , and i created PL/SQL function for that and everything was fine and when it is in production multiple number of cursors were opened because of the logic and leading to RAC fail over and for that we were manually clearing the cursors every weekend and i am looking to create a Materialized view for this logic but i was unable to code the logic using Connect by clause
    Result is like and i want comma separated names for every protocol
    P06065     TESTER13 TESTER13
    P02095     PATRICIA CARMELITANO
    P02095     ANNE MUIR
    P02095     ROBERT HARLOW
    P02095     JANICE ALBERT
    P02095     Jacqueline van Dalen
    P02095     GUENTER HENNIG DR.
    P05209     Olga Xenaki
    P05553     Birgit Limbach-Angele
    P05553     Anja Schulz Dr.
    P05553     CHRISTA HAGENBUCHER
    here is the function which i wrote, i need to get the same logic through SQL Statement .. thanks for your help
    cursor c_GSCR is
    select T565804.FST_NAME||' '||T565804.LAST_NAME
    from
    S_PT_POS_HST_LS T544105 /* S_PT_POS_HST_LS_Protocol_Team */ ,
    S_CONTACT T565804 /* S_CONTACT_Protocol_Team */,
    S_CL_PTCL_LS T541903 /* S_CL_PTCL_LS_Protocol */
    where ( T541903.ROW_ID = T544105.CL_PTCL_ID and
    T544105.POSTN_ID = T565804.PR_HELD_POSTN_ID and
    T544105.ROLE_CD = 'Lead Project Manager' AND
    T541903.ROW_ID = v_PTCL_ID and
    T541903.PAR_PTCL_ID is null and T544105.END_DT is null );
    BEGIN
    l_row_num := 0;
    l_role := '';
    l_role_list := '';
    v_PTCL_ID := PTCL_ID;
    OPEN C_GSCR;
    if C_GSCR%isopen THEN
    LOOP
    FETCH C_GSCR INTO l_role;
    exit when C_GSCR%notfound;
    IF l_role_list IS NULL THEN
    l_role_list:=l_role;
    ELSE
    l_role_list:=l_role_list||', '||l_role;
    END IF;
    END LOOP;
    CLOSE C_GSCR;
    end if;
    ~Srix

    Hi,
    Srix wrote:
    Thanks for the Info .. My database in 10g R 2 i started using COLLECT Function
    select T541903.PTCL_NUM ,
    CAST(COLLECT(T565804.FST_NAME||' '||T565804.LAST_NAME) AS varchar2_ntt) , 7) AS LPM_NAME
    from
    S_PT_POS_HST_LS T544105 /* S_PT_POS_HST_LS_Protocol_Team */ ,
    S_CONTACT T565804 /* S_CONTACT_Protocol_Team */,
    S_CL_PTCL_LS T541903 /* S_CL_PTCL_LS_Protocol */
    where T541903.ROW_ID = T544105.CL_PTCL_ID and
    T544105.POSTN_ID = T565804.PR_HELD_POSTN_ID and
    T544105.ROLE_CD = 'Lead Project Manager' AND
    T541903.PAR_PTCL_ID is null and T544105.END_DT is null
    GROUP BY T541903.PTCL_NUM
    The result i like ...Do you mean "The result *is* like ..."?
    Or do you mean "The result I [would] like [is] ..."?
    The code above has unblanaced parentheses. If you are getting anything other than an error message, then I don't believe you are really running what you posted.
    Whenever you have a problem, post a complete test script that people can use to recreate the problem and test their ideas.
    Please do that. Post CREATE TABLE and INSERT statements to crate the sample data, the code you used to create the carachr2_ntt type and the function, and your best attempt at a query (formatted). Simplify as much as possible. For example, do you really need 3 tables to illustrate the problem? For purposes of asking a question on this forum, can't you pretend you have just one table, with 2 columns?
    I suspect the problem has to do with the user-defined type and function, which you didn't post. I can't even see how you called the function in your query. Without the information I mentioned above, there's not much I can do to help you.

  • How to get number of digits in given amount

    Hi Experts,
    How to get number of digits in given amount.
    Regards
    Mohit

    Check this :
    data: v_data1 type p decimals 3 value '12.860',
          v_char1 type char20,
          v_char2 type char20,
          v_char3 type char20,
          len type i.
    write v_data1 to v_char1.
    split v_char1 at '.' into v_char2 v_char3.
    len = strlen( v_char3 ).
    write:/ v_char2,
          / v_char3, " this holds the digit value
          / len.     " number digits

  • How to get field separator in flat file using GUI_DOWNLOAD function

    hi,
    how to get field separator in flat file using GUI_DOWNLOAD function.
                                    thanking you.

    Hi,
      Use WRITE_FIELD_SEPARATOR = 'X'.
      Check this sample code
    REPORT  z_file_download.
    DATA: w_name(90) TYPE c.
    DATA:
      BEGIN OF fs_flight,
        carrid   LIKE sflight-carrid,
        connid   LIKE sflight-connid,
        fldate   LIKE sflight-fldate,
        price    LIKE sflight-price,
        currency LIKE sflight-currency,
      END OF fs_flight.
    DATA:
      BEGIN OF fs_head,
        carrid(10) TYPE c,
        connid(10) TYPE c,
        fldate(10) TYPE c,
        price(10) TYPE c,
        curr(10) TYPE c,
      END OF fs_head.
    DATA:
      t_head LIKE
       TABLE OF
             fs_head.
    DATA:
      t_flight LIKE
         TABLE OF
               fs_flight.
    fs_head-carrid = 'CARRID'.
    fs_head-connid = 'CONNID'.
    fs_head-fldate = 'FLDATE'.
    fs_head-price  = 'PRICE'.
    fs_head-curr   = 'CURRENCY'.
    APPEND fs_head TO t_head.
    SELECT-OPTIONS:
      s_carrid FOR fs_flight-carrid.
    START-OF-SELECTION.
      SELECT carrid
             connid
             fldate
             price
             currency
        FROM sflight
        INTO TABLE t_flight
       WHERE carrid IN s_carrid.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                  =
        filename                      = 'D:\flight.xls'
       FILETYPE                      = 'ASC'
    *   APPEND                        = ' '
        WRITE_FIELD_SEPARATOR         = 'X'
    *   HEADER                        = '00'
    *   TRUNC_TRAILING_BLANKS         = ' '
    *   WRITE_LF                      = 'X'
    *   COL_SELECT                    = ' '
    *   COL_SELECT_MASK               = ' '
    *   DAT_MODE                      = ' '
    *   CONFIRM_OVERWRITE             = ' '
    *   NO_AUTH_CHECK                 = ' '
    *   CODEPAGE                      = ' '
    *   IGNORE_CERR                   = ABAP_TRUE
    *   REPLACEMENT                   = '#'
    *   WRITE_BOM                     = ' '
    * IMPORTING
    *   FILELENGTH                    =
      tables
        data_tab                      = t_head
    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
       OTHERS                        = 22
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'D:\flight.xls'
          filetype                = 'ASC'
          append                  = 'X'
          write_field_separator   = 'X'
        TABLES
          data_tab                = t_flight
        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
          OTHERS                  = 22.
      IF sy-subrc EQ 0.
        MESSAGE 'Download successful' TYPE 'I'.
      ENDIF.
      IF sy-subrc <> 0.
    *  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • How to get temperature from digital camera in to controller

    how to get temperature from digital camera in polarising microscope using t95 controller without adc.dll
     

    Ask the manufacturer of your camera…
    What kind of answer do you expect?

  • How to get an non digital License?

    Hi,
    I want t install a License for the Solution Manager. The System is out of time, so that I can only use saplicense.exe to install this. But in the file, that I have recieved from SAP is only the digital key and that can I not install in that case. Does somebody know, how to install this file or how to get the other key?
    Thanks,
    Peter

    Thanks, but the Solution Manager-"Server" doesn't start complete. Before the license was out of time, the "Server" starts normal. So I think, that I can not access via SAP GUI. I haven't test it.
    I will do this tomorrow, but when this solution not solve the problem, what can I do?
    Greets,
    Peter

  • How to get only two digits after decimal point of an expression

    i am doing simple multiplication between two float numbers.
    both the numbers have two digits after decimal point.
    so naturally the result will have 4 digits after decimal point.
    i want to get only two digits after decimal point.
    help me please...

    If you just want to limit the displayed decimal places, you can do the following...
    import java.text.*;
    public class Formatting {
        public static void main(String[] args) {
            NumberFormat format = NumberFormat.getNumberInstance();
            format.setMaximumFractionDigits(2); //what you seem to want
            format.setMinimumFractionDigits(2); //if you always want at least 2 digits displayed
            System.out.println(format.format(12.345));
            System.out.println(format.format(12.0));

  • AI 10 How to get File- Separation Setup's color plate options using SDK?

    Hi All,
    Im using Microsoft VC++6.0 & Illustrator 10 SDK.
    How can i get access to "File->Seperation setup " menu of the document using SDK.Which header file should i use?
    Actually i need to get the color plates which are on/off inside the separation setup dialog.
    Any sample code please.
    Thanks in advance
    Regards
    myRiaz

    It sounds like you need to figure out which part of the API deals with colour separation. It could be AIDocument.h or it could be AIColor.h. I'm afraid you'll just have to check the headers until you find something that looks like you want. You could also try searching the API for a piece of text that you'd expect to find associated with the values you're trying to pull -- that might point you in the right direction.

  • How to get rid of Digital Harshness?

    Hey, I'been away from my lovely virus and made songs using ES1 ES2 and ESM only, and despite they supposed to be equivalents to hardware analong synth the sound is really bad. so hard and harsh i never heard before. I wonder if anyone here uses them plugs alot and know how to sort them out?Thanks.

    I've used analog and digital synthesizers since the seventies and while they all sound different, I haven't noticed anything about the Logic virtual synths that differentiates their sound from that of hardware. Are you referring to factory presets in the ES2 (etc.) or are you finding that your efforts with the filters and envelope generators are not bring about the warmth or fatness you're looking for? Check your connections to make sure you are not out of phase, or operating with malfunctioning speakers or amplifiers.
    I'm not defending these synths or expecting anybody to like them. I just haven't experienced them being particularly hard and harsh unless I program them that way. I have not had any problems getting round, smooth, warm sounds from them. YMMV, of course.

  • How to get the 4 digits year from 2 digits

    Hi ,
    I have a column which stores the last two digits of the year like 08,09,10 etc.. Now I need to get the complete year number from these two digits. Is there any function in oracle which will help this purpose.
    Thanks,

    Hi,
    user8640661 wrote:
    Hi ,
    I have a column which stores the last two digits of the year like 08,09,10 etc.. Now I need to get the complete year number from these two digits. Is there any function in oracle which will help this purpose.
    Thanks,What are the other two digits?
    If they're always '20', then concatenate '20' to your existing column (which I assume is a string):
    '20' || a_columnIf the first 2 digits are '20' when the existing sting is in the range '00' to '49', but '19' when the existing string is in the range '50' to '99', then use the 'RR' date format:
    TO_CHAR ( TO_DATE (a_column, 'RR')
            , 'YYYY'
            )but hurry; this will behave differently starting in 2050.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.

  • How to handle comma separated values in OLE DB Source query for a parameter variable from XML file in SSIS

    Hi,
    I am using OLE DB Source to fetch the records with Data Access Mode as SQL COMMAND which is using the below query with a parameter,
    SELECT CON.Title,CON.FirstName,EMP.MaritalStatus,EMP.Gender,EMP.Title AS Designation, EMP.HireDate, EMP.BirthDate,CON.EmailAddress, CON.Phone
    from HumanResources.Employee EMP INNER JOIN Person.Contact CON ON EMP.ContactID=CON.ContactID WHERE EMP.Title in (?) 
    In this query for the parameter I am passing the value from a variable and which is configured (XML Configuration). While passing value
    Buyer it works correctly. But while passing values Accountant,Buyer
    it is not working as expected.
    How to handle while passing such multiple values Or is it possible to pass such values or not in SSIS 2012 ?
    Kindly help me to find a solution.
    NOTE: I placed the whole query in a variable as a expression as below it is working fine.
    "select CON.Title,CON.FirstName,EMP.MaritalStatus,EMP.Gender,EMP.Title AS Designation,EMP.HireDate,EMP.BirthDate,CON.EmailAddress,CON.Phone from HumanResources.Employee EMP
    INNER JOIN Person.Contact CON ON EMP.ContactID=CON.ContactID WHERE EMP.Title in ('" + REPLACE(@[User::temp],",","','")  +"')"
    Any other solution is there ? without placing the query in a variable. May be a variable can have some limitations for no. of characters stored not sure just a thought.
    Sridhar

    Putting the whole thing into a variable is certainly a valid solution.  The other involves putting the comma delimited list into a table valued variable.
    http://gallery.technet.microsoft.com/scriptcenter/T-SQL-Script-to-Split-a-308206f3
    For an odd ball approach: 
    http://www.sqlmovers.com/shredding_multiline_column_using_xml/ .
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • After Effects - how to get it separately???

    Hi, I am a student, purchased the CS6 package for a fortune appr. 1 year ago. I would like to use AfterEffects - and I have just realized that adobe discontinued selling products separately.  Is there any way to purchase After Effects only? After spending heaps of money on a package of softwares I would not like to buy everything all over again with buying a subscription for everything... Please advise what to do. Thank you.

    Just what "CS6 package" did you purchase... and are you sure After Effects is not included in what you have? (did you install everything?)
    If the package you purchased did not include After Effects, look at Creative Suite 6

  • How to get last 4 digits of a particular field?

    Hi to all,
    here i have three fields,
    f1 length 18 char,
    f2 length 4 char,
    f3 length 4 char,
    now i want to take last 4 char of f1 to f2 and the same i have to pass to f3.
    how to do this?
    regards,
    swami

    Hi,
    1. Take the maximum length of the field. Pass it to an integer  variable. Lets say L1.
    2. Subtract this variable by 4. Move this value to another variable. Lets say L2.
    3. WRITE F1+L2(4) TO F3.
    Sample Code.
    REPORT  zmaytest.
    DATA : f1 TYPE string VALUE 'abcdefghijk',
               f2(4) TYPE C,
               f3(4) TYPE C.
    DATA : l1 TYPE i,
                l2 TYPE i.
    START-OF-SELECTION.
      l1 =  STRLEN( f1 ).
      l2 = l1 - 4.
      WRITE f1+l2(4) TO f2.
      WRITE f1+l2(4) TO f3.
      WRITE: / 'F2', F2.
      WRITE: / 'F3', F3.
    Regards,
    Mayank

  • How To Get A Sony Digital Voice Recorder MSV File To Play On Mac?

    Hi...
    I have a Sony Digital Voice Recorder that (I guess) puts it’s recording’s into a MSV format. I’ve done a Google search and found conversion software...
    But does anyone have any recommendations or is my Mac capable of the conversion with it’s assortment of software already?
    Thank you in advance
    Comments, suggestions and opinions are appreciated.....

    Hi Catharsis,
    Switch for OSX does NOT convert MSV files. The only way to do it is with something like CrossOver or Parallells with a windows installation and use the Sony software.
    Had I known this prior, I would not have bought the Sony product which in all other respects is a good piece of equipment. (ICS MX20)

  • How to get verified digital signature for applets?

    Hi All,
    I run a small website with an applet ( [http://www.tozsdeasz.hu/grafikonrajzolo/inditas.html|http://www.tozsdeasz.hu/grafikonrajzolo/inditas.html] ). Visitors can load files into the applet, so the applet needs to ask for permission from the user to access files on the visitor's computer. When doing so an unfriendly window pops up telling that the digital signature of the application cannot be verified (you can see it for yourself by the link). Some users keep complaining about it fearing of the security risk.
    What is the proper way of getting a properly signed applet? (how to get a verified digital signature?)
    Please help me!
    Best wishes:
    Szabolcs Kelemen

    Thanks for the links.
    As far as I saw in the documents I need a "digital certification authority" to sign the jar.
    Do you know any of these authorities that is free? The entire application does not worth much, I can't afford expensive certifications.
    Best regards:
    Szabolcs Kelemen

Maybe you are looking for