Date and Numeric Formatting in SQL Report

In a sql report, under column formatting, I would like to format one of the columns to show percentage so it looks like this - 36%. I have tried to input a % symbol in the format mask and this does not seem to work. Is a percentage value permissible and if it is what is the correct format mask I should use?

Melissa,
Putting "%" is not a valid format. To achieve the result that you are looking for just concatinate it with "%".
like:
select to_char(deptno)| |'%' DeptNo, .. from emp

Similar Messages

  • Date Formatting and SSN Formatting from BIP Report

    Hello,
    I found out how to format phone numbers.
    I just need help in formatting 2 fields from our report.
    1. The Call Date (MM/DD/YYYY HH:MM:SS AM/PM)
    2. SSN (123-45-6789)
    First, I am using the command below to convert the date into canonical format after the namespace:psfn.
    <?psfn:totext(ssWarrantyUpdatedDt, 'YYYY-MM-DDTHH:MI:SS')?>
    I then tried formatting the date using the Microsoft Format Mask definitions but it didn't work.
    On the SSN, I didn't see anything from the bookshelf that shows me how to do this formatting.
    Can anyone please help me?
    Thank you

    Hi,
    If you XML data is coming from Oracle Report (RDF), why dont you do date and SSN formatting in SQL itself. So that you will get directly the required format in XML. That is how I am doing in my report. Most of the time it is easy to make changes in Oracle Report SQL rather than in template bcoz BI publisher dont support so many MS Word properties.
    Thanks,
    Omkar

  • Date and Cost formats in export toward Excel (2013)

    Hi,
    I'm trying to export Start date and Cost of my project tasks to Excel:
    File/Save as/ Excel Workbook...
    but all these date and cost data arrive in Excel with Text format. With the 2003 version, date and cost formats were well recognized.
    I'm using Project 2013 English and Excel 2013 English on a French Win 7.
    What are the settings (decimal separator...) which are needed to allow this feature ?
    Thanks

    Hi Julie,
    Thanks for your help.
    The "Convert to Number" feature works fine for the Cost.
    But the dates arrive as text with a long format such as "03 August 2015 08:00" and the  =DateValue(Cell
    reference) function returns an error : #VALUE!
    Any idea to retrieve the dates?
    Thanks again

  • Ack file date and time format is same as in source xml format

    Hi...All,
    1) my scenario is file-rfc-file using BPM,
    we are getting file in xml format from source along with timestamp and this data will be going to R/3 and the acknowledgement (success or failure) file will be sending back to source system.
    in this sceneario we have to fulfill in the follwing client requirement
    File1.<same File1 date and time>.XML
    Is it possible to make it as the following? if it is possible
    could u please let me know how to fulfill the follwing requirement.
    ACK File1.<same File1 date and time>.XML
    Where <same File1 date and time> format = u2018YYYYMMDDhhmmssu2019 .
    2) Is the XML file name visible in the SAP-XI monitoring screen and will it help to trace the messages?
    thanks in advance,
    Pasi.

    Hi,
    I didnot under stand your first question coulf you be more specfic.
    2. Ans : In general , we will follow the below steps
    --First we we check for the file is picked or no, if not see the Sender side CC parameters like mode and path details
    --If file was picked then we need to check whether we are using the File content conversion parameters or not if yes we need to check the FCC parameters ,
    Goto RWB-Channelmonitoring by the following link
    http://host:port/mdt/channelmonitorservlet
    select the sender side CC name and check for errors
    If no errors in above, goto SXMB_MONI for Integration Engine xml processing , check for successful or error occured black or red color
    --if success in SXMB_MONI then we need to check in RWB as above channel monitor now select the receiver side CC
    If no errors then check for output file is placed intarget or not
    Please reward points if it helps
    Thanks
    Vikranth

  • Menu bar date and time format in Lion

    Is there a way to change the formatting of the date and time shown in the menu bar in Lion? I've been googling for a while, but can't find a solution. At the moment the time has a very unusual format of <hh:mm.ss>. Note the '.' before seconds. What I want to achieve is to change that dot to a colon as it normally is (and was in Leopard and earlier, don't know about Snow Leopard), ie. <hh:mm:ss>. I've checked the date and time formats in system settings several times, but those have no effect on the menu bar. When I set the clock to display an analogue icon and click on it, the date and time in the popup menu are shown correctly using the full format.

    johankytt wrote:
    Well ofcourse I am. And no, I am not using a third party utility. This functionality has been available in OSX for ages.
    I never noticed that option! 
    It works ok for me (with a colon, not a dot).  
    Is it possible you have a dead pixel where the top dot of the colon should be?

  • Validation on data and time format

    Hi
    In a flat file a date and time fill in but user.  And the data and time format should always be fill in with the format <DDMMYYYY> <HHMMSS>
    is there a FM which check whether user has put the wrong date format such as <YYYYMMDD> or <MMDDYYYY> instead for the the one mention above. 
    Please advise whether there is a FM which check on the format on the time stamp also.
    Note: the input of the data and time is done by the user.
    Thank

    Hi,
           use the new OOPs concept,
    PARAMETERS dateTYPE c LENGTH 10.
    DATA matcher TYPE REF TO cl_abap_matcher.
    * For date
    matcher = cl_abap_matcher=>create( pattern = `[0-9]{1,2}/[0-9]{1,2}/[0-9]{2,4}`
                                       ignore_case = 'X'
                                       text = date ).
    IF matcher->match( ) IS INITIAL.
      MESSAGE 'Wrong Format' TYPE 'I'.
    ELSE.
      MESSAGE 'Format OK' TYPE 'I'.
    ENDIF.
    like dis pattern for time : 
    [0-9]{1,2}:[0-9]{2}
    pattern for timestamp:
    [0-9]{1,2}/[0-9]{1,2}/[0-9]{2,4} [0-9]{1,2}:[0-9]{2}
    Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 4:35 PM

  • How to change date and time format

    Hi experts,
    Can i know how to change the date and time format?
    I want the date format to be dd-mmm-yyyy  and time format to be hh:mm:ss
    These date and time is in my sapscript form.
    I make use of PERFORM function in sapscript.
    This is the code in my print program.
    FORM get_actlog_QA TABLES in_tab STRUCTURE itcsy
                           out_tab STRUCTURE itcsy.
       DATA: object TYPE string, "
            qaname LIKE JCDS-USNAM, "NAME for engineering process, QA Manager
            qadate LIKE JCDS-UDATE, "DATE changed in engineering process, QA Manager
            qatime LIKE JCDS-UTIME. "TIME changed in engineering process, QA Manager
    DATA: lt_jcds type standard table of jcds,
          wa_jcds like line of lt_jcds,
          new_date(10) type c.
      READ TABLE in_tab INDEX 1.
      MOVE in_tab-value TO object.
      select * into CORRESPONDING FIELDS OF TABLE lt_jcds
      from jcds WHERE objnr = object
        AND  ( stat = 'E0005' )
        AND inact = ''.
      Loop at lt_jcds into wa_jcds.
          qaname = wa_jcds-USNAM.
          qadate = wa_jcds-UDATE.
          qatime = wa_jcds-UTIME.
       READ TABLE out_tab INDEX 1.
       MOVE qaname TO out_tab-value.
       MODIFY out_tab INDEX sy-tabix.
       READ TABLE out_tab INDEX 2.
       MOVE qadate TO out_tab-value.
       MODIFY out_tab INDEX sy-tabix.
       READ TABLE out_tab INDEX 3.
       MOVE qatime TO out_tab-value.
       MODIFY out_tab INDEX sy-tabix.
      endloop.
      clear wa_jcds.
      ENDFORM. 
    This is my PERFORM in sapscript.
    /:           DEFINE &V_QANAME& = ''.
    /:           DEFINE &V_QADATE& = ''.
    /:           DEFINE &V_QATIME& = ''.
    /:           PERFORM GET_ACTLOG_QA IN PROGRAM ZFIR002
    /:           USING &VIQMEL-OBJNR&
    /:           CHANGING &V_QANAME&
    /:           CHANGING &V_QADATE&
    /:           CHANGING &V_QATIME&
    /:           ENDPERFORM.                     
    Sapscript
    Prepared by : &V_QANAME& ,, &V_QADATE& ,, &V_QATIME&
    The output now is
    Prepared by: Name   20080312  115536 
    I want to change the date format to 12-MAR-2008
    and the time format to 11:55:36 
    Can anyone please suggest on how to solve this?
    Thank you.

    Hi,
      Before assigning the  QADATE value you can write the logic to display  20080312   as  12-MAR-2008  taking the offset values .
    Like
    qadate = wa_jcds-UDATE.
    qatime = wa_jcds-UTIME.
      lw_year    = qadate(4).
      lw_month = qadate+4(2).
      lw_date    = qadate+6(2).
    case lw_month.
    when 1.
    when 2.
            concatenate lw_date  '-FEB-'  lw_year into qadate.
    when 3.
          concatenate lw_date '-MAR-' lw_year into qadate.
    endcase.
    READ TABLE out_tab INDEX 2.
    MOVE qadate TO out_tab-value.
    MODIFY out_tab INDEX sy-tabix.
    And you can also change the timeformat also  .
    then assign that value to qatime .Then
    READ TABLE out_tab INDEX 3.
    MOVE qatime TO out_tab-value.
    MODIFY out_tab INDEX sy-tabix.
    I think this helps you.
    Regards,
    Rajitha.

  • How do you change the date and time format in Pages

    I've tried changing the date and time format a number of times for Pages but it does not change.  I'm going to the System Preferences/Language and Text and Formats.  I make the changes click on OK and go back to Pages.  NO change.

    Hi Uncle,
    Page 116 of the Pages'09 User Guide: Control Click the date, Edit Date and Time.
    Date and time can also be in a table. Format the table cell.
    The User Guide is well worth a read. Download it from the Help menu in Pages.
    Regards,
    Ian.

  • How to set the Date and Currency Formats Based on Country

    Hi Friends,
    I am designing the one Global Form it will use for all countries.
    in that Form i want to print the date and currnecy Formats based on country.
    Like
    For US i want print the date and Currency Like This.
    Date -  MM/DD/YYYY
    Curremcy - XX,XXX,XX.XX
    For DE i want print the date and Currency Like This.
    Date -  DD.MM.YYYY
    Curremcy - XX.XXX.XX,XX
    Please suggest how i can control these things through Java Script or Formcalc....

    Hi Nitin,
    thanks For ur reply,
    i tried with this solution,
    But it is displaying the default Format like bellow formats.
    For short - mm/dd/yy
    For Medium - mmm dd , yyyy
    For Long     - thursday ,mmm dd , yyyy
    it was prinitng in above mentioned format,
    but here i want to print my own format for USA like MM/DD/YYYY.

  • How to set the date and time format from Windows Server 2008 R2

    Hi,
    I want to control my client's date and time format as dd/mm/yyyy format and I need to do it using the windows server 2008 R2. How can I achieve this goal?
    Yoshika04

    Hi,
    In Windows Server 2008 R2, you can use Regional Options Extension in Group Policy Preferences to configure the date and
    time format. For more information, please refer to:
    Regional Options Extension
    http://technet.microsoft.com/en-us/library/cc754496.aspx
    Regards,
    Bruce

  • ESS services date and time format?

    Hi,
    How can we change the date and time format displayed on some of the ESS services like addresses, LR screen?  Currently I see US format date MM/DD/YYYY and time is in european format 12,50 instead of dot(.).
    I tried changing the browser setting to UK but it didn't work.  Any other suggestion please?
    Thanks
    Praveen

    I tried to create a simple WD application with just date control UI element, I can see the date format is displayed based on my browser setting.  If I change it to US in my browser locale, it date format changes to US date format, if I change it to UK locale the date format is UK based. 
    Only my ESS/MSS applications are always displayed as US format.  I checked at the iView level and I can only see ForcedRequestLanguage but I cannot see ForcedRequestCountry property so I'm unable to set any country specific details here.  When I look at the JCo connection language tab, I see the
    Current locale: en
    Default VM locale:  en_US
    I think this is where change is required.  However I changed following JCo languages from en to en_UK but still no luck
    SAP_R3_HumanResources
    SAP_R3_HumanResources_MetaData
    Backend is checked as posted above.
    I checked below which is the second precendence in determining locale
    Portal mandatory locale -- open file prtDefault.properties on server under
    /usr/sap/<SID>/JC#/j2ee/cluster/server#/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/system/properties/
    I cannot find below mandatory parameters in the prtDefault.properties file
    request.mandatorylanguage
    request.mandatorycountry
    However, I found this
    request.defaultlanguage=en
    request.defaultcountry=us
    Is this something I can change?  Or should I replace or should I add mandatoryLanguage/country?
    Can this file be edited through NWA or should this file be edited manually at the file system level?
    Please advice.
    Thanks
    Praveen
    Edited by: Praveen11 on Aug 20, 2009 8:38 AM
    Edited by: Praveen11 on Aug 20, 2009 8:41 AM

  • Fetching SAP Date and Time format

    I am using  "RFC_READ_TABLE"  function module  to fetch SAP table contents using JCO APIs. I need to know the date and time format to parse the values of date and time fields into respective java data types. (I am receiving these values in the form of string using above RFC)
    How can I get date and time format information from SAP server?
    Regards
    Amol

    Hi,
    Through T-Code SU01 in general setting tab   u can do the general setting for  date time, number format
    Type tcode SPRO and Got to general settings -> Define Countries then  restart the system.

  • A question about date and number formats

    Hi,
    I have to change date and number formats from USA to UK format. Is the only place I must do that in user settings (SU01) ? I mean, is this enough or are there any other customizing settings, in FI for example ?
    Thanks in advance,
    Paulo

    I tested very much and the only place we should set it is on user settings

  • Date and number format with JDEV 10 g

    Are there some known bugs in JDEV 10g regarding dates and currency format? I am using bc4j, struts and jsp. I have tried setting the format on the entity and view objects but it works sometimes and sometimes not.

    More info please.

  • Country specific Date and Amount format

    Hi All,
            Is there any way we can change the date and amount format?
    Actually we are printing a Invoice smartform for US.
    Now i want to copy that smartform for European countries for minor changes in the layout. In the same way i have to change the date and amount format. Is there any way we can do with out hardcoding. Please help in this issue.
    Thanks in advance,
    Bhanu P R Gattu.

    We have the same problem. Our WDA is running under a service user which has the US date format. Even if we do
    SET COUNTRY 'DE'.
    It does not change the display format to DD.MM.YYYY but retains MM/DD/YYYY.

Maybe you are looking for