How to set Parameters in RRW3_GET_QUERY_VIEW_DATA

Hello All,
I am trying to use RRW3_GET_QUERY_VIEW_DATA function module for executing a query. Currently i am stuck big time figuring out how to set the parameters in  I_T_PARAMETER.
I my case i need to run a query with the following key,value pairs
1. 0I_FY_OP    =  001.2004
2. ZHWORKCT = ABC
Can some one throw more light into how to set the above parameters into I_T_PARAMETER??
Thanks a  lot,
Naveen

Hello Prathibha,
Thanks for the quick respone. I did go though the weblog and am trying to find my way through the documentation. I was wondering if the BW gurus could point me to some useful tips or examples.
Thanks a lot,
Naveen

Similar Messages

  • How to set parameters in CR4E

    Hi,
    Need:
    To generate PDF reports from standalone java program using CR4E runtime engine. Reports will be designed using CR4E. The java program will use CR4E engine APIs to open the report and populate date in it from database.
    Scenario:
    I have created a report and mapped the report fields from SQL file (similar to using it as SQL command). I have also created 2 parameters and also included in the SQL file.
    Problem:
    1) These parameters don't prompt when run within CR4E designer & i see no way to set these values to work in preview mode and it appears as a blank page. Bcos of above reason, my java application when executed also gnerates blank report as the parameters are not set. How to resolve this?
    2) Then i tried using record filters to map the SQL file field name to parameter name in the report. Now, when previewed the prompts for parameters appeared and the report was displayed as expected. But, when the java application gave 'FormulaException: Field name not known' error (with mention to SQL field names used in filter). I am not using any formula in my report so this error is bcos of using record filter. How to resolve this error?
    Finally, i need a design & runtime solution to execute my reports with parameters.
    TIA,
    M.Ravi

    Ravi,
    Have you tried searching through the rest of the threads in this forum, I am sure all your questions have
    been asked and answered before.
    As to your last comment, I personally try steer away from people demanding help so maybe not
    putting such comments in the forums would help get people to reply to you. Sometimes the people who
    know the answers are busy doing other things for a day or two, so sometimes you need to be patient.
    Just a thought.

  • How To Set Parameters in a SOAP-Message for QUERY_VIEW_DATA Web Service

    Hi all,
    I want to use the QUERY_VIEW_DATA Web Service to get data from BI through an existing BEx-query.
    How can I set a navigation status as it is stated in the SAP documentation [Web Service for Accessing Query Data|http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/frameset.htm]?
    I am able to set filter values but setting any parameter with the name 'CMD' has no effect to the response.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
      <soapenv:Header/>
      <soapenv:Body>
        <urn:GetQueryViewData>
          <Parameter>
            <!-- This has no effect -->
            <item>
              <Name>CMD</Name>
              <Value>SWITCH_AXIS</Value>
            </item>
            <!-- This works --> 
            <item>
              <Name>FILTER_IOBJNM</Name>
              <Value>0COMP_CODE</Value>
            </item>
            <item>
              <Name>FILTER_VALUE</Name>
              <Value>4020</Value>
            </item>
          </Parameter>
          <Query>Z_MYQUERY</Query>
        </urn:GetQueryViewData>
      </soapenv:Body>
    </soapenv:Envelope>
    We use SAP NetWeaver 7.0 EHP1. The documentation mentioned above belongs to NetWeaver 2004s and I can't find it in the docu for 7.0. Does that mean the QUERY_VIEW_DATA is deprecated?
    Thanks for your help!
    Best regards
    Heiko Braeske

    Dear Heiko,
    did you solve this problem?
    We are facing the same problem. Every parameter that requries "cmd" does not work. I guess we don´t use this paramter the right way.
    Best, Chris

  • How to set paramters through Query manager.

    Hi,
    I need to get Parameters when we are executing SQL Query through Query Manager.
    In Query manager how to set prompt window for parameters.
    Below I applied parameters for from date and to date but its showing error. How to set parameters prompt window.
    SELECT     OJDT.TransId, OJDT.Number,NNM1.SeriesName,ojdt.baseref as BaseRefNumber, JDT1.Account,JDT1.StornoAcc,OACT.AcctName,jdt1.credit,jdt1.debit, jdt1.profitcode as [Customer/Vendor],JDT1.OcrCode2 as [Region/Location] , JDT1.OcrCode3 as  Department,
                          JDT1.OcrCode4 as [Core/Deputees/DailyWage/General], JDT1.OcrCode5 as [SubAccofCA&CL],OJDT.RefDate, OJDT.Project,jdt1.project
    FROM         OJDT
    INNER JOIN JDT1 ON OJDT.TransId = JDT1.TransId
    INNER  JOIN OACT on OACT.AcctCode=JDT1.Account
    INNER JOIN NNM1 ON OJDT.Series = NNM1.Series
    where ojdt.transType=30 and  ojdt.refdate >= '[%0]' AND ojdt.refdate <= '[%1]'
    Please guide me.
    Regds,
    Sampath kumar devunuri.

    hi sampath,
    Try this query
    SELECT T0.TransId, T0.Number,T3.SeriesName,T0.baseref as BaseRefNumber, T1.Account,T1.StornoAcc,T2.AcctName,T1.credit,T1.debit, T1.profitcode as CustomerVendor,T1.OcrCode2 as RegionLocation , T1.OcrCode3 as Department,
    T1.OcrCode4 as CoreDeputeesDailyWageGeneral, T1.OcrCode5 as SubAccofCACL,T0.RefDate, T0.Project,T1.project
    FROM dbo.OJDT T0
    INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
    INNER JOIN OACT T2 on T2.AcctCode=T1.Account
    INNER JOIN NNM1 T3 ON T0.Series = T3.Series
    where
    T0.transType='30' and CAST(T0.refdate AS datetime) BETWEEN '[%0]' AND '[%1]'
    Jeyakanthan

  • How to set values of a parameterized message in ADF Faces?

    Hi all,
    i've got the following problem: I want to set the values of a parameterized message before i add the message to the FacesContext.
    Contents of the message resource bundle:
    testPage.successMsg.create=The device {0} was created successfully!
    Code within backing bean method:
    String message = getStringFromBundle("testPage.successMsg.create");
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(message));
    In Struts/ADF UIX the following code did the job:
    protected void setUIXInfoMessage(HttpServletRequest request, String key, Object[] args)
    MessageData msgs = new MessageData();
    MessageResources mr = this.getResources(request);
    String msg = "";
    if (mr != null)
    msg = mr.getMessage(request.getLocale(), key, args);
    msgs.addMessage(null, msg, null, UIConstants.MESSAGE_TYPE_INFO);
    request.setAttribute(UIX_MESSAGE_KEY, msgs);
    Can anyone help me with this problem? I have searched a lot in the Oracle ADF Development Guide and within forum, but did not find any solution.
    Another interesting thing is, how to set the parameters from jspx-Code.
    How can i achieve the same results in ADF Faces corresponding to the following UIX-Code:
    <boundAttribute name="title">
    <messageFormat format="${nls['deleteTip.confirmation']}">
    <dataObject source="${bindings.TipName}"/>
    </messageFormat>
    </boundAttribute>
    Resource Bundle:
    deleteTip.confirmation=Do you really want to delete the tip {0}?
    Another question:
    What are the corresponding elements in ADF Faces corresponding to <concat> and <if> in UIX or what possibilites exist in ADF Faces to dynamically concatenate strings depending on certain conditions?
    I know, these are many questions. I am familiar with UIX, but now i have to start developing applications with ADF Faces and there are some things i don't find corresponding equivalents.
    Thanks in advance!
    Regards,
    Stefan

    Hi,
    SRDemo shows you how to do this declratively
    <h:outputFormat value="#{res['srcreate.confirmPanel.message']}"
    escape="false" id="nextButton">
    <f:param value="#{requestScope.SRDEMO_CREATED_SVRID}"/>
    </h:outputFormat>
    where the <f:param ...> element sets the value of the variable
    To programmatically access internationalized strings, SRDemo uses
    private static ResourceBundle getBundle() {
    FacesContext ctx = getFacesContext();
    UIViewRoot uiRoot = ctx.getViewRoot();
    Locale locale = uiRoot.getLocale();
    ClassLoader ldr = Thread.currentThread().getContextClassLoader();
    return ResourceBundle.getBundle(ctx.getApplication().getMessageBundle(),
    locale, ldr);
    public static String getStringFromBundle(String key) {
    ResourceBundle bundle = getBundle();
    return getStringSafely(bundle, key, null);
    You take it from there and put it to a FacesMessage, If it uses parameters I guess you will have to parse the string
    Frank

  • How to set/get URL-parameters from ORACLE -tag?

    How do I set/get parameters in a URL, using the <ORACLE>-tag?
    We are trying to create a UI Template containing a dynamic
    stylesheet selection dialogue on top of every page. The question
    we are facing now is how to pass parameters (in our case,
    stylesheet settings) between different pages.
    Any ideas/comments are appreciated!

    How do I set/get parameters in a URL, using the <ORACLE>-tag?
    We are trying to create a UI Template containing a dynamic
    stylesheet selection dialogue on top of every page. The question
    we are facing now is how to pass parameters (in our case,
    stylesheet settings) between different pages.
    Any ideas/comments are appreciated!

  • How to set default values on the screen painter parameters?

    Hello ABAP Gurus,
    I would just want to ask how to set default values on the screen painter parameters.
    Thank you for your replies.

    Hi,
    To set default values for screen painter parameters initialize the field names with default values in the PBO module....
    say u have the field name as f_field1....
    in the PBO of that screen initialize it....
    f_field1 = '100'  "here 100 is the default value.
    <b>reward points if useful.</b>
    regards,
    Vinod Samuel.

  • How to set oracle parameters

    Hi all,
    how to set oracle parameters in my sap 4.7 server. I need to know the procedure of parameter tune.
    Regards,.
    satish.
    Edited by: satish k on Jun 17, 2008 5:07 AM

    Hi
    Please try this link.
    http://oracle.basisconsultant.com/oracle_tuning_parameters.htm
    http://www.orafaq.com/wiki/Oracle_database_Performance_Tuning_FAQ
    But before doing this, check for all the probabilities as it requires lots of data and traces to do the parameter tuning.

  • How to set single parameters for two tables?

    SELECT GM.GRNNO,GM.GRNDATE,SUM(GS.APPROVED),SM.ISSUENO,SM.ISSUEDATE,GS.ITEMCODE,SUM(SS.ISSUEDQTY)
    FROM IMS_GRNM GM,IMS_GRNS GS, IMS_ISSUEM SM, IMS_ISSUES SS
    WHERE GM.GRNMSERIAL=GS.GRNSSERIAL
    AND SM.ISSUEMSERIAL=SS.ISSUESSERIAL
    AND GM.POSTED='T'
    AND SM.POSTED='T'
    AND GS.ITEMCODE=SS.ITEMCODE
    AND GS.ITEMCODE='01-01-02-019'
    AND *******
    GROUP BY GM.GRNNO,SM.ISSUENO,GM.GRNDATE,SM.ISSUEDATE,
    GS.ITEMCODE ORDER BY GM.GRNDATE,SM.ISSUEDATE;
    ******* here i have to select the data from both the tables between two parameters named :P_1 and :P_2.
    the date column in IMS_GRNM is named as GRNDATE.
    the date column in IMS_ISSUEM is named as ISSUEDATE.
    how to set such parameters???

    I think all you need is
    Where table1.column1 between :p1 and :p2
    and table2.column2 between :p1 and :p2

  • How to set store procedure parameters

    Hello,
    To summarize our problem, we are not able to set store procedure parameters using JRC and without using a Viewer.
    Inside an rpt document we use a call to a store procedure that requires some input parameters.
    We attempted to pass the required parameters to the report (please see below) but it seems that those parameters are somehow ignored.
    In fact null values are always received by the store procedure.
    For your information, if the document doesnu2019t contain a call to a store proc but SQL clause parameters instead, then that works.
    Does that mean that sp parameters have to be set in a specific way?
    Please can you advise?
    Tanks a lot,
    Joseph
    This is how we set parameter values:
    private void handleParameters(ReportClientDocument pm_document, List pm_parameters) throws Exception
         ParameterFieldController pfc = pm_document.getDataDefController().getParameterFieldController();
         pfc.setCurrentValue(reportName, parameterFieldName, parameterValue);
    Then we export in a pdf file:
    private InputStream createInputStream(ReportClientDocument pm_document, String pm_reportName) throws Exception
         return (ByteArrayInputStream)pm_document.getPrintOutputController().export(ReportExportFormat.PDF);

    First question:
    Do you set the parameters before the database logon?
    Sincerely,
    Ted Ueda

  • How to set query parameters to i5Grid

    Hello Everyone,
    I am working on creating i5Charts.
    I mapped query template and display template to i5Chart template but I need to pass the query parameters dynamically.
    How to set query parameters to i5Grid?
    Pls help with syntax.
    Thanks.
    Regards,
    Minakshi

    Hi Minakshi,
    Yes you can try the first 2 options listed by Rohit, the 3rd one however is not supported.
    The below syntax should work for you:
      1.  gridObject.getQueryObject().setRowCount(<Value>);
      2.  gridObject.getQueryObject().setParameter("RowCount", <Value>);
    You can check the documentation at the following link:
    http|s://<host>:<port>/XMII/JSDOC/i5ChartAllClasses.html
    You could also use the script assistant to check for the JS methods.
    Regards,
    Ria

  • How to set the connection parameters for SQL

    How to set the connection parameters for SQL to access the MS Access database
    Attachments:
    Quick_SQL.vi ‏21 KB
    Doc1.doc ‏45 KB
    db1.mdb ‏112 KB

    Right-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
    This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
    If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator).

  • Newbie (!) - created a report; have to set parameters to print? How to print it all, please?

    Hi,
    I confess I'm a newbie. I've created my first table and a report based on that table. When I try to print the report, I get a dialogue box asking for the parameters for certain fields. How do I indicate "print all"? Can I save this setting, to
    print all of this document, every time? Do I have to input the parameters for each field, each time I print the document?
    I see the value of setting parameters, but don't need to filter this report.
    Thanks so very much!  Endless gratitude!

    That would explain it.  Because the report no longer recognizes the references it contains to the div_cde column, it treats it as a parameter.  Hence the prompt.  You can change the report design so that every reference to div_cde becomes
    one to div.  This could be in a number of places such as the ControlSource property of a control in the form, or the name of a column (field) by which the report is grouped or ordered, so an easier solution might be to change the table design, renaming
    the div column back to div_cde.  The report should then work without amendment.
    Ken Sheridan, Stafford, England

  • I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vecto​r signal analyzer ) to measure such as RF frequency or power on the instrument​? Thanks

    I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vector signal analyzer ) to measure such as RF frequency or power on the instrument?
    I just want to set something on the front panel that will execute the Serial parameters first and then pass these settings to vector signal analyzer
    Thanks
    Phong

    You transfer data with wires.
    Frankly, I'm a little confused by your question. I can't think of any reason why you would want to pass serial parameters (i.e. baud rate, parity) to a GPIB instrument. Please explain with further detail and attach the code.

  • How to set Application Parameters in web dynpro application

    Hello everyone,
    I have a requirement where I need to set a table as a scrollable table , as i go through this link
    [http://help.sap.com/saphelp_nw04s/helpdata/EN/b5/ac884118aa1709e10000000a155106/content.htm]
    I found that there is a application parameter WDTABLENAVIGATION which needs to be set to SCROLLBAR
    I checked on every bit in nwds for the DC where I can set this parameter but could nt find it .
    Can anyone please help me out in finding this and making my table scrollable.
    regards,
    Raj

    Thanks for the response arindam,
    Do you have any idea how to set value , i tried with some values and it has been ending up in errors.
    Kindly help me out ..
    Regards,
    Raj

Maybe you are looking for

  • What aspects of MM does SD person need to know?

    Hi Experts, Is it common for employers to demand SD person do MM? If so, what aspects of MM is practically need to know by SD person? To me, it would be the following, please feel free to add to the list and briefly describe. 1. MMBE check stock qty.

  • Reselling third party products

    Please, someone will have documentation of best practice, about how I do in SAP, for a seller to sell materials from third parties, which has no inventory and does not produce, you need to buy and sell to your customer? ? Thanks ....

  • "static inline" in headers cause multiply-defined errors linking git

    Hi, I'm trying to build git 1.6.2 with Sun Studio 12 on Solaris 10 SPARC (64bit), but I'm getting a "multiply-defined" error from ld when it tries to link any objects defined as "static inline" in the header files: git-compat-util.h ld: fatal: symbol

  • Can't open links in Firefox

    Links no longer open in Thunderbird. I click on link and address shows in bottom of window but nothing happens. Using Chrome browser. Problem occurred just a few days ago. No changes made and everything worked fine until a few days ago.

  • Generating BW Authorization from ODS

    Does anyone have any information on how to load data into the ODS objects necessary for generating Authorization for the new 7.0 BW authorization paradigm?  I would like to load the authorization info from my transactional system into my BW system so