Need to add a filter to imported SQL

I used the File\Import-SQL menu option to import an existing query from another application. The query runs and creates a results table. I do not see an option in the Query\Request section to add a filter so that the user can select a range of values at runtime. I am using BI + Interactive Reporting Studio version 9.3.

The short answer is, "It can't be done."
Here's the JavaScript coder's answers.
You can add a result filter and provide dashboard controls to enable the user to enter or select values, then use scripting to modify the filter and navigate to the results.
You can provide dashboard controls to enable the user to enter or select values, then use scripting to modify the sql file, re-import it, then process the query.

Similar Messages

  • Field name is not know error when trying to add a filter

    Hello all!
    I need to add a filter dinamically to display a report. I'm using Crystal Reports 10 w/ RAS server.
    There is an sql statement in Database Fields > Command. It uses a join and a correlation name for table name: TT.START_TIME.
    I am getting a "Field name is not known" error:
    "This field name is not known. Details: errorKind Error in File C:\WINDOWS\TEMP\{D375AB61-F7AE-4BCC-AF5E-6702C0EFDE10}.rpt: Error in formula . '{Command.TT.START_TIME} in DateTime (2007, 08, 01, 09, 00, 00) to DateTime (2007, 08, 24, 04, 45, 00)' This field name is not known. Details: errorKind"
    I tried to specify the field the following ways:
    Command.START_TIME
    TT.START_TIME
    START_TIME
    TIME_TRACKER.START_TIME (time_tracker being the table name)
    MAIN.TIME_TRACKER.START_TIME (main being the schema)
    All of the above is giving the same field name not known error.
    I am adding the filter the following way:
            String whereClause = "{Command.TT.START_TIME} in DateTime (2007, 08, 01, 09, 00, 00) to DateTime (2007, 08, 24, 04, 45, 00)";
            IFilter filter = rptClientDoc.getDataDefinition().getRecordFilter();
            filter.setFreeEditingText(whereClause);
            rptClientDoc.getDataDefController().getRecordFilterController().modify(filter);
    I also tried the following where clause:
    String whereClause = "{Command.TT.START_TIME} > DateTime (2006, 08, 01, 09, 00, 00) AND {Command.TT.START_TIME} < DateTime (2007, 08, 24, 04, 45, 00)";
    still doing the same thing.
    If anyone could please help me w/ this I'd really appreciate it!
    Thank you!
    Anastasia

    The first formula was created using the selection formula expert. I only added the TT part after it didn't work giving the same message. The name the expert gives it after I click on the field is {Command.START_TIME}. Still gives the invalid field name error. -_- Could the rest of the forumula be causing the problem?
    In regards to parameterizing the SQL Command, I spoke w/ the gentleman who creates these reports in Crystal, he says it's not possible, because sometimes we don't want a where clause and sometimes we do.
    Is there a way to directly edit the SQL string itself which is in the Command through java?
    Thank you very much for taking time to respond.
    Anastasia

  • Need TP command for Add  Transport Request to import Queue all at a time

    Hi SAP gurus,
    Can you tell the o/s  or  TP  command  to  Add   Transport Request to import Queue all at a time which are available in co files directory   ,
    Because I have to add 500- 600 request .  For every request I canu2019t  do like this  STMS_IMPORT  -- Extras=> other requests -add--
    Thanks and regards
    babu

    Hi,
    You can export list of all transport requests from your DEV system in one shot, from SE09-> Display (provide your required selection criteria) -> Goto -> "Display as List"
    You can export these all Transport Requests as Spreadsheet. Then Filter out all your required 400 to 500 Transport Requests.
    Now,use another excel sheet to create a file with the list of required transport request Nos only, then concatenate all of them to generate the required TP commands as mentioned below.
    The syntax will become as follows:
    column1           column2         column3
    tp addtobuffer DEVK900123 <SID> pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp addtobuffer DEVK900124 <SID> pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp addtobuffer DEVK900125 <SID> pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp addtobuffer DEVK900126 <SID> pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp addtobuffer DEVK900127 <SID> pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp import          DEVK900123 <SID> client=### pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp import          DEVK900124 <SID> client=### pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp import          DEVK900125 <SID> client=### pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp import          DEVK900126 <SID> client=### pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    tp import          DEVK900127 <SID> client=### pf=<Drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL
    -> Open Notepad and Copy+Paste these three columns & save the text file in the <Drive>:\usr\sap\trans\bin\ folder.
    -> Then rename this .txt file to *.bat.
    -> open a command prompt and change to the <Drive>:\usr\sap\trans\bin\ folder and run the .bat batch file.
    Make sure that object lists of all the Trans. Requests are checked and confirmed for the transport to avoid data incosistency in target system. (e.g. Number Range Object)
    Regards,
    Bhavik G. Shroff

  • I'm creating an epk and I need to add a bio to the menu.  Can I import the text file or do I need to retype the bio somewhere?  What is the best way to proceed?

    I'm creating an epk and I need to add a bio to the menu.  Can I import the text file or do I need to retype the bio somewhere?  What is the best way to proceed?

    Electronic Press Kit.
    Usually in the form of video outtakes, movie trailers, cast and crew interviews. Basically, the stuff that gets bunged onto commercial DVDs as extras or ends up on late night TV "Making Of..." shows.
    To answer the OP, you want a button on the menu that leads to a still image, or series of them, set up as a slide show. You can copy/paste the text in DVD Studio and then add formatting via the Text menu. (Highlight the text and right click to access formatting controls). Or do it in a graphics application using the appropriate video image preset.

  • Do I need to add Base Station MAC address to list?

    Hi, If I choose to use MAC address filtering on my Airport Extreme Time Capsule, do I need to add the wireless MAC address of the Base Station to the list of allowed MAC addresses???  I'd feel real bad if I set up a list, didn't include the base station's MAC address and then could never get in to the network again because I, in effect, locked myself out???  I doubt that address needs to be included but I would like some feedback on that.
    Second, does the one MAC address filter list apply to the Guest Network as well if I should choose to turn it on???  If that was the case, I would just turn off MAC address filtering why guests were present.
    thanks..  bob

    If I choose to use MAC address filtering on my Airport Extreme Time Capsule, do I need to add the wireless MAC address of the Base Station to the list of allowed MAC addresses???
    No. Timed Access would be for wireless devices....computers, mobile devices, printer, etc., that are connecting to the Time Capsule. The Time Capsule does not connect to itself in this regard.
    I'd feel real bad if I set up a list, didn't include the base station's MAC address and then could never get in to the network again because I, in effect, locked myself out???
    Sometimes, users lock themselves out by mistake by entering incorrect times for devices to connect, and they often forget that they can connect to the base station using an Ethernet connection and get back in that way.....since Timed Access only applies to devices that connect using wireless.
    does the one MAC address filter list apply to the Guest Network as well if I should choose to turn it on???
    Yes

  • Writing a stored procedure to import SQL Server table data into a Oracle table

    Hello,
    As a new DBA I have been tasked with writing a stored procedure to import SQL Server table data into an Oracle table. I have been given many suggestions on how to do it from SQL Server but I I just need to write a stored procedure to run it from the Oracle side. Suggestions/guidance on where to start would be greatly appreciated! Thank you!
    I started to write it based on what I have but I know this is not correct :/
    # Here is the select statement for the data source in SQL Server...
    SELECT COMPANY
    ,CUSTOMER
    ,TRANS_TYPE
    ,INVOICE
    ,TRANS_DATE
    ,STATUS
    ,TRAN_AMT
    ,CREDIT_AMT
    ,APPLD_AMT
    ,ADJ_AMT
    ,TRANS_USER1
    ,PROCESS_LEVEL
    ,DESCRIPTION
    ,DUE_DATE
    ,OUR_DATE
    ,OUR_TIME
    ,PROCESS_FLAG
    ,ERROR_DESCRIPTION
      FROM data_source_table_name
    #It loads data into the table in Oracle....   
    Insert into oracle_destination_table_name (
    COMPANY,
    CUSTOMER,
    TRANS_TYPE,
    INVOICE,
    TRANS_DATE,
    STATUS,
    TRANS_AMT,
    CREDIT_AMT,
    APPLD_AMT,
    ADJ_AMT,
    TRANS_USER1,
    PROCESS_LEVEL,
    DESCRIPTION,
    DUE_DATE,
    OUR_DATE,
    OUR_TIME,
    PROCESS_FLAG,
    ERROR_DESCRIPTION)
    END;

    CREATE TABLE statements would have been better as MS-SQL and Oracle don't have the same data types.
    OUR_DATE, OUR_TIME will (most likely) be ONE column in Oracle.
    DATABASE LINK
    Personally, I'd just load the data over a database link:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_table@mssql_db_link
    As far as creating the database link from Oracle to MS-SQL ... that is for somebody else to answer.
    (most likely you'll need to use an ODBC driver)
    EXTERNAL TABLE
    If the data from MS-SQL is in a CSV file, just use and external table.
    same concept:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_external_table
    MK

  • I need to add a skin to my .fla or .swf, how can I do this without converting?

    I have created a project using motion and sound.  I need to add a skin to it which you use to be able to do when you published it.  Now it seems the only way to do it is by exporting my file into Media encoder then convert it to a MP4 ( there is no F4V or FLV in Media encoder, that I can see).  When I export this my sound quality is lost.  Then when I re-import into Flash to add the skin I lose the sound all together.  What am I doing wrong?
    Thanks

    I'm guessing you're using the free version. I would first try to import a table from another PDF file. If that doesn't work I would try using the "add item" feature for either the "text" or "email" fields because those are formatted as 2 columns. You will just have to manipulate them how you want them.
    Good luck!

  • How may I change the format to enter new contacts?  I need to add a business name and would like to change the defaults to work rather than home.

    I am entering new contacts into the contact app.  I need to add a business name and would like to change the default for phone numbers from home to work.  I am entering a large amount of business cards

    rcolbroth wrote:
    Is there anyway of creatiing a different name for this Folder rather than 2013?
    If you are using one of Lightroom's "date-based" folder templates, then the folders are created in accordance with the image capture date, not the date that you happen to import it. If you specifically want to use the import date for your folder names then you probably don't want to use the Lightroom date template, and instead you'll need to setup your folder names manually.
    The vast majority of users that use date-based folder naming schemes will use a standard Lightroom template, i.e. based on the much more meaningful image capture date.

  • Need to create a filter in BADI

    Hello Experts,
    Iu2019ve a requirement and according to it I need to Create a filter BUKRS in the BADI definition which makes the BADI call acceptable only when Company Code is XXXX and XXXX.
    Can somebody tell me which BADI I should use?
    Thanks,

    Hello.
    If it is a custom BADI please check the box available in BADI definition (SE18) attributes.
    Step1 - Check the check box Filter in BADI attributes. So that I will enables the filter field and there you need to choose BUKRS.
    Step2 - By doing step1 system adds one more parameter flt_XX to all the methods available in BADI definition.
    Now you need to pass this variable when you are calling the proxy call in the actual application.
    If it is standard BADI you need to check the filter dependent BADIs so that you can impliment them for specific Countries.
    All the best. Let me know if you need any more help.
    - Mohan.

  • Need to add a link to the masthead area of the Portal

    Hi
    I need to add a link to the masthead area of the portal. That link needs to be able to print the content of the current page.
    Ihave downloaded the com.sap.portal.navigation.masthead into the NWDS.
    Can anybody please let me know where exactly to modify the code.
    i am guessing i may need to use window.print() to print the page.
    Thanks
    Sharath
    Thanks
    Sharath

    Step 1: Adding new link in the masthead
    1. Rename the par file to your own namespace and import the PAR using eclipse
    2. To add your link - modify HeaderiView.jsp appropriately
    3. Build the PAR and export using Eclipse
    Step 2: Create an iView
    1. Content Administrator -> Portal Content -> Select the folder in which you need to create the masthead iView. Right click on the selected folder and "Select New From PAR" -> iView
    2. Select the PAR file name created by you in Step 1 a
    3. Choose "default" in Portal Component Selection
    4. Provide the properties for the iView and save
    Step 3: Modify Portal Masthead
    1. Add the iView created in Step 2 to the Framework Page of your application
    2. Remove the existing Masthead iView from the framework page and add iView created in Step 2 in the framework page.
    3. Note that the position should be the same where the previous masthead is removed.
    Logoff and logon with the user who is assigned the framework page - you should be able to see the new masthead with links
    Incase you are changing the default framework page and default masthead ensure that you have a backup so that you can revert.

  • Add child to root (PL/SQL PARSER) Oracle 8.1.7

    Hi all,
    i have two dom documents, i need to add to the root of the first
    one a subtree of the second one.
    Could someone give me an example of how to do that ?
    Thanks.

    Hello,
    I'm trying to investigate the same thing.
    I want to make a soap-client with PL/SQL with 8i 8.1.6.0.0
    Did you succeed some additional information ??
    I tried to run the following example:
    http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html
    but it only works with 9i.
    With 8i the errors encountered were : XMLTYPE undefined
    Perhaps if we find the definition of XMLTYPE and we process it to 8i we'll be able to run the example ??
    thank's

  • How to add WebService authentication in pl/sql using UTL_HTTP

    Hi,
    I am passing SOAP request and getting output as a soap response from WebService using UTL_HTTP.
    Calling Web service client call from the PL/SQL procedure.
    Java web service is a service producer.
    Now we needs to add security to the application we are planing to add some of the userid/pwd credientials.
    So what needs to be add sql code in the sq/sql for making client call.
    i checked from the few of the articles. it shown like
    UTL_HTTP.set_authentication(http_req, 'username', 'password' );
    is it enough for making clent call or any other changes are required.
    Please let me know and any code to be implemented in the jave side aslo(if you knows) :-)
    Thanks,
    Pradeep.

    Okay, backtrack.
    A web server can deliver all kinds of content. From static HTML pages, to XML files and videos and dynamic content. Including reports.
    The communication language (protocol) used to talk to a web server is HTTP.
    UTL_HTTP is an Oracle PL/SQL library that implements the client side of this communication. It allows the developer to write code that acts like a web browser and communicates with a web server.
    Now what do you not understand and cannot use?
    HTTP is not simple and easy. You need to understand the basics of this communication language in order to communicate successfully with the web server. Like knowing the difference between GET and PUT and POST commands, how the URL query string works and so on.
    Once you know that, you can look at how the web server provides reports. How do you authenticate as a web browser with the web reporting system? What URLs do you use to access which reports? How do you pass name-values to the web server as report parameters? What HTTP response formats (MIME types) does the web report server provide? Which one do you plan to use and how do you parse that response into a meaning structured data format?
    If you're thinking it is "easy", think again. Sure, someone here can provide sample code that for example grabs a CSV report file from a web server and (using a pipeline table function), turn that into rows and columns. But that will not teach you the fundamentals you need to know and not equip you with dealing with the problem with your own brains, hands and keyboard.
    PS. In other words, learn to crawl and walk before trying to run. Get to grips with how HTTP works before diving into the deep end of web report integration.

  • Need to add 2 columns in query

    Hello, I have a query that I need to add 2 of the columns together, but I have been unsuccessful in my attempts to this point. I'm using Oracle SQL Developer 1.2.1
    Here is the query:
    WITH group_by_4_column_results AS
    (SELECT m_atschunk.employee AS employee,
    SUM(CASE
    WHEN
    M_ATSCHUNK.rolloffDaysCount = '108545043' AND m_atschunk.infractiondate BETWEEN SYSDATE - 365 AND SYSDATE THEN 1 ELSE 0 END) as rolloffs,
    M_ATSCHUNK.INFRACTIONDATE + 365 as infractionDate,
    M_ATSCHUNK.calculationDate as CalcDate
    FROM M_ATSCHUNK
    group by employee, infractionDate, rolloffDaysCount, calculationDate
    SELECT g4.*,
    SUM (rolloffs) OVER (PARTITION BY employee) AS total_rolloffs
    FROM group_by_4_column_results g4
    ORDER BY total_rolloffs desc
    And it will output this:
    ||Employee||     ||Rolloffs||     ||InfractionDate||     ||CalcDate||     ||Total_Rolloffs||
    ||86707||     ||1||     ||3/8/2011||     ||(null)||     ||134||
    ||86707||     ||1||     ||3/9/2011||     ||(null)||     ||134||
    ||86707||     ||1||     ||3/10/2011||     ||(null)||     ||134||
    ||86707||     ||1||     ||3/11/2011||     ||(null)||     ||134||
    ||86707||     ||1||     ||3/12/2011||     ||(null)||     ||134||
    ||86707||     ||1||     ||3/13/2011||     ||(null)||     ||134||
    I know need it to add the InfractionDate + Total_RollOffs columns and output intot he CalcDate column
    The table was not created conventially using SQL, it was creating using a using a metabean file:
    customerForm = /com/merced/datamart/repository/forms/CustomerForm,\
    employee           = /com/merced/datamart/repository/Person,\
    filledOutBy      = /com/merced/datamart/repository/Person,\
    infractionDate      = /com/merced/metabeans/Date,\
    infractionCode      = /com/merced/apps/ATS/forms/enumerations/infractionCodeType,\
    WLB          = /com/merced/apps/ATS/forms/enumerations/WLBType,\
    rolloffDaysCount     = /com/merced/apps/ATS/forms/enumerations/atsyesNoType,\
    shiftInterval          = /com/merced/apps/ATS/forms/enumerations/shiftIntervalType,\
    premiumDays          = /com/merced/apps/ATS/forms/enumerations/atsyesNoType,\
    PABonusPoints          = /com/merced/apps/ATS/forms/enumerations/atsyesNoType,\
    comments      = /com/merced/metabeans/String,\
    appliedWLC     = /com/merced/apps/ATS/forms/enumerations/appliedWLCType,\
    calculationDate = /com/merced/metabeans/Date,\
    calculationInteger = /com/merced/metabeans/Integer

    If you want to use 0COUNTRY as a navgational atttr. first go to info object 0BPARTNER and make 0COUNTRY as a navigational attr. save activate.
    The go to cube or DSO and check Navigational attr box infront of this info object,
    And then it will be available as a navigational attr in your query.
    Hope this helps,
    Assgn points if helpful.
    Regards

  • What software do I need to add TouchEvents to app?

    I have just finished the development of version 1 of my application using Flash CS4. It's almost completely AS3 code with a SQL backend. For the next version  I want to look at adding TouchEvents for a mobile version of the application. But I'm confused as to what I need to add to my development software in order to develop apps that use touch.
    Do I just need to install the Flash 10.1 player beta in order to get access to classes such as  "flash.events.TouchEvent" or do I need to upgrade to Flash CS5?

    you need to upgrade is you want to use more than a press event.  otherwise, you can use a mousedown event for a finger press.

  • Which SharingReference I need to add at a portal service for these packages

    Hello,
    I have written a portal service, not at the Dynpro, environment which uses these imports:
    com.sap.tc.webdynpro.progmodel.api.IWDNode;
    com.sap.tc.webdynpro.progmodel.api.IWDNodeElement;
    com.sap.tc.webdynpro.services.sal.url.api.IWDCachedWebResource;
    com.sap.tc.webdynpro.services.sal.url.api.WDURLException;
    com.sap.tc.webdynpro.services.sal.url.api.WDWebResource;
    com.sap.tc.webdynpro.services.sal.url.api.WDWebResourceType;
    Which SharingReference do I need to add in order for this to be recognized from the service?

    Hello Valery and Maksim,
    I am familiar with this post yet I have two problems that it doesn't solve:
    1. The reason we are not migrating from Local Dynpro projects to DCs is because of language issues currently handled by SAP. Our GUI is written in Hebrew and at the migration process all the text appearing on the GUI simply vanishes. So, at the moment let's assume we are working with Local Dynpro projects and not DCs.
    2. The second problem we are facing involves from the first one: Since we are not working with DCs yet and since SAP doesn't support local Dynpro projects at the DTR, CBS, CMS even if I will develop such DC it will stay locally and I will be able to use it only from projects at my workspace, other developers won't be able to share it.
    So, at the moment, even if creating a portal service is not the best solution it is the only temporary solution I see right now, unless you have other suggestions...

Maybe you are looking for

  • Sync Outlook Calendar message "Apple Outlook DAV Config has stopped working"

    Hi There, I've installed the Windows iCloud Control Panel tool, and I'm trying to sync some of my Outlook data to iCloud. Contacts works fine, and tasks appeared to work fine the first time, but syncing my calendar consistently fails with this messag

  • Group Management approval failed estatus pending

    Hi everybody, have a nice new year 2015, I have an error about approval notifications and the issue is explained below in detail: Whoever the user (approver) try to approve the requests from FIM portal (from My Pending Requests tab), he is getting th

  • For smartforms

    like medruck in sapscript for purschsing order is there any standard layouts or printprograms for smartform (specilally for purchasing order),.

  • Sending (whatsapp) messages when offline

    HI Im a recent convert from BB to iPhone - my biggest miss is that using bbm you could send a (non text) message when offline and it would automatically send when you got a signal I'm using whatsapp to communicate with my bb friends but this lack of

  • How do you Turn off Private Browsing in FireFox?

    Somehow Private Browsing was turned on our Firefox browser. How can we turn this off so that we CAN see past history?