How to use the date repository variable in filter expression

Hi Gurus
I am getting error in using the date repository variable in Filter expression. I am using the below formula
filter( Fact.calls USING  "Dim Time"."Fiscal Month End Date" = VALUEOF("month_start") )
I am getting below error
Formula syntax is invalid.
[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22024] A comparison is being carried out between non-compatible types. (HY000)
SQL Issued: SELECT filter( fact.Calls using "Dim Time"."Fiscal Month End Date" =VALUEOF("month_start")) FROM "Call Data"
Then i tryed the below format i am getting still the error
filter( Fact.calls USING  "Dim Time"."Fiscal Month End Date" = DATE'(VALUEOF("month_start"))' )
Formula syntax is invalid.
[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46047] Datetime value (VALUEOF("month_start")) from (VALUEOF("month_start")) does not match the specified format. (HY000)
SQL Issued: SELECT filter( Fact.Calls using "Dim Time"."Fiscal Month End Date" =DATE'(VALUEOF("month_start"))') FROM "Call Data"
Please let me know what i am missing or what is the correct syntax for fitler using the date repository variable.
Thanks in advance
Regards
@li

Hi @li,
Syntax-1 is fine it will work,What kind of Variable is it?
Static or Dynamic
Thanks,

Similar Messages

  • How to use the data that we got after successful execution of a Bapi

    I have created a simple Webdynpro application to execute a user defined Bapi and that was executing successfully but the next step when i want to use the data that which i have retrieved from that Bapi i am facing problem.I am unable to use that particular data
    My idea is to use that data and again i want to filter that particular data which i got from the Bapi execution with out calling another Bapi
    Ex: I wrote a user defined Bapi to retrieve flight details if i enter the id of the particular airline
    Then i executed my webdynpro application and i am able to get the output
    from that output i want a particular flight details if i choose the City name i.e. the details related to that particular city which i choose

    Hi Praveen,
    Thanks for the Help,
    I am working with the same scenario which was there in the PDF sent by you but in that document it was directly allowing us to click on the output which we got after executing a Bapi, but here when i am executing i didn't know the procedure how to make use of the data which we got after execution and displaying it in other view
    can we write any code to access that particular data that we got after executing that flight scenario and do some operations on that particular fields
    thanks and regards
    Raghu

  • How to use the date picker in Web dynpro java

    Hi,
    I want to add date picker to enter a date while developing webdynpro application.
    How can i do that.
    Regards,
    H.V.Swathi

    Hi,
    its very simple...
    take a input field and map it to the attribute which data type is of "date". thats it at runtime you will see a input filed with date picker.
    i.e. Add an inputField and bind the context attribute of Type Date to it
    this will show the date picker on screen.
    PradeeP

  • How to use the date format for the given req.?

    I have a requirement which should fetch the datas given by user. The user parameter is the date. The date will fetch the amount of the customer code for that particular month based on the date upto given by the user of that financial year.
    If the user parameter is given as 200703(YYYYMM) it should fetch the datas of the financial year from 200604(YYYYMM) to 200703(YYYYMM). The logic is the user parameter year should fetch the datas of previous year till the user given date and the month should be also do the same. Please do the needfull oracle experts.
    Regards,
    Mark

    As i am new to oracle i need help from you experts, The year and the month as seperate columns both as different data type as number and varchar2. There is no date column in the table.
    Table GTemp:
    DIVISION_CODE NUMBER(2)
    GL_CODE NUMBER(6)
    FINANCIAL_YEAR NUMBER(4)
    FINANCIAL_MONTH VARCHAR2(2)
    Query that i have used:
    SELECT ALL GTEMP.FINANCIAL_YEAR, GTEMP.FINANCIAL_MONTH, GTEMP.GL_CODE
    FROM GTEMP
    WHERE financial_year between 2007 - 1 and 2007
    and financial_month in ('4',' 12')
    and division_code = 11
    order by financial_month
    I know this will not fetch from the date the user parameter enters however is there any other options. Please help me out morgan...

  • How to use the "Get Shared Variable List" VI on an RT target?

    Hello,
    I'd like to programatically iterate through all the shared variables in a library hosted on my CompactRIO. I dropped the "Get Shared Variable List" VI into my Real-Time VI, but when I tried deploying it, LabVIEW said
    Deploying PRC_GetVarList.viPRC_GetVarList.vi loaded with errors on the target and was closed.
    LabVIEW: Failed to load shared library dscProc.dll:ni_lvdsc_process_GetTagListEnd:C. Ensure that the library is present on the RT target. Use MAX to install NI software or FTP to transfer custom libraries to the RT target.
    LabVIEW: Failed to load shared library dscProc.dll:ni_lvdsc_process_GetTagListBegin:C. Ensure that the library is present on the RT target. Use MAX to install NI software or FTP to transfer custom libraries to the RT target.
    I looked at the MAX Software Wizard, but couldn't find any DSC-related modules. Where should I be looking?
    Thanks!
    Solved!
    Go to Solution.

    Hello,
    The DSC palette is not supported on Real-Time VIs and will lead to errors when deployed.  Unfortunately, to have a successful build you will need to modify your application and remove any of the VIs from the DSC palette on your RT Target.
    Regards,
    M. Whitaker
    ni.com/support

  • How to use the data from 1 report in another report?

    Hello All
    I have a data model like the following:
    Physical and logical join the same as below:
    Dim1 <--- Fact 1 ---> Dim2 <-- Fact 2 --> Dim3
    Now I have 1 report (Report A) which is out of Dim1 <--- Fact 1 ---> Dim2
    and another report (Report B) which is out of Dim2 <-- Fact 2 --> Dim3
    Now the measure from report A needs to be divided by the measure from Report B.
    What's the best way to achieve this?
    Thanks in advance

    Hello
    Thank you for the reply. Actually, this approach you mentioned may not work. I forgot to mention, that although the data model was simple, but for each report, the filtering conditions were quite complicated.
    So in other words, after all of the complex filtering, aggregation, I was finally able to get the correct number from report 1, which is summed and displayed, and it's only 1 row. Report 2's values are summed the filtered differently, but it returns multiple values.
    So now, I wish I can just take what I can visually see from report 1 in the dashboard and divide it with each row of report 2 in the dashboard. Is there a way to do this kind of thing in 11G?
    Thanks

  • How to use the repository; uploading reports from DEV to PROD...

    Hello...
    I'm fairly new to CR-XIr2 (SP3) but have worked with Crystal Reports since v6.0.  I'm trying to figure out how to create a dynamic parameter list that someone can select an item from, which will get sent as an input parameter to the SQL Server 2005 stored proc that populates the report.  I'm also trying to figure out if there's an easy way to copy reports from a DEV environment into PROD.  We have BOE.
    Basically, I would like to find out resources online or in books on how to use the BOE repository for dynamic and/or cascading parameters (i.e. pulling a list of text values & their associated IDs from a lookup table that won't be used in the report), images (i.e. corporate logo), etc..  What complicates things for us is that IT is now requiring us to use a DEV environmentit was really easy when we had unlimited access in PROD!  We also need to put together a process where reports & other repository objects that are copied from DEV to PROD access the correct db, etc.  (Crystal Report in DEV accesses DEV db/repository/etc.when copied to PROD it accesses PROD db/repository/etc.)
    Anyway, I'm just looking for info on where to begin--whether it be a book, a BO/SAP knowledge base article, in-class training from a specific company, etc.  Thanks!

    Hey Markian,
    Can you let me know the process you have followed to migrate from Dev to Prod.
    We can migrate all the reports and objects and database fields through migrate wizard where you can import all the objects, reports and database fields and users to production enterprise.
    Just follow the above scenario and let us know if you are facing any error.
    Try  publish the reports using import wizard and run it in the crystal designer.
    Regards,
    Naveen.

  • How to change the date path of Web Server to my system time?

    Hi,
    I have downloaded a Countdown SWF file from the Internet. It is working fine with the Computers which have Internet Connection. But not working without Internet connection because of the following line of code in XML file:
    <PHPurl>http://www.flepstudio.org/utilita/CountDown/gettime.php</PHPurl>
    When I opened the webpage using the above code, it shows time in a typical digits:
    Monday, October 18, 2010 9:12:52 PM in my System -shows in Web browser like : time=1287425579
    How to modify the code so that I can use my System time to work with Countdown without Internet Connection.
    The following is the path from where I have downloaded the Countdown file:
    http://www.flepstudio.org/forum/flepstudio-utilities/2960-flash-cs3-countdown.html
    Please help me to run this countdown without internet access.
    Thanks.

    It appears all that php file does is return a time=value variable.  So you need to see where that time variable is implemented in the Flash file and assign it a value using the Date.getTime() method instead of having the PHP file get called into play.  Look in the help documents or Google if you do not know how to use the Date class.

  • How to capture the data input in the input box like text box  on webpage?

    I would like to know how to use the data we key in in the textbox on the webpage and write it to database using JSP

    I would like to know how to use the data we key in in
    the textbox on the webpage and write it to database
    using JSPIf you want to store it into database....you'll need that
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:YourDSN");
    Statement stat = con.createStatement();
    String query = "INSERT INTO yourTable (Field) VALUES(TextBox value)";
    stat.executeQuery(query);
    con.close()
    Not tested but should work (depends also on your configuration)

  • How we use the rights on LOV

    Hi,
    How we use the rights on LOV to filter.

    What you need to do is to edit the LOV sql (assuming it is custom folder) and insert there some
    kind of security mechanism.
    Also you can create dependencies in the parameters so that if you will select on the "Region" parameter the value of "New York" when opening the values for "Departments" you will get only the relevant departments.
    This can be done in the parameters definition, you can choose there to limit the results according to another condition. (note that it might create some performance issues)
    Tamir

  • How to automate the data load process using data load file & task Scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
    Thanks

    To follow up on your question are you using the maxl scripts for the dataload?
    If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
    If you are using maxl use this as the batch
    "essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt.

  • How to see the datas stored in DBMS_SQL.Varchar2S variable?

    how to see the datas stored in DBMS_SQL.Varchar2S variable?
    it says error if i use dbms_out.put_line.

    in PLSQL :
    procedure p_try (p_test IN OUT DBMS_SQL.VARCHAR2S) is
    begin
        p_test.delete ;
        p_test(    -3000) := '===============' ;
        p_test(       22) := 'Hello'  ;
        p_test(    55555) := 'World' ;
        p_test(987654321) := '===============' ;
    end p_try;
    set serveroutput on
    declare
         l_test dbms_sql.varchar2s ;
         i number ;
    begin
         p_try (l_test) ;
         i :=  l_test.first ;
         while i >= l_test.first and i <= l_test.last loop
                 dbms_output.put_line (l_test(i)) ;
                 i := l_test.next(i) ;
         end loop ;
    end ;
    ===============
    Hello
    World
    ===============when using Forms, you would use TEXT_IO instead of DBMS_OUTPUT

  • How to get the sample repository data of over 6000 records for products

    Hi,
    I have MDM installed and ready to use with the standard 9 repositories provided by SAP. I was wondering if I can get the unarchive .a2a file with the sample data of records (I think over 6000 records) for the Products repository. I have tried to bring in the two .a2a product files that I have, but it was giving version inconsistent errors. How do and where do I get the real sample data (not the one we can create in data manager) correct version provided by SAP, so that I can get my hands on SAP data manager funtionality.
    Thanks in advance,
    N@v!n K

    Hi Navin,
    Business Content archives that are provided by SAP for MDM do not come with the sample data.
    In the bsuiness content ,if you unzip the file you will see the a2a archive of the rep as provided by SAP and the import /export maps and the lookup data file.
    There is no main records that SAP provide with the sap content it is basically the data modell that SAP provides so that the foundation is set for you and you can now import and work with the data.
    However if you wish to use the demo repository or the training rep from Inquera then you will same some sample data already loaded in MDM rep to work upon.
    Regarding the version problem
    Check the MDM version of the business content rep with the MDM server you are using .They have to match to work correctly.
    You can work with a lower archives of the rep(say SP04) with an Upgraded MDM server (say SP06) by using the Update Repository option in the context menu of the MDM server in Console.
    But the vice versa is not possible.
    Check you MDM server version by clicking on the MDM server and see its details in the right side record detail pane.
    To know more on the demo and Inquera rep kinldy view the below links:
    https://www.sdn.sap.com/irj/sdn/nw-demomodel#section21 (Demo Rep)
    http://www.inquera.com/InqueraCatalog/CustomerLogin.asp(Demo Rep from Inquera you need to register and they will mail you)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • How to use the variables used in the message mapping

    Hi ,
    In the message mapping we can declare variables in the JAVA section , these variables could be used across the mapping .
    I have tried using it but I am unable to retrieve the values assigned to the variables in one UDF into the another UDF .
    Please guide me how to use the variables declared in the JAVA section in the message mapping .
    Thanks
    Anita Yadav

    Anita,
    I have worked on the Global variables and i found no issues. Make sure that the variable is declared in the Declaration Section and then initlaized in the Initialization section.
    If you declare a variable in the Declaration Section ,
    int i;
    then in any udf you can use if directly. No need to re declare  the variable in the UDF. If you do this, then it becomes a local variable.
    Regards,
    Bhavesh

  • How to use the bind variable in custom.pll

    Hi,
    How to use the bind variable in custom.pll.Its through error.
    any one gem me.
    very urgent.
    M.Soundrapandian.

    Hello,
    Please, ask this kind of questions in the e-business forum.
    Francois

Maybe you are looking for

  • A link with shtm# extension will not open in Firefox but will open in IE.

    A job site I visit from time to time has a careers link, ''www. xxxxxxx. com/Careers/default.shtm#''. In IE, a new window opens showing the various opportunities. In Firefox, nothing seems to be happening. ''edited by a moderator to break the hyperli

  • How can I copy I tunes from my mac book 13 to my new mini I pad?

    I have just purchased a mini I pad and want to share the information ie I tunes, which is currently on my mac book. How can this be done?

  • DOUBLE INVOICE CHECK VALIDATION

    Hi All, We have one client in USA ,Their requireemnt is as follows for Double invice check for FB60 ,FV60 AND F-47 Double Invoice check required ,if REFERENCE NUMBER AND VENDOR NUMBER same for all business transactions irrespective of dates. In SAP t

  • Adware on my Mac?

    Hi all, I think I might have a big problem, and I'm scared it will totally disable my computer, or I might have already lost important information. I first noticed the problem when I went to sign in on my login screen and my password wouldn't work. I

  • Working with Validation of Data

    Hi. VC Experts.                          I am currently working with VC 6.0. Where I am working with Validation of Data. we have fields like Emp, Earea, Joining date (month & Year),  Ending date((month & Year) etc., Here we have one push button 'sele