Query regarding date format in BIP

Hi
1. Is there a way to find the date format which is set in the parameter.
for eg.- Suppose there is a parameter Startdate mentioned in the format dd-mm-yyyy. If user chooses Startdate: dd-mm-yyyy, can we find the format, so that we can always convert it to one standard dd-mon-yyyy format?
2. Is there a way to always convert the date to standard dd-mon-yyyy format in BI . Is there an option in BI to do this?
Thanks
Amit

Amit,
Get your date in this format in XML.
YYYY-MM-DDThh:mm:ss+HH:MM
Then there are lot of functions, you can apply on this to get the formatted date you wanted.

Similar Messages

  • Regarding Date Format Conversion

    Hi,
    In my project i am picking the date from the date picker which is a javascript program . Then i am displaying it on a jsp page .It is coming in mm/dd/yyyy format .I have to change it to dd/mm/yyyy format .
    I have the code for date formatting conversion .
    What my doubt is whether  the code should be written inside the jsp page or in the javascript .
    Thanks .

    Hi
    <%@page language="java" import="java.sql.*,java.util.*,java.text.*" %>
    <%SimpleDateFormat sdf= new SimpleDateFormat(dd/mm/yyyy );%>
    <% java.util.Date temp_date = sdf.parse(PassYourDateHere); %>
    use this with your jsp
    Regards
    Abhijith YS

  • Query Regarding Date/Time

    hi!
    I have data in below mention form and i want to find only those records which are between "4/3/2009 16:53" and "4/7/2009 12:02". Please share select Query ?
    ---- bellow records are in date format
    4/3/2009 16:49
    4/3/2009 16:53
    4/3/2009 17:39
    4/7/2009 12:02
    4/7/2009 12:03
    4/8/2009 12:30
    4/9/2009 11:33
    DB 10g (10.2040) on unix-ita
    regards

    Thanks for your response. Problem have resolved. --irfan ahmad                                                                                                                                                                                                   

  • Urgent ......regarding date format in SAP Script

    In my MAIN WINDOW  I have date fields like Date of Manifacture, created date and Expiry date.
    So, currently  I am using SET DATE MASK = 'YYYY-MM' and it is printing same format for all fields.
    But now my requirement is I want to show date for Expiry Date like 'YYYY-MM-DD'. For this I defined one temparary variable in the form like below
    DEFINE &outdate& = &mchar-vfdat&
    SET &outdate& MASK = 'YYYY-MM-DD'.
    but still it is showing format YYYY-MM...
    Plz help me how to print my desired date format...
    I am waiting for ur reply...
    Regards,
    Kumar

    Hi Kishore kumar,
    What you can do is befor printing the Expiry date set the date Mask as 'YYYY-MM-DD' and after printing your Expiry Date again set the DATE MASK to 'YYYY-MM'
    i.e.
    /: SET DATE MASK = 'YYYY-MM-DD'
       &mchar-vfdat&
    /: SET DATE MASK = 'YYYY-MM'
    Regards,
    Sunil

  • Regarding Date Format in Scripts

    Hi
    i'm modifying sales order from. In rvorder01 for i'm getting sale order number and date from &VBDKA-VBELN& / &VBDKA-AUDAT& fields but when i'm printing date (VBDKA-AUDAT) it is printing as 23.09.2007 but my requirement is to print the date in 23/09/2007 format . can any one plzz let me know how to convert date format.
    Thanks & Regards
    Munna

    Use this
    /: SET DATE MASK = 'DD/MM/YYYY'.
    &VBDKA-AUDAT&
    Regards,
    SaiRam

  • Regarding Date format in output text file

    Hi Frnds,
    i am taking the data from vbak table into one internal table T_vbak, in that i am having vdatu field also, and after that using GUI_Download function module i am downloading that internal table data to one text file into presentation server.
    But the date format is displaying in yyyymmdd format in the text file, but i want the format like mm/dd/yyyy in the text file, can anybody plz help me....

    Hey Bala,
    You can use the following conversion routine for converting the date from yyyymmdd format into mm/dd/yyyy.
    data: l_date(10) type c.
    Loop at t_vbak into wa_vbak.
    CONCATENATE wa_vbak-vdatu4(2) wa_vbak-vdatu6(2) wa_vbak-vdatu(4) INTO l_date SEPARATED BY '/'.
    wa_vbak-vdatu = l_date.
    modify t_vbak from wa_vbak.
    Endloop.
    Regards,
    Chetan.
    PS: Reward points if this helps.

  • Regarding Date format in Reports.

    Hi All,
    I want to change the Date format in BEx reports. Currently I am getting MM DD YYYY. But I need it as DD MM YYYY. I had gone thru numerous posting on this issue. I changed the Date Settings in SU3. But still I am not getting the Date in correct format. Is there any other place that I have to correct the Date format???
    Regards
    Jay

    Jayanth,
    I feel in your case, going to the System (in menu)-User Profile-Own data then, you get, Maintain user profile. Here you have the option of Maintaining, Date format.
    Hope this helps....

  • Query on Date Format

    Our customer wishes all the dates to accepted & displayed in the format dd-mmm-yy format (E.g. 10-Oct-11), both on the screen and in reports. How to change the date format? What are the implications of the change in date format. The system is still in the BPP phase. The reason for this customer request is that, they are worried that when they download any report into Excel format, the date will appear in the mm-dd-yyyy format, if it is accepted in SAP in dd-mm-yyyy format. Is this true? I am a bit confused. Please help me.
    -Shambvi

    Hi Shambvi,
    You can change it based on user name via SU3 (Su01) - defaults - Date format.
    It is only representation, so doesn't have an impact on system in general.
    To change it system wide, go to SPRO - SAP Netweaver - General settings - Set countries - Define countries - Double click relevant country code - change date format.
    Regards,
    Dilek
    Edited by: Dilek Adak on Oct 10, 2011 9:05 AM

  • " Query regarding Data transfer from Bi to BO Tool "

    Dear Friends,
                       I am having a query. I have  created a Info-cube and established the universe on the top of the Info-cube.The Dat is coming in the Bi system. When I created a new Webi-report the Data from the ino-cube in the universe is not reflecting the Webi-report .
                         Can anyone tell me the solution for the Data Load in the Webi-report .

    Hi,
    There are two ways to design universe on top of cube/Query.
    1)Olap Universe :Please go through by below link for how to create mdx universe.by this way create one connection and select cube or query and by default designer will replicate cube/query in the universe.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/903a7fc7-19e8-2d10-fa95-b050de946b61?quicklink=index&overridelayout=true
    2) Create Data federator project on top of Cube and then design universe.
    To pull data in the webi report create universe then  select objects and run the query.If data is available in the cube or query that will come in the webi report.
    I have already said webi report pull data at run time.there is no need or no way to load data in the universe or webi.
    Design a universe and create  webi or deski report on top of universe.
    For more information you can search on net can be found documents how to create report.
    Hope this helps you.
    Thanks,
    Amit

  • Regarding date format

    Dear Abapers
    DATA:l_date likE shp_idx_gdrc-lfdat VALUE '20080818',
         v_date(8),
         v_date1(8),
         v_date2 likE shp_idx_gdrc-lfdat.
    v_date     = l_date.
    CONCATENATE v_date6(2) v_date4(2) v_date+0(4) INTO v_date1.
    v_date2 = v_date1.
    WRITE:/1 v_date2.
    i want to display date in 18.08.2008
    but it dispalys 08.20.1808
    can any one help me plz
    thanks in advance,
    regards,
    kishore

    Hello Kishore,
    Did u see in which format SAP stores date values:)) Its in YYYYMMDD.
    Now use this bit of code,
    DATA: L_V_DATE TYPE CHAR10.
    CONCATENATE  V_DATE+6(2)  "Date
                              V_DATE+4(2)  "Month
                              V_DATE+0(4)  "Year
    INTO                   L_V_DATE.
    Sorry Kishore i dint go through the prev post. If you need to update this value to SAP database simply use UPDATE stmt, SAP takes care of this internally. If u need to print this value then use the variable L_V_DATE.
    Edited by: Suhas Saha on Aug 18, 2008 9:17 AM

  • Regarding date format changes

    Hi All,
    I have a date variable.
    Th date variable is v_doc_date which is declared like SY-DATUM.
    I will get value into that variable in format <b>DDMMYYYY</b> EX: <b>18072005</b> now i want make that variable as <b>18.07.2005</b> through Function module.
    Can any body tell me how can we convert DDMMYYYY into DD.MM.YYYY through function module.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi,
    If you are writing it on the screen - use edit mask.
    eg: write v_doc_date using edit mask '__.__.____'.
    Or use this piece of code.
    data: v_date(10),
          v_doc_date like sy-datum.
        v_date0(2) = v_doc_date6(2).
        v_date+2(1) = '.'.
        v_date3(2) = v_doc_date4(2).
        v_date+5(1) = '.'.
        v_date6(4) = v_doc_date0(4).
    If you have to change the date in many places, just put this in a form and call it.

  • Query regarding date

    hello to all
    guy's in a form i m having an item i.e refdate now i want to work it like this
    that i can insert date data in ddmmyy form and when i press tab or move to other item my date should come in the
    dd/mm/yyyy format in refdate item
    plz help me out ....
    Edited by: Navdeep Kaur on Jul 27, 2009 10:08 PM

    Navdeep,
    I wrote DD/MM/RRRR not DD/MM/YYYY. If you use RRRR instead of YYYY, then the user can enter 2 digit year, and it will automatically convert to 4 digit year.
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Regarding Date format in ALV Report

    Dear All,
                  In ALV Reoport I have inserted Field BSTDK table VBKD by comparing vbeln my Date is getting displayed, but Problem is that  i want my date in this format for ex: 29.10.2008 but it is diaplaying as 20081029. this is an ex. same is repeating for all the dates against respective vbeln. 
    code as follows.
    LOOP AT GT_OUT1.
       SELECT SINGLE BSTDK INTO GT_OUT1-BSTDK
             FROM VBKD WHERE VBELN = GT_OUT1-AUBEL.
         MODIFY GT_OUT1.
    ENDLOOP.

    Moderator message - Please see How to post code in SCN, and some things NOT to do... before posting (date question) - post locked
    Rob

  • Query regarding data extraction

    Hello All,
    I am new to ABAP development. I have been assigned to work on a report, where I have to fetch data for a SC, which will be extracted into an flat file.
    Now my requirement is as below:
    Each shopping cart will have a number of different records. The records are of the following types
    Header – Marked with record type = “HEAD”
    Line item – Marked with record type = ”ITEM”
    Accounting line – Marked with record type = ”ACC”
    Approval record – Marked with record type = ”APP”
    Now in this manner I have to fetch the data in an single flat file. Now I am really confused how I am going to do it. I have the tables for header, item, accounting line, approval records. Now my question is am I have to 1st fetch data for header then line then accounts and approval then join this into my final internal table?? Is this the correct approach?
    I am a beginner and your help will be highly appreciated.  
    I have attached a flat file for your reference.
    Regards,
    Sarnava

    So long as you have some unique identifier between each of these tables this shouldn't be a problem. I of course can't see what data you have in the tables but lets say for example you have an account number, then you can create your flat file something like this:
    head,account123,headfield1,headfield2... etc
    item,account123,itemfld1,itemdfld2,....etc
    item,account123,itemfld1,itemdfld2,....etc
    then the same logic of course for the other two lines i.e. the first part of the line is a field which contains "head" or "item" or "acc" or "app", then the unique identifier and then the rest of the records. And you can make it comma seperated or whatever you want. The user picking this up can then also sort it.

  • Query Regarding Data transfer ( Pls Respond Quickly)

    Hi,
    I need to download the data to XML file. I have hard coded the file path in the Report Program. This Report should be shceduled for every night.
    But the problem is that since I have hard coded the path, whenever the program is deployed to production system there will be a problem regarding the file path.
    Can any body throw some light on how to avoid hard coding of the filepath ?
    Reward points are assured.
    Best  Regards
    Bhagat.

    Hey Kishan,
    In that Program the file path was hard coded. Can you let me know the alternate way so that I can avoid hard coding.
    The thing is that that report should be scheduled  for every night.
    Best Regards
    Bhagat.

Maybe you are looking for