Run time Date parameter Issue

hi,
In my report i have 3 parameters, one is date and another parameters are string
there is no problem with string parameters
Problem in date parameter is if i given the date by using date picker the reports is running, never end
if i hardcode the date in sql query itself, it give the output in seconds,
Why it is behave like that, can any one please let me know the possible ways to pass the date parameter in runtime.
Thanks,
Mohan

hi,
We are selecting the date from date picker only, for the given records also available.
The format which i hard coded into sql is equivalent to the format return from date picker.
I given the date picker java date format is dd-MMM-yy so it takes the date like '28-Apr-11'
still it is not working,
Thanks,

Similar Messages

  • Run time data source credentials in SUP

    Hi Experts,
    I am trying to use run time data source credentials for a custom application which I developed for iphone. But during run time I get JCO error - Incorrect username/password. However if I use normal static connections then I am able to fetch data.
    Has anyone encountered similar issue with SUP ?
    Regards,
    Victor

    I can be wrong, but I will try to help you.
    Did you get this problem when you are trying to deploy the MBO?
    IF yes make sure that you are using same user/pass that you use in the back-end, usually the application uses the sup credencial {supAdmin/s3pAdmin}. You can use the openDS to create a new user <SUPInstall>.....\openDS\bat\control-panel.bat after you create a new user, and when you login in, user will be automatic linked to the device.
    and check if you have the latest JCO connector [dll's and jar's] placed in the right place.
    I hope I helped you.

  • Run time data of ME21N

    Hello People,
    I need to check whether the user has inputted the print parameters in message box of me23n.
    where do i get these print data on run time.
    thanks in advance.
    regards,
    roshan.

    Sorry, None of them exists...
    is there any Fm which gives run time data?
    regards,
    roshan.

  • Run time data binding via FormCalc/JavaScript+wrong text formating

    Hello Everybody
    I need to print a text block with company details depending on company code (different details for different codes). I tried to use this code for event "calculate":
    if ($record.LS_HEADER.BUKRS == "1000") then
    $ = $record.COMP_DETAILS_1000
    elseif ($record.LS_HEADER.BUKRS == "1000") then
    $ = $record.COMP_DETAILS_2000
    endif
    $record.COMP_DETAILS_1000, $record.COMP_DETAILS_2000 are elements from the form context which are linked to textmodules.
    This code works and it prints correct textmodules for different company codes. But the printed text is not formated like text in the textmodules. The most important thing here is that these texts are always printed as a single long string and I need paragraphs like in the textmodules. It's a problem... If I use a statical binding (without FormCalc programming) the text modules will be printed with correct formating.
    Using of checkbox "Allow Multiline Lines" hasn't helped here...
    Have you any idea how should I do the run time data binding?
    Thank you very much in advance!

    Hello,
    the important part is "If I use a statical binding (without FormCalc programming) the text modules will be printed with correct formating." That means you can get the text in the shape you want. Just do that. Get all the texts. Next use the JS/FC scripting to hide all but one text. You get only one text to display and you use static binding to get the proper text format.
    Hope this helps, Otto

  • Run time data types

    Hello every body,
    i want to create a run time data type CHAR_10 
    IS THERE ANY WAAY like
    create data dataref type ('C').
    this statement creates a data reference of type C
    but can i specify CHAR_10
    create data dataref type ('CHAR_10')??????

    Hi,
      Try using the field-symbols..
      FIELD-SYMBOLS: <FS> TYPE ANY.
      DATA: V_CHAR(10) VALUE 'TEST'.
      ASSIGN V_CHAR TO <FS>.
      WRITE: / <FS>.
    Thanks,
    Naren
    Thanks,
    Naren

  • Date Parameter Issue in XML Report

    Hi,
    I have developed a custom report using xml data definition, but it returns an error when running with date parameters.
    I have given the parameters like this..
    <?xml version='1.0' encoding='windows-1252'?>
    <dataTemplate name="XXX_REP" description= "XXX Report">
    <properties>
    <property name="xml_tag_case" value="upper"/>
    </properties>
    <parameters>
    <parameter name="P_ORG_ID"/>
    <parameter name="P_DIFFRENCE"/>
    <parameter name="P_FROM_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_TO_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_FROM_SO"/>
    <parameter name="P_TO_SO"/>
    </parameters>
    <lexicals></lexicals>
    <dataQuery>
    <sqlstatement name="Q1">
    --- />
    Error -
    XDO Data Engine Version No: 5.6.3
    Resp: 21623
    Org ID : 84
    Request ID: 670920
    All Parameters: P_ORG_ID=:P_DIFFRENCE=BREIF:P_FROM_DATE="2013/03/01 00:00:00":P_TO_DATE="2013/03/28 00:00:00":P_FROM_SO=:P_TO_SO=
    Data Template Code: XXX_REP
    Data Template Application Short Name: ONT
    Debug Flag: N
    {P_FROM_SO=, P_TO_SO=, P_TO_DATE=2013/03/28 00:00:00, P_DIFFRENCE=BREIF, P_FROM_DATE=2013/03/01 00:00:00, P_ORG_ID=}
    Calling XDO Data Engine...
    --SQLException
    java.sql.SQLDataException: ORA-01830: date format picture ends before converting entire input string
    Please help me to solve this issue?
    Thanks

    Please find the sql query,
    <?xml version='1.0' encoding='windows-1252'?>
    <dataTemplate name="XXX_REP" description= "Free Issue Audit Report">
    <properties>
    <property name="xml_tag_case" value="upper"/>
    </properties>
    <parameters>
    <parameter name="P_ORG_ID"/>
    <parameter name="P_DIFFRENCE"/>
    <parameter name="P_FROM_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_TO_DATE" dataType="date" format="RRRR/MM/DD HH24:MI:SS"/>
    <parameter name="P_FROM_SO"/>
    <parameter name="P_TO_SO"/>
    </parameters>
    <lexicals></lexicals>
    <dataQuery>
    <sqlstatement name="Q1">
    <![CDATA[
    SELECT tb2.name "OPR_UNIT",
    tb2.org_id "ORG_ID",
    tb2.header_id "HEADER_ID",
    tb2.order_number "ORDER_NUMBER",
    tb2.line_number "LINE_NUMBER",
    tb2.segment1 "ITEM",
    tb2.description "ITEM_DESC",
    tb2.ordered_date "ORDER_DATE",
    tb2.ordered_quantity "ORDER_QTY",
    free_qty "FREE_QTY",
    (tb2.ordered_quantity - tb2.free_qty) "DIFFRENCE"
    FROM (SELECT tb1.name,
    tb1.org_id,
    tb1.header_id,
    tb1.line_id,
    tb1.order_number,
    tb1.line_number,
    tb1.segment1,
    tb1.description,
    tb1.ordered_date,
    tb1.ordered_quantity,
    --xt.free_quantity "FREE_QTY",
    (SELECT XX_FREE_ISSUE_DISC_REP (oll.header_id, oll.line_id)
    FROM oe_order_lines_all oll
    WHERE oll.header_id = tb1.header_id
    AND oll.inventory_item_id = tb1.inventory_item_id
    AND unit_selling_price != 0 -- and oll.shipping_instructions is null
    free_qty,
    -- (tb1.ordered_quantity - xt.free_quantity) "DIFFRENCE",
    tb1.inventory_item_id
    FROM xx_free_issue xt,
    (SELECT ou.name,
    oh.org_id,
    oh.header_id,
    oh.order_number,
    ol.line_id,
    ol.line_number,
    it.segment1,
    it.description,
    ol.ordered_quantity,
    TO_CHAR (oh.ordered_date, 'DD-MON-YYYY') ordered_date,
    ol.inventory_item_id,
    ol.shipping_instructions
    FROM oe_order_headers_all oh,
    oe_order_lines_all ol,
    hr_all_organization_units ou,
    mtl_system_items_b it
    WHERE oh.header_id = ol.header_id
    AND oh.org_id = ou.organization_id
    AND ol.inventory_item_id = it.inventory_item_id
    AND ol.ship_from_org_id = it.organization_id
    -- AND ol.price_list_id = 6007 --Free Issues
    AND ol.shipping_instructions = 'Free Issue'
    --AND oh.order_number = '1001385'
    ) tb1
    WHERE TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    xt.effective_date_from,
    SYSDATE))
    AND TO_DATE (
    NVL (
    xt.effective_date_to,
    SYSDATE))
    AND tb1.inventory_item_id = NVL (xt.item_id, xt.free_item_id)
    AND TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    :P_FROM_DATE,
    tb1.ordered_date))
    AND TO_DATE (
    NVL (
    :P_TO_DATE,
    tb1.ordered_date))
    AND tb1.header_id BETWEEN NVL (:P_FROM_SO, tb1.header_id)
    AND NVL (:P_TO_SO, tb1.header_id)
    AND tb1.org_id IN (:P_ORG_ID, tb1.org_id)) tb2
    where (tb2.ordered_quantity - tb2.free_qty) = decode(:P_DIFFRENCE ,'DETAIL',(tb2.ordered_quantity - tb2.free_qty))
    union
    SELECT tb2.name "OPR_UNIT",
    tb2.org_id "ORG_ID",
    tb2.header_id "HEADER_ID",
    tb2.order_number "ORDER_NUMBER",
    tb2.line_number "LINE_NUMBER",
    tb2.segment1 "ITEM",
    tb2.description "ITEM_DESC",
    tb2.ordered_date "ORDER_DATE",
    tb2.ordered_quantity "ORDER_QTY",
    free_qty "FREE_QTY",
    (tb2.ordered_quantity - tb2.free_qty) "DIFFRENCE"
    FROM (SELECT tb1.name,
    tb1.org_id,
    tb1.header_id,
    tb1.line_id,
    tb1.order_number,
    tb1.line_number,
    tb1.segment1,
    tb1.description,
    tb1.ordered_date,
    tb1.ordered_quantity,
    --xt.free_quantity "FREE_QTY",
    (SELECT XX_FREE_ISSUE_DISC_REP (oll.header_id, oll.line_id)
    FROM oe_order_lines_all oll
    WHERE oll.header_id = tb1.header_id
    AND oll.inventory_item_id = tb1.inventory_item_id
    AND unit_selling_price != 0 -- and oll.shipping_instructions is null
    free_qty,
    -- (tb1.ordered_quantity - xt.free_quantity) "DIFFRENCE",
    tb1.inventory_item_id
    FROM xx_free_issue xt,
    (SELECT ou.name,
    oh.org_id,
    oh.header_id,
    oh.order_number,
    ol.line_id,
    ol.line_number,
    it.segment1,
    it.description,
    ol.ordered_quantity,
    TO_CHAR (oh.ordered_date, 'DD-MON-YYYY') ordered_date,
    ol.inventory_item_id,
    ol.shipping_instructions
    FROM oe_order_headers_all oh,
    oe_order_lines_all ol,
    hr_all_organization_units ou,
    mtl_system_items_b it
    WHERE oh.header_id = ol.header_id
    AND oh.org_id = ou.organization_id
    AND ol.inventory_item_id = it.inventory_item_id
    AND ol.ship_from_org_id = it.organization_id
    -- AND ol.price_list_id = 6007 --Free Issues
    AND ol.shipping_instructions = 'Free Issue'
    --AND oh.order_number = '1001385'
    ) tb1
    WHERE TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    xt.effective_date_from,
    SYSDATE))
    AND TO_DATE (
    NVL (
    xt.effective_date_to,
    SYSDATE))
    AND tb1.inventory_item_id = NVL (xt.item_id, xt.free_item_id)
    AND TO_DATE (tb1.ordered_date) BETWEEN TO_DATE (
    NVL (
    :P_FROM_DATE,
    tb1.ordered_date))
    AND TO_DATE (
    NVL (
    :P_TO_DATE,
    tb1.ordered_date))
    AND tb1.header_id BETWEEN NVL (:P_FROM_SO, tb1.header_id)
    AND NVL (:P_TO_SO, tb1.header_id)
    AND tb1.org_id IN (:P_ORG_ID, tb1.org_id)) tb2
    where (tb2.ordered_quantity - tb2.free_qty) != decode(:P_DIFFRENCE ,'BREIF',0)
    ORDER BY 4,5 --tb2.order_number, tb2.line_number
    ]]>
    </sqlstatement>
    </dataQuery>
    <dataStructure>
    <group name="G1" source="Q1">
    <element name="OPR_UNIT" value="OPR_UNIT"/>
    <element name="ORG_ID" value="ORG_ID"/>
    <element name="HEADER_ID" value="HEADER_ID"/>
    <element name="ORDER_NUMBER" value="ORDER_NUMBER"/>
    <element name="LINE_NUMBER" value="LINE_NUMBER"/>
    <element name="ITEM" value="ITEM"/>
    <element name="ITEM_DESC" value="ITEM_DESC"/>
    <element name="ORDER_DATE" value="ORDER_DATE"/>
    <element name="ORDER_QTY" value="ORDER_QTY"/>
    <element name="FREE_QTY" value="FREE_QTY"/>
    <element name="DIFFRENCE" value="DIFFRENCE"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Thanks

  • Sap function used in crystal- date parameter issue

    have a function developed in sap and it is using date parameters in the function
    i can run the function in sap and retrieve records
    when i create a report from the function and create my date parameter to use in the record selection
    and i enter my parameter values to run the report, it doenst retrieve any records
    i have hardcoded dates
    i am using this in the record selection
    if hasvalue({?Run Date}) then {?Run Date} else currentdate
    any ideas?

    Actually, what are you returning?  In your record selection, what date are you trying to filter?  Set your formula equal to whatever you want to return in the report:
    if (not hasvalue({?Run Date})) then REPORT FIELD = currentdate  else REPORT FIELD = {?Run Date}

  • Primary Key Multiple Column with Date - parameter issue

    All,
    I am having an issue that I cannot find the answer to. I have looked high and low to no avail. Please help.
    The issue at hand is that I have a table that has a multiple column primary key and one of the columns happens to be a date and the other is a string. I have a basic search and I want an update picture in the results table that the users can click on and go to a different page to update that record. The issue is when I fire an action based on the update picture I also want to set parameters based on the record that I selected. So I set the string parameter and that works fine. The issue is with the date. When i set the date parameter it works but it chops off the timestamp. Later when I try to get this parameter 'pageContext.getParameter("dateParameter");' it will bring in a date like 15-Dec-2008 but I need the entire date and timestamp (i.e. 15-Dec-2008 10:20:33) to correctly identify the record.
    Please help!
    Thanks,
    Colby J

    Hi
    since every parameter go in url as a string format so u will never get the date parameter with complete timestamp,the solution would de
    1.) Set a fire action on update picture,give its event name as "update",
    2.) clicking on update picture will fire this event .
    3.) in processFormrequest method of controller
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if ("update".equals(pageContext.getParameter("event")))
    // this will give the select row where update is clicked
    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    VORowImpl row = (EmployeeSummaryVORowImpl)am.findRowByRef(rowReference);
    Timestamp sdateVal=(String)row.getAttribute("Date value");
    // this will transfer the values to next page
    pageContext.putTransactionTransientValue("transferdvalue",sdateVal);
    // and in the next page u can get the value like this
    timestamp getDateVal=pageContext.getTransactionTransientValue("transferdvalue"l);
    hope this will resolve your issue,Please let me know if u face any issue
    thanx
    Pratap

  • Can't retrieve username using expression builder on a run time data control

    Here's the scenario:
    1. I added a Data Control resource in WebCenter Spaces, which has one paramater to get: username.
    2. I added the Data Control in Oracle Composer, and selected the return method to show as a read only form.
    3. In adding the Return method, under DC Parameters I have to get the username and place it on my parameter, ie: arg0 = username. arg0 is my data control parameter.
    I tried using every possible code there is in the Expression Editor to retrieve the username, but I keep getting null when I test it. I've tried *#{securityContext.userName}*, *#{webCenterProfile[securityContext.userName].userName}*. I also tried creating a page parameter, and use it like this: *#{bindings.myUsername}*, but still won't work. Its always null.
    How do I retrieve the username and bind it to the parameter of my data control using expression editor? Please help. Thanks.
    Edited by: aeriaL18 on Aug 13, 2012 12:15 PM

    Hi ,
    I believe this should be posted to Webcenter Portal forum : WebCenter Portal
    Thanks
    Srinath

  • Accessing the run time data of processed output types in VA02

    Hello All,
    I have to write a code to make entriesin the Ztable when the user processes the output tpe in the VA02 transaction. How I can know that user has attached a new output type for that order?
    I am writing my code at the save button of the VA02 tcode in the exit: userexit_save_document.
    I checked for the Xnast, ynast, inast entries. But none of them store the current data of the processing of output types screens.
    Please help.,
    Thanks in advance
    Rgds,
    Madhuri

    data :it_xnast  like vnast OCCURS 20 WITH HEADER LINE,
            it_x1nast like vnast OCCURS 20 WITH HEADER LINE.
      field-symbols :
                <Fs1> type ZSDTT_VNAST,<Fs2> type ZSDTT_VNAST .
      data: wa_xnast type vnast, wa_x1nast type vnast.
             assign ('(SAPLV61B)XNAST[]') TO <fs2>.
             assign ('(SAPLV61B)VNAST[]') TO <fs1>.

  • Adding time/date stamp

    Hello,
    I have several MPEG2 clips I'd like to add a running time/date stamp to.  Can I do this with Premiere Elements?
    Thanks

    Hm-m, not sure what to suggest, if DVDate will not work for you.
    When I need the TimeCode displayed, I use PrPro, or After Effects, as each has a very good TimeCode Effect.
    Maybe others will have some specific input for PrE.
    Sorry that did not work for you.
    Good luck,
    Hunt

  • Format of Date parameter

    Does anyone know of a fix for the Date parameter issue. I have seen a number of posts regarding the same problem.
    When Crystal asks for a Date it is required in the format YYYY-MM-DD, now to a majority of database engines this would appear quite normal. To a regular user this is not normal. Here in Australia we use DD/MM/YYYY our 12 year old database was set up to reflect this and all our reports, created in Crystal 8.5, had no problem with this.
    However after spending 1000's of dollars on the latest version I find that it is basically useless because none of my 100's of reports will work, due to this 'Minor' problem.
    If anyone has experience with Crystal reports against an Informix database and has a workaround solution, or even someone not using Informix, please let us know.
    Thank you, Thank you, Thank you in advance.

    Hi,
    Create a string parameter (named eg. olPrint).
    The user will then input its normal way of date inputting. However it has to be in a format you specify in the caption (dd-mm-yyyy  thus 1 December 2007 = 01-12-2007 and not 1-12-2007)
    Then create a formula PrintDate with the syntax:
    DateTime(Date(
                ToNumber(Mid({?olPrint}, 7)),
                ToNumber(Mid({?olPrint}, 4, 2)),
                ToNumber(Mid({?olPrint}, 1, 2))))
    If you then select your report on = {@PrintDate} it should work.
    Hope this helps.
    Bye

  • Issue with Run time parameter values

    Hi All,
    Am facing an error while loading EBS 11.5.10 Financial data. Problem is, my parameters in the SQL Qualifier query (run time parameters in the SQL query) were not being replaced with appropriate values during run time. This is happening for the task "SDE_ORA_Reverse_GLJournals_ImportReference_Extract" that have SQL query in 'mplt_BC_ORA_XactsimpGlrfExtract' mapplet.
    Ihave checked in parameter file and it have values for those Run time parameters. For some reasons, these values were not being picked up by that SQL query.
    Can someboday help me on this about possible reason(s) behind this?

    There are 5 tasks SDE_PSFT_PayrollFact_Total, SDE_PSFT_PayrollFact_Earnings, SDE_PSFT_PayrollFact_EarningsOther, SDE_PSFT_PayrollFact_Deductions, SDE_PSFT_PayrollFact_Taxes are failing all are with same error READER_1_1_1> PR_18012 SQL Error [
    ORA-00936: missing expression Database driver error...
    I verified the mapplet in that missing expression is $$LAST_EXTRACT_DATE value.
    If you know any workaround for this issue please suggest
    I am attaching one of the error logs.
    DIRECTOR> VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].
    DIRECTOR> VAR_27028 Use override value [PSFT_9_0_HCM] for session parameter:[$DBConnection_OLTP].
    DIRECTOR> VAR_27028 Use override value [12] for mapping parameter:[$$DATASOURCE_NUM_ID].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_PSFT_PayrollFact_Total.$$INITIAL_EXTRACT_DATE].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_PSFT_PayrollFact_Total.$$LAST_EXTRACT_DATE].
    DIRECTOR> VAR_27028 Use override value [DEFAULT] for mapping parameter:[$$TENANT_ID].
    DIRECTOR> TM_6014 Initializing session [SDE_PSFT_PayrollFact_Total_Full] at [Wed Dec 10 13:41:44 2008]
    DIRECTOR> TM_6683 Repository Name: [Oracle_BI_DW_Base]
    DIRECTOR> TM_6684 Server Name: [Oracle_BI_DW_Base_Integration_Service]
    DIRECTOR> TM_6686 Folder: [SDE_PSFT_90_Adaptor_Test]
    DIRECTOR> TM_6685 Workflow: [SDE_PSFT_PayrollFact_Total_Full]
    DIRECTOR> TM_6101 Mapping name: SDE_PSFT_PayrollFact_Total [version 1]
    DIRECTOR> TM_6827 [C:\Informatica\PowerCenter8.1.1\server\infa_shared\Storage] will be used as storage directory for session [SDE_PSFT_PayrollFact_Total_Full].
    DIRECTOR> CMN_1805 Recovery cache will be deleted when running in normal mode.
    DIRECTOR> CMN_1802 Session recovery cache initialization is complete.
    DIRECTOR> TM_6703 Session [SDE_PSFT_PayrollFact_Total_Full] is run by 32-bit Integration Service [node01_HSCHBSCGN20031], version [8.1.1], build [0831].
    MANAGER> PETL_24058 Running Partition Group [1].
    MANAGER> PETL_24000 Parallel Pipeline Engine initializing.
    MANAGER> PETL_24001 Parallel Pipeline Engine running.
    MANAGER> PETL_24003 Initializing session run.
    MAPPING> CMN_1569 Server Mode: [ASCII]
    MAPPING> CMN_1570 Server Code page: [MS Windows Latin 1 (ANSI), superset of Latin1]
    MAPPING> TM_6151 Session Sort Order: [Binary]
    MAPPING> TM_6156 Using LOW precision decimal arithmetic
    MAPPING> TM_6180 Deadlock retry logic will not be implemented.
    MAPPING> TM_6307 DTM Error Log Disabled.
    MAPPING> TE_7022 TShmWriter: Initialized
    MAPPING> DBG_21075 Connecting to database [orcl], user [obaw]
    MAPPING> TM_6007 DTM initialized successfully for session [SDE_PSFT_PayrollFact_Total_Full]
    DIRECTOR> PETL_24033 All DTM Connection Info: [<NONE>].
    MANAGER> PETL_24004 Starting pre-session tasks. : (Wed Dec 10 13:41:45 2008)
    MANAGER> PETL_24027 Pre-session task completed successfully. : (Wed Dec 10 13:41:46 2008)
    DIRECTOR> PETL_24006 Starting data movement.
    MAPPING> TM_6660 Total Buffer Pool size is 32000000 bytes and Block size is 1280000 bytes.
    READER_1_1_1> DBG_21438 Reader: Source is [HR90DEV], user [sysadm]
    READER_1_1_1> DBG_21438 Reader: Source is [HR90DEV], user [sysadm]
    READER_1_1_1> BLKR_16003 Initialization completed successfully.
    WRITER_1_*_1> WRT_8147 Writer: Target is database [orcl], user [obaw], bulk mode [OFF]
    WRITER_1_*_1> WRT_8124 Target Table W_PSFT_PAYROLL_F_TMP :SQL INSERT statement:
    INSERT INTO W_PSFT_PAYROLL_F_TMP(EMPLID,EMPL_RCD,PAYGROUP,PAY_PERIOD_START_DT,PAY_PERIOD_END_DT,CHECK_DT,OFF_CYCLE,PAGE_NUM,LINE_NUM,SEPCHK,COMPANY,DEPTID,LOCATION_CD,PLAN_TYPE,BENEFIT_PLAN,BENEFIT_RCD_NBR,DEDCD,DED_CLASS,DED_SLSTX_CLASS,ADDL_NBR,PAY_EARN_START_DT,PAY_EARN_END_DT,ERNCD,COUNTRY,STATE,LOCALITY,TAX_CLASS,PAYROLL_TYPE,PAY_DETAIL_FLG,PAYROLL_AMOUNT,CHANGED_ON_DT,DATASOURCE_NUM_ID,INTEGRATION_ID,TENANT_ID,X_CUSTOM) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    WRITER_1_*_1> WRT_8270 Target connection group #1 consists of target(s) [W_PSFT_PAYROLL_F_TMP]
    WRITER_1_*_1> WRT_8003 Writer initialization complete.
    READER_1_1_1> BLKR_16007 Reader run started.
    READER_1_1_1> PR_18039 Application Source Qualifier [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total] is reading from PeopleSoft.
    WRITER_1_*_1> WRT_8005 Writer run started.
    WRITER_1_*_1> WRT_8158
    *****START LOAD SESSION*****
    Load Start Time: Wed Dec 10 13:41:46 2008
    Target tables:
    W_PSFT_PAYROLL_F_TMP
    READER_1_1_1> PR_18008 Application SQ instance [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total] User SQL Query [SELECT 
    PS_PAY_CHECK.COMPANY , 
    PS_PAY_CHECK.PAYGROUP , 
    PS_PAY_CHECK.PAY_END_DT , 
    PS_PAY_CHECK.OFF_CYCLE , 
    PS_PAY_CHECK.PAGE_NUM , 
    PS_PAY_CHECK.LINE_NUM , 
    PS_PAY_CHECK.SEPCHK , 
    PS_PAY_CHECK.EMPLID , 
    PS_PAY_CHECK.EMPL_RCD , 
    PS_PAY_CHECK.DEPTID , 
    'TOTAL_GROSS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_GROSS SUMMARY_AMOUNT, 
    PS_PAY_CHECK.CHECK_DT , 
    PS_PAY_CHECK.LOCATION , 
    PS_PAY_CHECK.UPDATE_DT 
    FROM 
    PS_PAY_CHECK 
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND 
    PS_PAY_CHECK.PAY_END_DT >= 
    UNION ALL
    SELECT 
    PS_PAY_CHECK.COMPANY , 
    PS_PAY_CHECK.PAYGROUP , 
    PS_PAY_CHECK.PAY_END_DT , 
    PS_PAY_CHECK.OFF_CYCLE , 
    PS_PAY_CHECK.PAGE_NUM , 
    PS_PAY_CHECK.LINE_NUM , 
    PS_PAY_CHECK.SEPCHK , 
    PS_PAY_CHECK.EMPLID , 
    PS_PAY_CHECK.EMPL_RCD , 
    PS_PAY_CHECK.DEPTID , 
    'TOTAL_TAXES' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_TAXES SUMMARY_AMOUNT, 
    PS_PAY_CHECK.CHECK_DT , 
    PS_PAY_CHECK.LOCATION , 
    PS_PAY_CHECK.UPDATE_DT 
    FROM 
    PS_PAY_CHECK 
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND 
    PS_PAY_CHECK.PAY_END_DT >= 
    UNION ALL
    SELECT 
    PS_PAY_CHECK.COMPANY , 
    PS_PAY_CHECK.PAYGROUP , 
    PS_PAY_CHECK.PAY_END_DT , 
    PS_PAY_CHECK.OFF_CYCLE , 
    PS_PAY_CHECK.PAGE_NUM , 
    PS_PAY_CHECK.LINE_NUM , 
    PS_PAY_CHECK.SEPCHK , 
    PS_PAY_CHECK.EMPLID , 
    PS_PAY_CHECK.EMPL_RCD , 
    PS_PAY_CHECK.DEPTID , 
    'TOTAL_DEDUCTIONS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_DEDUCTIONS SUMMARY_AMOUNT, 
    PS_PAY_CHECK.CHECK_DT , 
    PS_PAY_CHECK.LOCATION , 
    PS_PAY_CHECK.UPDATE_DT 
    FROM 
    PS_PAY_CHECK 
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND 
    PS_PAY_CHECK.PAY_END_DT >= 
    UNION ALL
    SELECT 
    PS_PAY_CHECK.COMPANY , 
    PS_PAY_CHECK.PAYGROUP , 
    PS_PAY_CHECK.PAY_END_DT , 
    PS_PAY_CHECK.OFF_CYCLE , 
    PS_PAY_CHECK.PAGE_NUM , 
    PS_PAY_CHECK.LINE_NUM , 
    PS_PAY_CHECK.SEPCHK , 
    PS_PAY_CHECK.EMPLID , 
    PS_PAY_CHECK.EMPL_RCD , 
    PS_PAY_CHECK.DEPTID , 
    'NET_PAY' SUMMARY_TYPE,
    PS_PAY_CHECK.NET_PAY SUMMARY_AMOUNT, 
    PS_PAY_CHECK.CHECK_DT , 
    PS_PAY_CHECK.LOCATION , 
    PS_PAY_CHECK.UPDATE_DT 
    FROM 
    PS_PAY_CHECK 
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND 
    PS_PAY_CHECK.PAY_END_DT >= ]
    READER_1_1_1> CMN_1761 Timestamp Event: [Wed Dec 10 13:41:46 2008]
    READER_1_1_1> PR_18012 SQL Error [
    ORA-00936: missing expression
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_GROSS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_GROSS SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_TAXES' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_TAXES SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_DEDUCTIONS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_DEDUCTIONS SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'NET_PAY' SUMMARY_TYPE,
    PS_PAY_CHECK.NET_PAY SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    Oracle Fatal Error
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_GROSS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_GROSS SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_TAXES' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_TAXES SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'TOTAL_DEDUCTIONS' SUMMARY_TYPE,
    PS_PAY_CHECK.TOTAL_DEDUCTIONS SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    UNION ALL
    SELECT
    PS_PAY_CHECK.COMPANY ,
    PS_PAY_CHECK.PAYGROUP ,
    PS_PAY_CHECK.PAY_END_DT ,
    PS_PAY_CHECK.OFF_CYCLE ,
    PS_PAY_CHECK.PAGE_NUM ,
    PS_PAY_CHECK.LINE_NUM ,
    PS_PAY_CHECK.SEPCHK ,
    PS_PAY_CHECK.EMPLID ,
    PS_PAY_CHECK.EMPL_RCD ,
    PS_PAY_CHECK.DEPTID ,
    'NET_PAY' SUMMARY_TYPE,
    PS_PAY_CHECK.NET_PAY SUMMARY_AMOUNT,
    PS_PAY_CHECK.CHECK_DT ,
    PS_PAY_CHECK.LOCATION ,
    PS_PAY_CHECK.UPDATE_DT
    FROM
    PS_PAY_CHECK
    WHERE
    PS_PAY_CHECK.PAYCHECK_STATUS IN ('A','F','R') AND
    PS_PAY_CHECK.PAY_END_DT >=
    Oracle Fatal Error]
    READER_1_1_1> CMN_1761 Timestamp Event: [Wed Dec 10 13:41:46 2008]
    READER_1_1_1> BLKR_16004 ERROR: Prepare failed.
    WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
    WRITER_1_*_1> WRT_8325 Final rollback executed for the target [W_PSFT_PAYROLL_F_TMP] at end of load
    WRITER_1_*_1> WRT_8035 Load complete time: Wed Dec 10 13:41:46 2008
    LOAD SUMMARY
    ============
    WRT_8036 Target: W_PSFT_PAYROLL_F_TMP (Instance Name: [W_PSFT_PAYROLL_F_TMP])
    WRT_8044 No data loaded for this target
    WRITER_1__1> WRT_8043 ****END LOAD SESSION*****
    MANAGER> PETL_24031
    ***** RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
    Thread [READER_1_1_1] created for [the read stage] of partition point [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [WRITER_1_*_1] created for [the write stage] of partition point [W_PSFT_PAYROLL_F_TMP] has completed. The total run time was insufficient for any meaningful statistics.
    MANAGER> PETL_24005 Starting post-session tasks. : (Wed Dec 10 13:41:47 2008)
    MANAGER> PETL_24029 Post-session task completed successfully. : (Wed Dec 10 13:41:47 2008)
    MAPPING> TM_6018 Session [SDE_PSFT_PayrollFact_Total_Full] run completed with [0] row transformation errors.
    MANAGER> PETL_24002 Parallel Pipeline Engine finished.
    DIRECTOR> PETL_24013 Session run completed with failure.
    DIRECTOR> TM_6022
    SESSION LOAD SUMMARY
    ================================================
    DIRECTOR> TM_6252 Source Load Summary.
    DIRECTOR> CMN_1740 Table: [Sq_Payroll_Total] (Instance Name: [mplt_BC_PSFT_PayrollFact_Total.Sq_Payroll_Total])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6253 Target Load Summary.
    DIRECTOR> CMN_1740 Table: [W_PSFT_PAYROLL_F_TMP] (Instance Name: [W_PSFT_PAYROLL_F_TMP])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6023
    ===================================================
    DIRECTOR> TM_6020 Session [SDE_PSFT_PayrollFact_Total_Full] completed at [Wed Dec 10 13:41:48 2008]

  • SSAS Date Parameter times out

    Environment: We are running SQL Server 2012 Standard Edition with Analysis Services.  Reporting Services on a separate machine. Visual Studio 2010. 
    I have a Date dimension with a generated table named Time.  To the table I have added custom columns to show Week_Ending and Short_Date_Alpha that are used in Excel Reports from the Analysis Services Cubes.
    When I attempt to use this dimension in Reporting Services, it times out if I try to use it as a parameter.  The report will run for 30 minutes, never surface the parameter selection box and then eventually time-out with an unknown error related to
    the time dimension.  This is in Visual Studio. 
    If I pull the dimension directly from the SQL table I can produce a report on it.  If I run the full query for the measures with the default date selected it runs in seconds in the query builder.    Here are 10 rows of the relevant
    table structure:
    PK_Date Date_Name Reporting_Year Reporting_Year_Name Reporting_Month Reporting_Month_Name Reporting_Week Reporting_Week_Name Reporting_Day Reporting_Day_Name Short_Date_Alpha End_of_Week_Name Week_Ending WorkDay
    2008-01-01 00:00:00.000 Tuesday, January 01 2008 2007-01-07 00:00:00.000 2007 2007-12-02 00:00:00.000 Rpt Dec 2007 2007-12-30 00:00:00.000 Reporting Week 52, 2007 2008-01-01 00:00:00.000 Tuesday, January 01 2008 Jan 
    1 2008  WE 01/07/08 2008-01-07 00:00:00.000 1
    2008-01-02 00:00:00.000 Wednesday, January 02 2008 2007-01-07 00:00:00.000 2007 2007-12-02 00:00:00.000 Rpt Dec 2007 2007-12-30 00:00:00.000 Reporting Week 52, 2007 2008-01-02 00:00:00.000 Wednesday, January 02 2008 Jan 
    2 2008  WE 01/07/08 2008-01-07 00:00:00.000 1
    2008-01-03 00:00:00.000 Thursday, January 03 2008 2007-01-07 00:00:00.000 2007 2007-12-02 00:00:00.000 Rpt Dec 2007 2007-12-30 00:00:00.000 Reporting Week 52, 2007 2008-01-03 00:00:00.000 Thursday, January 03 2008 Jan 
    3 2008  WE 01/07/08 2008-01-07 00:00:00.000 1
    2008-01-04 00:00:00.000 Friday, January 04 2008 2007-01-07 00:00:00.000 2007 2007-12-02 00:00:00.000 Rpt Dec 2007 2007-12-30 00:00:00.000 Reporting Week 52, 2007 2008-01-04 00:00:00.000 Friday, January 04 2008 Jan 
    4 2008  WE 01/07/08 2008-01-07 00:00:00.000 1
    2008-01-10 00:00:00.000 Thursday, January 10 2008 2008-01-06 00:00:00.000 2008 2008-01-06 00:00:00.000 Rpt Jan 2008 2008-01-06 00:00:00.000 Reporting Week 1, 2008 2008-01-10 00:00:00.000 Thursday, January 10 2008 Jan
    10 2008  WE 01/12/08 2008-01-12 00:00:00.000 1
    2008-01-11 00:00:00.000 Friday, January 11 2008 2008-01-06 00:00:00.000 2008 2008-01-06 00:00:00.000 Rpt Jan 2008 2008-01-06 00:00:00.000 Reporting Week 1, 2008 2008-01-11 00:00:00.000 Friday, January 11 2008 Jan
    11 2008  WE 01/12/08 2008-01-12 00:00:00.000 1
    2008-01-12 00:00:00.000 Saturday, January 12 2008 2008-01-06 00:00:00.000 2008 2008-01-06 00:00:00.000 Rpt Jan 2008 2008-01-06 00:00:00.000 Reporting Week 1, 2008 2008-01-12 00:00:00.000 Saturday, January 12 2008 Jan
    12 2008  WE 01/12/08 2008-01-12 00:00:00.000 0
    2008-01-13 00:00:00.000 Sunday, January 13 2008 2008-01-06 00:00:00.000 2008 2008-01-06 00:00:00.000 Rpt Jan 2008 2008-01-13 00:00:00.000 Reporting Week 2, 2008 2008-01-13 00:00:00.000 Sunday, January 13 2008 Jan
    13 2008  WE 01/19/08 2008-01-19 00:00:00.000 0
    2008-01-19 00:00:00.000 Saturday, January 19 2008 2008-01-06 00:00:00.000 2008 2008-01-06 00:00:00.000 Rpt Jan 2008 2008-01-13 00:00:00.000 Reporting Week 2, 2008 2008-01-19 00:00:00.000 Saturday, January 19 2008 Jan
    19 2008  WE 01/19/08 2008-01-19 00:00:00.000 0
    2008-01-20 00:00:00.000 Sunday, January 20 2008 2008-01-06 00:00:00.000 2008 2008-01-06 00:00:00.000 Rpt Jan 2008 2008-01-20 00:00:00.000 Reporting Week 3, 2008 2008-01-20 00:00:00.000 Sunday, January 20 2008 Jan
    20 2008  WE 01/26/08 2008-01-26 00:00:00.000 0
    The dimension looks fine when I browse it.   It produces the correct information in the Excel Reports, but I cannot get it to work in Reporting Services.  
    I have deleted dates out of the cubes and processed, then added the Time dimension back in and processed and it still won't work.   I have a cube running off a table called Date and that seems to work. 
    Is the issue with the table name?  With the custom descriptions?   Something else? 

    How would you best suggest limiting the time frame?   Add a filter to the query so that the future dates are not part of the selection?   I'm doing some data refresh in the data mart so won't be able to try limiting the selection
    for a few hours. 
    Hi Diane,
    Could you please let us know how many available values for your date parameter(the quantity of date dimension in SSAS)? One workaround that we can try to add an additional text parameter which will prefilter the available values in the large parameter list.
    Here is similar thread about this topic for your reference, please see:
    http://dataqueen.unlimitedviz.com/2012/02/filter-a-parameter-with-long-list-of-values-using-type-ahead/
    Regards,
    Elvis Long
    TechNet Community Support

  • Displaying different sheets at run time based on value of the parameter

    Hi,
    I've a query regarding displaying two different sheets at run time in Oracle discoverer based on the value of the parameter that i give.
    I've a parameter Summary_flag.
    If the value of the parameter is 'Y',then it should display a sheet,say for example it should display Sheet1.
    If the value is 'N',then it should display another sheet, say for example it should display Sheet2.
    Is there any way in which i can accomplish this?
    I went through the Format and Tools menus but couldnt find anything regarding this aspect.
    Can you help me out?
    Thanks,

    Having a Disco parameter dictate which worksheet is displayed is not an option that is available. There are a few workarounds, though:
    1. Have a portlet (or some other web interface) accept your parameters, and then call the appropriate worksheet.
    2. Have 2 worksheets, and have it devolve into a training issue (for a summary run this, for all the details run this).
    3. Create calculations that will show or hide column data depending on the parameter selected - the columns will still be there, and you can fill them in with blanks, or a message like "N/A for Summary".
    4. Create a report that will allow the users to drill between the summary and detail data - I'm not sure whether you could use a parameter to then say whether the report should open up summarized or expanded.

Maybe you are looking for