How to use query in sap tm?

I have tried to call the query method using service manager instance as shown below
CALL METHOD lr_srv_mgr->query
     EXPORTING
       iv_query_key            = zif_viv_trq_c=>sc_query-root-test_query
*     it_filter_key           = lt_filter
       it_selection_parameters = lt_filter
*     is_query_options        =
*     iv_fill_data            = ABAP_FALSE
*     it_requested_attributes =
     IMPORTING
*     eo_message              =
*     es_query_info           =
*     et_data                 =
       et_key                  = lt_trq_key.
but  lt_trq_key is not getting filled .

It seems that there is nobody meeting the same problem.
I solved it by myself.
An thanks.

Similar Messages

  • "how to use Query include one month "

    Hi all expert,
    How to make a request how to add table "QTYSALES one month yesterday"
    so that I can compare with this month.
    Query me this:
    SET ARITHABORT OFF
    SET ANSI_WARNINGS OFF
    SELECT T0.ItemCode, T0.Dscription,T1.OnHand, convert(varchar,SUM(T0.BaseQty*T1.NumInSale)) AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,convert (varchar,(t1.onhand/(SUM(T0.BaseQtyT1.NumInSale)/DAY(GetDate()) Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END)))AS 'TURN OVER IN MONTH'
    ,round(convert (varchar,(t1.onhand/(SUM(T0.BaseQtyT1.NumInSale)/DAY(GetDate()) Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END))),4)* 30 AS 'Turn Over Days'
    FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
    WHERE Month(T0.DocDate) = Month(GetDate()) AND Year(T0.DocDate) = Year(GetDate())
    GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand
    union
    SELECT T1.ItemCode, T1.itemname,T1.OnHand, '' AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,'No Sales' AS 'TURN OVER IN MONTH'
    ,NULL
    FROM DBO.OITM T1
    WHERE T1.ITEMCODE NOT IN (SELECT ISNULL(ITEMCODE,0) FROM INV1)
    GROUP BY T1.ItemCode,T1.itemname,T1.OnHand
    ORDER BY 1
    thanks for all
    Edited by: rachelhel on May 20, 2009 8:06 AM

    haiiii allll pls help...thankss
    Hi consulatant B1
    How to use Query
    My goal is to create a table to see * The number of sales in a month yesterday *
    I want to make a request showing the amount of sales at the end of the month.
    For example this month is on May 25, so I want to show the Quantity of one month April 25
    I have tried several times, but still just wrong.
    I need expert help to solve the problem for me.
    thanks

  • How to use query-database() function in transformation?

    Hi All,
    How to use query-database() function in transformation?
    It is giving four fields but if i write select query in sqlquery field it is saying select node is not found....
    plz help me out
    Regards
    Pavankumar
    Edited by: [email protected] on Jul 29, 2009 2:49 AM

    Hi,
    To answer your query:-
    http://abhishek-soablog.blogspot.com/2008/08/orclquery-database.html
    Cheers,
    Abhi...

  • Exp Command how to use query in Exp (oracle9i)

    How to use query in Exp

    Read the Utilities Guide and see for yourself.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1005843

  • How To Wire Query in SAP?

    Hello All,
    I never used Sq01 functionality in SAP but i wan to learn how to use it, can any one give some documentation on this or guide me the basics please.
    Thanks
    Sundu

    Dear Sundu
    check the links
    [SAP Query|http://www.olemiss.edu/projects/sap/SQ01_10_03.pdf]
    [SAP ABAP Queries|http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_FunctionalAreas_LogicalDB.asp]
    thanks
    G. Lakshmipathi

  • How do create query in SAP?

    Dear Expert
    How do create query report in SAP?
    thanks for advance

    hi
    this is to inform you that,
    please follow the links:
    http://wiki.sdn.sap.com/wiki/display/ERPFI/abap+query
    http://wiki.sdn.sap.com/wiki/display/sandbox/ABAP+queries
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c?quicklink=index&overridelayout=true
    hope this clears your issue
    balajia

  • How to use Query in JDeveloper

    Dear all,
    I use Oracle JDeveloper 10g,
    In the DesignerModel we can define Graph,Crosstab,Query,etc.
    In JSP page I can use the Presentation by drag&drop it.
    But I do not know how to use the Query that we have created by GUI through bibeans API.
    Any help is appreciated!
    thanks

    It seems that there is nobody meeting the same problem.
    I solved it by myself.
    An thanks.

  • How to use Query in Crystal??

    Dear all, This must be the simplest question around however, I cannot understand how to use SQL queries under Crystal.
    I read the help file and it says you need to use universe to create queries.
    I don't have a universe in my report nor it is coming from Universe. I am using direct ODBC connection link to database and then using formulas to put the information into the report.
    Can someone please guide me to the Help articles or forum link where Query in Crystal is explained?
    many thanks
    Regards
    Jehanzeb

    Hello,
    I have done all that however, now my reports are taking way too much time to load. I mean nearly 5mins before it loads the report.
    I used the SQL command as
    Select order_no
    From Order_header, Order_progress
    Where Order_progress=77
    Using this, even the fastest report takes forever to load.
    Is it because it is checking every records against the tables and then loading the report.
    Can we make it faster?
    Regards
    Jehanzeb

  • How to use 'query data source Name '  property in a block

    I want to create a block using query and want to show the columns on a form.
    Could you please tell me how can I do this?
    Regards

    Hi!
    Create a new block manually.
    Set the Query Data Source Type Property to FROM clause query.
    In the Query Data Source Name Property write your query like you would
    write it in sql*plus or toad but without a order by clause.
    Set the DML Data Target Type Property to None.
    Create items for the columns in your query.
    May set the where clause and order by property of the block.
    Build the form and execute a query in your new block.
    Regards

  • How to use Query Builder in JDeveloper?

    I am not able to use Query Builder with JDeveloper version 11g 2.
    The online documentation about Query Builder:
    http://docs.oracle.com/cd/E35521_01/user.111230/e17455/db_tools.htm#OJDUG2380
    "To use Query Builder:
    Open the SQL Worksheet.
    Right-click and choose Query Builder."
    But when I right-click on the SQL Worksheet, there is no menu item "Query Builder".
    Does the documentation belong to a different version of JDeveloper?
    Edited by: Ralf_user4689599 on 06.05.2013 15:40

    all features of 11.1.2.3.0 are installed.
    It makes no difference wether I start studio developer or database developer role.
    There's no query builder in the context menu of the sql worksheet.

  • How to use query print layout design

    i have a sql query and i want to see its result on report with the help of print layout design.

    In addition to Tuvia's answer, here is the printing procedure of query PLD:
    Printing User-Defined Queries
    Use
    After you have linked a user-defined query to a user report template, you can print it according to its linked print layout.
    Procedure
    To print a user-defined query, use one of the following two procedures:
    Using the Query Print Layout window:
    1. Choose Tools u2192 Queries u2192 Query Print Layout.
    2. Choose the Reports tab page and select the query you would like to print.
    3. Choose File u2192 Print.
    The user-defined query is printed according to its linked print layout.
    Using the Queries Manager window:
    1. From the toolbar, choose with the quick info text Queries Manager.
    2. Select the query you would like to print.
    3. Choose File u2192 Print.
    The user-defined query is printed according to its linked print layout.
    You can also display a print preview for user-defined queries. To do so, choose File u2192 Print Preview.
    Printing User-Defined Queries with Variables
    Use
    When a user-defined query contains variables, its linked print layout will also display the variables data and print them.
    In the print layout linked to that query, you can see that an additional area containing the condition's parameters was added
    There is pdf file relate to Query PLD in  the SAP service marketplace website.
    Rgds,

  • How to use cartography with SAP BI, SAPBWKEY

    Hi experts,
    if found many documents about SAP BI and displaying the data on a map. I would wonder if someone could explain me step by step how to create a connection between the ArcGIS map *.shp / *.dbf and the SAP BI data table.
    I have following topic. We have a data table with DE / 94447 (Country / postal code) and need to map it to the exact polygon from the .shp file using SAPBWKEY in .dbf
    But if it is a compounded characteristics, what to type into the SAPBWKEY field in order to address the correct position on the map? Otherwise the data are displayed on the wrong coordinates.
    Can you help?
    Regards
    Stan

    Jennifer,
       There is no product called virsa control by SAP. Virsa was a small company which made different solution for SOX compliance. It was acquired by SAP. If you are talking about SAP BusinessObjects Access Control 5.3 then see the links below to understand the integration between SAP IdM and SAP AC 5.3.
    https://www.sdn.sap.com//irj/sdn/go/portal/prtroot/docs/library/uuid/b0aafd33-e662-2a10-a197-dd3137f7f7e0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0da2dba-0480-2b10-a7ae-f055ab6e9355
    Regards,
    Alpesh

  • How to use Query-views as input-ready

    I have a input-ready query working fine saying the IP field is input-ready, and a value can be entered.
    If I save the query as a query-view and want to use the view instead, the input-ready field change to 'not input-ready'.
    Hence, can query views not be used in IP ?
    Thanks in advance, Mikkel

    Hello,
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?Correct. That's said in the installation guide.
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?This does not yet exist out of the box. You can have a look how Oracle did it and try to mimic it in your own application.
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?Import app 4500 in your own workspace. On page 1002 you should find the query builder.
    Again you can't just run this, you would need to make customizations to it. Alternatively you can add just a textarea on a page where you can run SQL statements from. But I guess you want to have the graphical display?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?APEX is living in the Oracle database. So everything inside that database you can potentially work with. If you need data from other sources you can use a database link or hytrogenous connectivity. Basically if you can do it from the Oracle database, you can also do it from within APEX.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • How to use Query Builder as a component inside our applications?

    I am very new to Apex, but I loved it until now :)
    After my first experience I am thinking to advice Apex as an Oracle database reporting environment to some of our marketing and sales guys. These guys are familiar to basic SQL and table, index concepts and their need is to create dynamic reports, take their output to excel and email these reports all around the company :)
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?
    Thank you.

    Hello,
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?Correct. That's said in the installation guide.
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?This does not yet exist out of the box. You can have a look how Oracle did it and try to mimic it in your own application.
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?Import app 4500 in your own workspace. On page 1002 you should find the query builder.
    Again you can't just run this, you would need to make customizations to it. Alternatively you can add just a textarea on a page where you can run SQL statements from. But I guess you want to have the graphical display?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?APEX is living in the Oracle database. So everything inside that database you can potentially work with. If you need data from other sources you can use a database link or hytrogenous connectivity. Basically if you can do it from the Oracle database, you can also do it from within APEX.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • How to use Variable in SAP HANA Information Modeller?

    Hello Folks,
    I have created a variable in Information modeller of SAP HANA Studio on top of an Analytical view (Regional Sales).  This variable is SingleValue (Multiple Value Selections).  This variable should prompt me the name of Country/Regions but somehow this is not working when I am using data preview and Analysis tab of data preview.
    Could you please enlight me where I am going wrong? or Let me know if is there any other forum for this.
    P.S : I am using SAP HANA studio on Cloud.
    Regards
    Muffazzal Fani

    Hi,
    After you created that variable as mentioned above, did you apply this variable on your LAND1 attribute.
    How: Open Analytic View --> on right-side you see the attributes,measures etc. >right click on 'LAND1' and select>
    'Apply Filter'--> In the drop-down  select your created variable and activate.
    I assume the above should resolve your issue. Please let me know if it helps.
    Revision: I mean the HANA version you are using.
    Regards, Rahul

Maybe you are looking for

  • General Ledger - Revaluation/Translation Process Question

    Application Release Version: 11.5.10.2 MRC: Not turned on for new entities. (See details below) My customer has been using oracle from around 2001 and went through a process at the end of 2008 to setup a new chart of accounts and approx 6 different c

  • !Beware: BWA 7.20 Rev 10 Issues!

    We are having problems with index creation, just like we did in BWA 7.20 Rev 6. I would suggest lots of index creation testing prior to upgrading your production environment. I'm just about to open an OSS Message for the issue. This is simply a heads

  • Firmwire Probl

    Ok, I own a zen touch (40gb). I resently installed the updates for every thing; firmwire, media source, ect. This caused me to format my touch. The patches were supposed to make my player compatable with windows media player ,and it is. The problem i

  • Im adding photos from iPhoto to an iMovie project.

    I want them to be the same length for each photo. I follow the directions in the settings button, yet each seem to have an individual time. 

  • Hi i need an example or a document to make an ASAP methodology

    Hi all, i m looking for an ASAP methodology, if you have one, i'll be really glad of starting mine, please send it to this direction:  npi2004@hotmail , thanks guys !