Date Format on OWB 11.1.0.7 to use for input parameter for a mapping

All,
What is the Date Format on OWB 11.1.0.7 to use for passing in an input parameter for a mapping to execute?
I have tried '01-01-2010','01-JAN-2010','01.01.2010', 01/01/2010 and I get the following error:
Error RPE-01003: An infrastructure condition prevented the request from completing.
Error RPE-01038: Failed to evaluate expression declare l_expression DATE := 01/01/2010;begin :result := wb_rt_conversions.from_date(l_expression);end;. Please modify the expression, redeploy and retry again.
RA-06550: line 1, column 32:
PLS-00382: expression is of wrong type
ORA-06550: line 1, column 24:
PL/SQL: Item ignored
ORA-06550: line 1, column 90:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 1, column 51:
PL/SQL: Statement ignored
I am using a Mapping Input parameter object and have a START_DATE_IN as a DATE and an END_DATE_IN as a DATE
Any information you could provide would be greatly appreciated.
Thanks,
Shaun

Hello Shaun,
The function wb_rt_conversions.from_date is (at least in OWB10.2) overloaded and can with input-types as
date, timestamp_unconstrained, timestamp_tz_unconstrained, timestamp_ltz_unconstrained or varchar2.
If it doesn't work with varchar2 I would try Date:
For example: to_date('2010-01-01','YYYY-MM-DD')
I also found this thread:
http://kr.forums.oracle.com/forums/thread.jspa?threadID=608257
Hoping this helps...
Guenther

Similar Messages

  • Date format in Bex Output should be changed while using with Text Variable

    I am using a Bex Query where have defined a Text Variable with replacement path. So whatever Date user enters in the selection screen variable (Input Variable) the same date appears in the report description.
    For Ex: If user enters 30.04.2012 in Char Variable/Input Variable before executing the report, so once he executes the report the same date appears on report description like "ABC Analysis as on 20120430". Is also changes the report description whenever user changes the date in selection screen variable.
    My requirement is......Date format should be come as 30.04.2012 (DD.MM.YYYY) instead of 20120430 (YYYYMMDD) in report description.
    Guys could you please help me out to achieve the desired output.
    Rgds,
    Ritu

    Please check if you have selected Replace with Key in that text variable.
    Instead of that select External characteristic value key.
    This should help you in giving the desired output.
    Regards,
    AL

  • Need the format for input file for standard program

    hi can any one please give me the format in which the file to be uploaded to program RFBIBL00 ,
    must be in for example my excel file to be uploaded has the following columns.
    company code
    accounting doc
    line item
    fiscal year
    doc type
    doc date
    so is there any program which can create a file in the format to be uploaded taking this excel sheet.
    i read the documentation but i am little confused about that.
    thank you.

    Ok.. I have created one small test program for RFBIBL00.
    That program uses this file format:
    indicator     company code      fiscal year      doc type      doc date     positng date     header text     Account     posting key      amount      item text      assignment number ....
    H     0001     2007     SA     11/21/2007     11/21/2007     Test from RFBIBL00                         
    D                                   106210     40     123.3     Line 1     
    D                                   106210     50     123.3     Line 2     
    H     0001     2007     SA     11/21/2007     11/21/2007     Test from RFBIBL00                         
    D                                   106210     40     123.3     Line 1     
    D                                   106210     50     123.3     Line 2     
    Copy this data into one notepad and save it as .txt file. you need to provide this path to the test program.
    The source code of the program (Currently it is only test version):
    *& Report  ZTEST_NP_RFBIBL00
    REPORT  ZTEST_NP_RFBIBL00.
    TABLES:  BGR00,                        " Batch-Input Mappendaten
             BBKPF,                        " Batch-Input Tcode + Belegkopf
             BBSEG,                        " Batch-Input Belegsegment
             BBTAX,                        " Batch-Input Belegsteuern
             BSELK,                        " Batch-Input Selektionskopf
             BSELP.                        " Batch-Input Sel.positionen
    DATA: BEGIN OF IT_FILE OCCURS 0,
          IND,
          BUKRS(4),
          GJAHR(4),
          BLART(2),
          BLDAT(10),
          BUDAT(10),
          BKTXT(25),
          HKONT(10),
          BSCHL(2),
          DMBTR(17),
          SGTXT(30),
          ZUONR(17),
          END   OF IT_FILE.
    DATA:    C_NODATA(1)  TYPE C VALUE '/'.   " NODATA
    SELECTION-SCREEN: BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-T01.
    PARAMETERS:       P_LFILE TYPE CHAR70 OBLIGATORY,
                      DS_NAME TYPE CHAR70 OBLIGATORY LOWER CASE,  "< Server file
                      GR_NAME(12) TYPE C DEFAULT 'FI_TEST'.
    SELECTION-SCREEN: END   OF BLOCK BLK1.
    START-OF-SELECTION.
      PERFORM UPLOAD_DATA.
      OPEN DATASET DS_NAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      PERFORM INIT_STRUKTUREN_ERZEUGEN(RFBIBLI0) USING C_NODATA.
      PERFORM SET_DATA.
      CLOSE DATASET DS_NAME.
      PERFORM SUBMIT_RFBIBL00.
    *&      Form  upload_data
    FORM UPLOAD_DATA .
      DATA: L_FILE TYPE RLGRAP-FILENAME.
      L_FILE = P_LFILE.
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          FILENAME                      = L_FILE
          FILETYPE                      = 'DAT'
    *    HAS_FIELD_SEPARATOR           = ','
        TABLES
          DATA_TAB                      = IT_FILE
      IF SY-SUBRC <> 0.
        MESSAGE S398(00) WITH 'Error while uploading'.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " upload_data
    *&      Form  set_data
    FORM SET_DATA .
      PERFORM SET_BGR00.
      LOOP AT IT_FILE.
        CASE IT_FILE-IND.
          WHEN 'H'.
            PERFORM SET_BBKPF.
          WHEN 'D'.
            PERFORM SET_BBSEG.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                    " set_data
    *&      Form  set_BGR00
    FORM SET_BGR00 .
      PERFORM INIT_BGR00(RFBIBLI0) USING BGR00.
      BGR00-MANDT = SY-MANDT.
      BGR00-GROUP = GR_NAME.
      BGR00-USNAM  = SY-UNAME.
      BGR00-NODATA = C_NODATA.
      TRANSFER BGR00 TO DS_NAME.
    ENDFORM.                                                    " set_BGR00
    *&      Form  set_bbkpf
    FORM SET_BBKPF .
      PERFORM INIT_BBKPF(RFBIBLI0) USING BBKPF.
      BBKPF-TCODE     = 'FB01'.
      BBKPF-BLART     = IT_FILE-BLART.
      BBKPF-BUKRS     = IT_FILE-BUKRS.
      BBKPF-BLDAT+0(6) = IT_FILE-BLDAT+0(6).
      BBKPF-BLDAT+6(2) = IT_FILE-BLDAT+8(2).
      BBKPF-BUDAT+0(6) = IT_FILE-BUDAT+0(6).
      BBKPF-BUDAT+6(2) = IT_FILE-BUDAT+8(2).
      TRANSFER BBKPF TO DS_NAME.
    ENDFORM.                    " set_bbkpf
    *&      Form  set_bbseg
    FORM SET_BBSEG .
      PERFORM INIT_BBSEG(RFBIBLI0) USING BBSEG.
      BBSEG-NEWKO = IT_FILE-HKONT.
      BBSEG-NEWBS = IT_FILE-BSCHL.
      BBSEG-WRBTR = IT_FILE-DMBTR.
      BBSEG-SGTXT = IT_FILE-SGTXT.
      TRANSFER BBSEG TO DS_NAME.
    ENDFORM.                    " set_bbseg
    *&      Form  submit_rfbibl00
    FORM SUBMIT_RFBIBL00 .
      SUBMIT RFBIBL00 WITH DS_NAME = DS_NAME
                      WITH CALLMODE = 'B'
                      WITH XLOG = 'X'
                      AND RETURN.
    ENDFORM.                    " submit_rfbibl00
    If you have any problem getting file, send me an e-mail (my id is on my business card) I will send you the file as a attachment
    Regards,
    Naimesh Patel

  • Including a date in a photo caption and being able to use the search function for the date

    I have included both a text and a date as part of the photo caption on each of my photos.   When I have attempted to search for a specific date or year, however, nothing comes up.   For example, if I search for my photo on "Fido 1985", I can find Fido, but if I simply enter "1985", I get nothing.

    Use Find >> By Caption Name or Note menu option for such a search.
    Thanks
    Andaleeb

  • Problem with date format mask 'D'

    I am experiencing an extremely thorny problem with the date format mask ‘D’. I am trying to use it to check whether today is a Monday. The variable v_temp_day is set to sysdate. For the last 4 weeks the code has behaved erratically – giving a different result at 02:00 than at 10:30 even though it is only taking account of the date. In desperation I inserted a debug statement formatting the date in a variety of ways – with interesting results. Oracle is somehow managing to tell us that today is simultaneously Monday and Tuesday depending on which format mask you choose. Anyone got any thoughts or suggestions?
    PROC_ID TO_CHAR(STAMP_TIM
    EVENT_SQLERRM
    RRHKP010 17092007 02:00:00
    TO_NUMBER( TO_CHAR( v_temp_day, D ) ) = 2. TO_CHAR( v_temp_day, D ) = 2. TO_CHAR( v_temp_day, DY ) = MON. TO_CHAR( v_temp_day, DAY )
    = MONDAY . TO_CHAR( v_temp_day, Day DD-MON-YYYY HH24MISS ) = Monday 17-SEP-2007 020000. TO_CHAR( v_temp_day, D ) = 2.
    SQL> select to_char( sysdate, 'D' ) from dual ;
    T
    1

    My book says the trunc(d,'iw') will return "same day of the week as Jan 1st of that year"It's bad book.
    Please read about [url http://oraclesvca2.oracle.com/docs/cd/B10501_01/server.920/a96540/functions176a.htm#80159]TRUNC & 'IW' Format Model and [url http://oraclesvca2.oracle.com/docs/cd/B10501_01/server.920/a96529/ch3.htm#50331]Database Globalization Support Guide: First Calendar Week of the Year in the manual.

  • How to change the date format?

    Hi,
    I need to display the data format as(YYYY-MM-DD). But now it displays(2009-1-9)
    Here is my code snippet which i used to display the data format as(2009-1-9)
    *<INPUT TYPE=TEXT NAME="date_submitted" MAXLENGTH=20 SIZE=10 VALUE="" onBlur= "return dateSubmitted()">  (YYYY-MM-DD)*
    *<SCRIPT LANGUAGE="javascript">*
    dateSubmitted()
    *</SCRIPT>*
    function dateSubmitted()
                        if (document.pgUpdate.date_submitted.value == "")
                             date = new Date();     
                             month = date.getMonth() + 1     
                             document.pgUpdate.date_submitted.value =
                                            date.getYear() + "-" + month + "-" + date.getDate();
                        return true;
    Can anybody help me how to change the date format?
    Thanks in advance!

    prit123 wrote:
    use SimpleDateFormat class. The code is :He posted a Javascript related question, not a Java related question.
    Please use forums devoted to Javascript. You're here at a Java/JSP forum.
    There are JS forums at webdeveloper.com and dynamicdrive.com. Good luck.
    String formatPattern = "yyyy-mm-dd";
    SimpleDateFormat sdf = new SimpleDateFormat(formatPattern);
    sdf.format(yourdate);yyyy-mm-dd denotes year-minutes-days. Please go read the SimpleDateFormat API as well.

  • How to convert the date format 'm/d/yyyy hh:mi:ss AM' to 'MM/DD/YYYY HH:M'

    How can i convert a the date format 'm/d/yyyy hh:mi:ss AM' to 'MM/DD/YYYY HH:MI:SS AM' in Oracle
    I have a query
    select UPPER(t.val_10) "TYPE", count(val_3) "Number of Transfers"
    from table1 t
    where t.is_active = 1
    and t.val_4 = 'INBOUND'
    and to_date(to_date(val_5,'MM/DD/YYYY HH:MI:SS AM'), 'DD/MM/YY') between to_date(to_date('01/08/2008 00:00:00','DD/MM/YYYY HH24:MI:SS'), 'DD/MM/YY') and add_months(to_date(to_date('01/08/2008 00:00:00','DD/MM/YYYY HH24:MI:SS'), 'DD/MM/YY'),1)
    group by UPPER(t.val_10)
    order by UPPER(t.val_10)
    I get the error [ORA-01861: literal does not match format string which i think is because
    val_5 has the values in the following format:
    8/29/2008 6:31:10 PM
    Does anyone have an answer?
    Thanks in advance
    Edited by: user2360027 on 26-Mar-2009 03:50                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    first off, you've got to_date(to_date(...)) - NEVER do this - you're forcing an implicit to_char which can cause all sorts of problems!
    What is the data type of your column val_5? If it's DATE then your query is simply:
    select UPPER(t.val_10) "TYPE",
           count(val_3) "Number of Transfers"
    from   table1 t
    where  t.is_active = 1
    and    t.val_4 = 'INBOUND'
    and    val_5 between to_date('01/08/2008','DD/MM/YYYY') and add_months(to_date('01/08/2008','DD/MM/YYYY') ,1)
    group by UPPER(t.val_10)
    order by UPPER(t.val_10)If it's a varchar2 (why, oh why, oh why, ...?!), then your query should be:
    select UPPER(t.val_10) "TYPE",
           count(val_3) "Number of Transfers"
    from   table1 t
    where  t.is_active = 1
    and    t.val_4 = 'INBOUND'
    and    to_date(val_5, 'mm/dd/yyyy hh:mi:ss AM') between to_date('01/08/2008','DD/MM/YYYY') and add_months(to_date('01/08/2008','DD/MM/YYYY') ,1)
    group by UPPER(t.val_10)
    order by UPPER(t.val_10)Remember that dates in DATE format are stored in an internal Oracle format - in order for you to tell Oracle that your string is a date, you need to use to_date. When you want to retrieve a date, you need to use to_char to put it into the format you want to see it in.
    Remember also that your nls_date_format defines the default format that you'll see a date, which is what is used in the implicit conversion that oracle does when you select a date:
    SQL> alter session set nls_date_format='dd/mm/yyyy hh24:mi:ss';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    26/03/2009 11:01:53
    1 row selected.
    SQL> alter session set nls_date_format='mm/dd/yy hh12:mi:ss AM';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    03/26/09 11:02:24 AM
    1 row selected.It doesn't make sense to convert something that's already in a DATE format into a DATE format - in order to do that, oracle has to first change the date into a string, and it does that by using the nls_date_format parameter setting - if you're working with dates-in-strings that are in a different format, then all sorts of problems arise, as you have found out!

  • SSAS Cube parameter date format change

    Hi Experts,
    I am new to SSRS report creation. I have a parameter which is fetching date from cube. The date format from cube is YYYY-MM-DD.
    I want expression to change the date format to DD/MM/YYYY.
    I have used this expression - =Format(CDATE(Parameters!DimPromoUBUBStartDate.Value),"dd/MM/yyyy")
    but it is not working and getting the following error,
    "unable to cast object of type 'System.object[]' to type 'system Iconvertible'
    Please give your suggestions
    Thanks in Advance,
    Rajan

    Hi Rajan,
    According to your description, when you convert the "YYYY-MM-DD" formatted data from the parameter and change the format, it throw the error above. Right?
    In this scenario, the reason why you get this error because you set allow multiple values in that parameter. When we allow multiple values in a parameter, all select values will be put into a array when processing even you only select one value. And
    the CDate() function can't convert the object[]. So please unselect the allow multiple values in parameter. If you want to keep multiple values selection, you can only convert one element from the array. For example: CDate(Parameter!XXXX.Value(0))
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Date format in BW report

    Hi All,
    When i execute a query in BW 3.5, the date format is displayed as dd.mm.yyyy instead of dd/mm/yyyy.
    for some values it is coming in dd/mm/yyyy and for some values it is displaying as dd.mm.yyyy in the same query.

    This is determined by your personal configuration setting for date format. On the SAP GUI Easy Access menus at the top of the screen, go to System --> User Profile --> Own Data, then choose the Defaults tab and change the setting for Date Format to "DD/MM/YYYY".
    There is probably a "global" setting for this in the IMG, as well.
    Hope this helps...
    Bob

  • Date format in the Web layout of Oracle 10g Reports

    Dear all,
    I want to change the date format in the oracle reports. I am using weblayout & paper layout. I have changed format mask using property inspector. It appears in paper layout. How can i get in the weblayout, please help me.
    With Regards,
    Srinivas

    Hi Srinivas,
    I think whatever applicable in Paper Layout should be applicable to Web Layout also.
    Regards,
    Raj

  • Date format in PDF "Printer friendly"

    I am using obiee 10.1.3.4.1
    Is it possible to change date format in PDF files that are exported with "Printer friendly" option?
    For example I have prompt with date 01.12.2011.
    I want to export whole dashboard (prompt with report) to PDF with "Printer frienldy" button. But this generates PDF with prompt where is my selected date in different format 2011-12-01
    I would like to have same date format in PDF as it is in my prompt...

    date separator is "." in my case and dateOrder is "dmy"
    my complete localeDefinition is bellow
    <localeDefinition name="cs-cz"> <!-- czech -->
    <property name="localeDisplayMessage">kmsgLocaleName_csCZ</property>
    <property name="defaultLanguage">cs</property>
    <property name="characterSetList">locale:cs</property>
    <property name="listSeparator">;</property>
    <property name="decimalSeparator">,</property>
    <property name="thousandsSeparator"> </property>
    <property name="dateSeparator">.</property>
    <property name="timeSeparator">:</property>
    <property name="timeFormat">H:mm:ss</property>
    <property name="dateShortFormat">d.M.yyyy</property>
    <property name="dateLongFormat">d. MMMM yyyy</property>
    <property name="negativeNumberTemplate">-#</property>
    <property name="collationImplementation">win:0405</property>
    <property name="dateOrder">dmy</property>
    <property name="24hours" xsi:type="xsd:boolean">true</property>
    <property name="am">dop.</property>
    <property name="pm">odp.</property>
    <property name="firstDayOfWeek" xsi:type="decimal">0</property>
    <property name="monthNames">
    <property>leden</property>
    <property>únor</property>
    <property>březen</property>
    <property>duben</property>
    <property>květen</property>
    <property>červen</property>
    <property>červenec</property>
    <property>srpen</property>
    <property>září</property>
    <property>říjen</property>
    <property>listopad</property>
    <property>prosinec</property>
    </property>
    <property name="abbrevMonthNames">
    <property>I</property>
    <property>II</property>
    <property>III</property>
    <property>IV</property>
    <property>V</property>
    <property>VI</property>
    <property>VII</property>
    <property>VIII</property>
    <property>IX</property>
    <property>X</property>
    <property>XI</property>
    <property>XII</property>
    </property>
    <property name="dayNames">
    <property>pondělí</property>
    <property>úterý</property>
    <property>středa</property>
    <property>čtvrtek</property>
    <property>pátek</property>
    <property>sobota</property>
    <property>neděle</property>
    </property>
    <property name="abbrevDayNames">
    <property>po</property>
    <property>út</property>
    <property>st</property>
    <property>čt</property>
    <property>pá</property>
    <property>so</property>
    <property>ne</property>
    </property>
    <property name="dateFormats">
    <property>d.M.yyyy</property>
    <property>d. MMMM yyyy</property>
    <property>d.M.yy</property>
    <property>yyyy-MM-dd</property>
    </property>
    <property name="timeFormats">
    <property>H:mm:ss</property>
    <property>HH:mm:ss</property>
    <property>h:mm:ss tt</property>
    </property>
    </localeDefinition>

  • Date format on form submit

    After setting up the date formats with the developer toolbox, the help instructs you to insert KT_formatDate($row_rsRecordset['name_emp']) into your pages. This works great for displaying data, however I can't find what to do to fix the date format upon submitting a form. I am using the Insert Record server behavior and assume the KT_formatDate needs to be added there, but no matter where I put it it doesn't seem to work. Any ideas?

    Hi Megan,
    ADDT provides a variety of so-called "dynamic data" placeholders which can be used when inserting/updating records. In your case the placeholders in question are...
    {NOW} for MySQL date columns
    {NOW_DT} for MysQL datetime columns
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Date Format in VC

    Hi,
    We have a details table where there is particular date field which is automatically displayed as plain text. The user can edit these records by selecting the line item. The date value should be given in the Date Picker for the user to change the values if needed.
    The format in which the date field displayed as text in the table is YYYYMMDD (20101021). I need to display this field in the date format as DD.MM.YYYY. I tried using the formula something like this
    DATE(MID(@Expected_Resolution_Date,1,4),MID(@Expected_Resolution_Date,5,2),MID(@Expected_Resolution_Date,7,2)) - This will give the year, month and date fields separately.
    Only DSTR has the option of providing the format in the date function so I tried something like DSTR(DATE(MID(@Expected_Resolution_Date,1,4),MID(@Expected_Resolution_Date,5,2),MID(@Expected_Resolution_Date,7,2)) ,"DD.MM.YYYY")
    It throws me a error Expected date value/expression. Can someone help me out here? I need to convert in this date format and show it in the date picker.
    Thanks,
    Nagarajan.

    I fixed the problem by playing around with the formula editor.
    Thanks.

  • How to change date format for prentation variable

    Hi experts
    In my prompt the date format is MM/DD/YYYY . I have created one presentation variable for that but i want to use this in Formula as well in Title as: DD-MON-YY
    So how can i achieve it..
    Thanks in advance
    Regards
    Frnds

    Hi
    i think this can't be done through any code like oracle uses to_char, to_date function.
    Just follow this
    http://oraclebizint.wordpress.com/2007/12/19/oracle-bi-ee-101332-dates-dates-and-dates/
    With this, wherever you have this column, you will be getting this format dates..
    if you don't want in reports you can change it by mentioning the data format for that paricular column in report, but for the same column, if you want different format at different places (for prompts), you can't do that..

  • Non US date format within Workspace and Guides

    Is is possible to change the date format displayed within the workspace and Guides to a non US date format?
    This really is a show stopper for us as our standard date format is DD/MM/YYYY and the forms won't be usable for our staff if they are not in this format.

    For Workspace, the date format strings are provided in the localized resource swfs so if you need to change them, can either update the resource swf in question, or possibly provide a new one for the locale you really want to service.  The shipping english swf is named workspace_rb_en_US.swf so maybe you want to provide another one with a different en_XX suffix.  The Workspace source is shipped with the product and I think the Customizing Workspace doc explains how to do this.  The ES2 version of the doc may not be ready yet, but the ES version should explain the concepts.  You may need a hotfix to get the proper ant scripts to build it, but you would have to check with support on this.

Maybe you are looking for

  • Data Modeler How to display the "relationship name" vertically

    Is there any way to display the relationship name vertically. In Designer, it used to be like that.

  • Item division level security for VB01,VB11,VBN1 and VK11

    Hi, I have a security requirement to have division level security for tcode VB01. Need some help here..... Scenario is that we have two users belonging to two different divisions. Both have authorisation for VB01 but we need to restrict access such t

  • Coldfusion 7 and Oracle Thin Driver

    I have recently upgraded to CFM 7 from CF 5. I am getting this error when I run my stored procedure: ***Attribute validation error for tag procparam. The tag does not have an attribute called MAXROWS. The valid attribute(s) are value, cfsqltype, scal

  • Patch upgrade in Source system ECC 6

    Hi, We are plannig Patch upgrade in the ECC 6 r/3 System. This is source system for BI7 (NW2004s). I want to know, we beibg a BI consultant 1. What we need to check in ECC on patch upgrade. 2. What precautions we need to take for better facilitating

  • Rsync on NCS appliance

    Hello we used to run WCS as a software application on a Linux platform and saved all our daily Client Session reports on the disk and then used rsync to grab the details and process them off line. We have recently bought an NCS appliance and do not s