QUERY SAP SD

Dear All,
We are creating reports through the query,here lot of sd reports through query,and we have assigned t-code to the query program,Now i would like to query name and infoset name of the query program,so that i can open the query in SQO1 & SQ02 and analyse the same ,Can you tell me how to see the query name and infoset name based on the programe.

Hi
For this you can use function RSAQ_DECODE_REPORT_NAME. Follow these steps.
Go to SE37 and give function RSAQ_DECODE_REPORT_NAME
Execute F8 orclick run button
Copy query program from query > System Status
Paste program in this function module in field REPORTNAME and execute.
Here you will find user group and query name.
Now go to SQ01 and find that query and I hope you can now reach to its infoset. If you can't then let me know.
Thank$

Similar Messages

  • Using TOAD or Hyperion to Query SAP BW?

    Is it possible to use TOAD or Hyperion Interactive Reporting Studio to query SAP BW tables? I would really like to be able to use the SAP BW infocubes but not be tied to BEx. Is this possible?

    yes it is possible to use TOAD or Hyperion Interactive Reporting Studio to query SAP BW tables.you would be able to use the SAP BW infocubes not be tied to BEx as BW will be the backend and TOAD or Hyperion Interactive Reporting Studio will be the front end for it.

  • INFOSET QUERY & SAP QUERY

    Hi masters
    wt's the difference between infoset query& sap query/
    & pls discribe both....

    Hi,
    Both are same.
    U can Access  infoset by RSISET and SAP by RSQ01

  • Query SAP in WEBADMIN

    We want to launch a Query SAP in WEBADMIN with a defined user and server, but the Iexplorer locks.
    The user and the server are defined correctly, but the connection can be wrong.
    There is some log file or error file, to see the cause of the error?.
    Can you help us?.
    Thanks.

    WITH Invoices AS  --Get invoices per item
    (SELECT I1.[ItemCode],
            I1.[Dscription],
            SUM(I1.[Quantity]) AS Qty ,DATEDIFF(month, '2006-06-01',getdate()) AS ItemMonths
       FROM OINV I0  INNER JOIN INV1 I1 ON I0.DocEntry = I1.DocEntry
      WHERE I0.[DocDate] >= '2006-06-01'
        AND I0.DocType <> 'S'
      GROUP BY I1.[ItemCode], I1.[Dscription]
    Credit AS               -- Get credit notes per item
    (      SELECT C1.[ItemCode],
                    C1.[Dscription],
                    SUM(C1.[Quantity]) AS Qty
              FROM ORIN C0  INNER JOIN RIN1 C1 ON C0.DocEntry = C1.DocEntry
           WHERE C0.[DocDate] >= '2006-06-01'
                 AND C0.DocType <> 'S'
          GROUP BY C1.[ItemCode], C1.[Dscription]
    ItemInfo As
    (SELECT T0.ItemCode[SearchCode], T0.FRGNName[Description],
    cast (cast ((T1.OnHand- T1.IsCommited) as decimal (5,0)) as nvarchar (10))[Available],
    cast (cast (T1.OnOrder as decimal (5,0)) as nvarchar (10))[Expected],
    (case when (T0.U_IMP is null or T0.U_IMP = '')  then '0' else T0.U_IMP end )as 'InputTube',
    (T0.U_Wieghtm * T0.BLength1)[KgLength], T0.ValidComm[-], T2.Price[PriceL],  T0.SWW[Spec], T0.U_WIEGHTM[KgMetre], 
    (T2.Price/(CASE WHEN T0.BLength1 = 0 THEN 0.0001 ELSE T0.BLength1 END))[PriceM]
    FROM OITM T0  INNER JOIN OITW T1 ON T0.ItemCode = T1.ItemCode
    INNER JOIN ITM1 T2 ON T0.ItemCode = T2.ItemCode,
    OCRD T3
    WHERE T3.CardName = '@urservice'
    and LEFT(T0.ITEMCODE,1)<>'L'
    and t0.itmsgrpcod <> '105'  and t0.itmsgrpcod <> '101' and t0.itmsgrpcod <> '112' and t0.itmsgrpcod <> '113' 
    and t0.itmsgrpcod <> '111'  and t0.itmsgrpcod<>'114'
    and T2.[PriceList] = T3.[ListNum]
    and T3.CardType = 'C'
    Edited by: Janice Middleton on Jul 20, 2009 1:18 PM

  • Query SAP BW via BO universe - Dialog user / Communication user

    Hi,
    Context: XI 3.1 Web Intelligence on top of SAP BW.
    Can a communication user be used in the universe connection? or does it need to be a dialog user?
    Possibly the following post already gives the answer:
    Change BEX query to run in background process instead of dialog?
    Terminology used there is slightly different, we just want to be sure.
    Thanks!
    Raf

    Hi,
    I just tried it with User Type = Communications data and with User Type = System. Both of them worked fine and I was able to display the queries/infocubes from BW.
    Hth.,
    Jacob

  • SAP Query, SAP Script

    please give the step by step details . SAP Script and SAP Query .

    Hi Krishna,
    <b>SAP query</b>
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20create%20sap%20query&cat=sdn_all
    <b>SAP Scripts</b>
    http://www.sap-img.com/sapscripts.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
    http://www.sap-basis-abap.com/sapabap01.htm
    http://www.sap-img.com/sapscripts.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
    http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
    http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
    Regards
    Aneesh.
    ~~The best practice is to search the forum before posting a thread.

  • ABAP QUERY (SAP QUERY) Coding problem?

    Hi experts,
    Can anyone tell me how to find what is the final internal table in SAP QUERY? I want to delete some unwanted records from my final internal table but I am unable to find it. please do help. Its urgent I am strugling from 3 days, to day I have to finish this task...
    Help !!!!!

    HI,
    It is not the the internal tables but the structures have been filled for the tables you have declared in SAP QUERY
    or defined using EXTRAS option.
    in the application tool bar there is  a button 'CODE' by using the 'Record Processing' event of this you can clear the fields you want.
    REgards

  • Best way to query sap tables

    hi everyone. i am new to data services, so here we go. we are using an sql2005 server for our end data repository. i am trying to create a temp table of sap po data. i have split the queries up so that query 1 is 2 sap tables, query 2 pulls in another sap table, etc. so that i only have one sap table, other then the first query, being queried at a time. it takes a really long time - i end up killing the job. is there a better way to pull sap data?
    thanks - sandra.

    Try here:-
    http://wiki.sdn.sap.com/wiki/display/BOBJ/SAP
    This is an incredibly useful set of pages.

  • Query SAP Database with Native Sql.

    Hi,
    I would like to query the table MARA with native sql and return all headings and data
    Select * from MARA where MATNR = '00000000151515'          
    <i>I need this to be able to TEST my Sql statements.</i>
    In SqlServer you have the Query Analyser where I can do just this, but is there some nice in SAP Tool for this as well ?
    [Unfortanely I can't connect to SAP_U01 database from QA...]
    //Martin

    Hi Martin,
    maybe you give ST05 a try: last button gives the possibility to enter a SQL-statement directly - and for explanation it has to be executed (somehow).
    Regards,
    Christian

  • Any DCOM object to query SAP Systems status

    Hi All,
    I am looking to write a either VBScript or VB application to quickly query status of all the SAP Systems in our environment. I am currently using sapcontrol.exe in a batch file but I am unable to manipulate its output. This is just a temporary solution until we get the solution monitoring up and running.
    I did some research on ISAPControl DCOM object but it has to run on the physical server of the SAP System.
    Any help is highly appreciated.
    Thanks,
    -RT

    I used SAPControl.exe in a windows batch file to query the SAP Systems I want and dumped it to a SQL table. Wrote queries on top of it to summarize and used xp_sendmail to send the results. Worked out pretty good. I understand I can use Solution Manager to do the same. But I wanted something outside of SAP infrastructure.

  • Querying SAP Database

    I seen in some sites that we can query the SAP database using doQuery()..
    If i use the tablename eg.OCRD used by SAP for my application.. Is there any chance of changing the table name in SAP..
    If anybody having exposure in SAP SDK please give me some ideas about that

    Following code works for me (in VB):
            Dim rs As SAPbobsCOM.Recordset
            Dim query As String
            Try
                query = "SELECT * FROM OCRD"
                rs = oCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                rs.DoQuery(query)
                Console.WriteLine("aantal regels ", rs.RecordCount)
                If rs.RecordCount > 0 Then
                    Dim file As String = "c:\temp\bp.xml"
                    Console.WriteLine("file: ", file)
                    rs.SaveXML(file)
                End If
            Catch e As Exception
                Dim message As String = _
                    e.[GetType].ToString + ":" + vbCrLf + _
                    e.Message + vbCrLf + _
                    e.StackTrace
                Console.Error.WriteLine(message)
                MsgBox(message, MsgBoxStyle.Critical)
            End Try
    Regards,
    Jacco.

  • Querying SAP Data using native i tools

    Can a standard IBM tool like Query/400, SQL, etc. access SAP data? Is the data actually stored in DB2 or in some other form? If it is, what library would you look for?
    Thanks.

    Hi BillNGS,
    in theory yes, but not with call ...
    You could use STARTRFC or start RFCs on a differerent approach. You could use the not reliable SAPEVT and so on. I would say, for such kind of things, you need a bit consulting in order to discuss the different options and then to make a useful decision for your company.
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

  • Cash Approval Query (SAP B1 8.8)

    Dear Experts,
    I want to implement (SAP 8.8) Approval for users who will do the cash transactions
    through Outgoing Payment. That means whenever the users will do the entries
    by cash a/c thru outgoing payment then it will go to the Approver to approve.
    Only cash transactions will go for approval ,other Outgoing transactions will not go for approval.
    What would be the query?
    Plz help me.
    Rgds
    Subrata

    Hi Subrata......
    Try this.....
    SELECT Distinct 'TRUE'  FROM OVPM T0 Where T0.CashSum is not null and T0.CashAcct=$[OVPM.CashAcct.0]
    Regards,
    Rahul

  • Gross Salary Report Need to develop in ABAP Query -sap-hr

    Dear Experts,
    i need to create salary report through ABAP-query.
    i have following below stops.
    1)Create user group thorugh SQ03.
    2) Having problem in creating Infosets,as i need to use PNPCE as ldb and p9001,p9002,p9008,p9000,p90402.but when i am created infoset it is showing in order p9000,p9001,p9002,p9008,p90402.and i am not finding any where join condition,how will i join these.
    Didnt find any tutorials..for HR abap-query
    please advice.
    Thanks & Regards
    Anwar

    Dear Experts,
    i need to create salary report through ABAP-query.
    i have following below stops.
    1)Create user group thorugh SQ03.
    2) Having problem in creating Infosets,as i need to use PNPCE as ldb and p9001,p9002,p9008,p9000,p90402.but when i am created infoset it is showing in order p9000,p9001,p9002,p9008,p90402.and i am not finding any where join condition,how will i join these.
    Didnt find any tutorials..for HR abap-query
    please advice.
    Thanks & Regards
    Anwar

  • Query SAP BW via XMLA Webservice and save response to HD

    Hi,
    I´m currently working for an QM Project to create an Overview-page with figures from various BW-Querys. Unfortunatly the the BW-Performance isn´t fast enough to execute a lot of Querys in realtime, so I can´t use the Web App Designer.
    To improve performance I want to execute those querys once a day and save the result sets on hard disk. To get the data out of the BW I want to use the XMLA-Webservice which is already running.
    Is there a simple way or application to send my XMLA to the webservice and save the response on hard disk?

    You can use XMLA web service or the queryview web service to get the data in XML format. The queryview XML service is only available from BW 3.5, see attached documentation.
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    Ther is also an How to document available for XMLA under the BW 3.0B section.
    If you are looking at a report with no navigation you can use the pre-calculation of the web reports with reporting agent which will create a pre-calculated HTML output on the BW server. Everytime you access the web report the pre-calculated HTML output will be displayed and the performance is great as the data is not accessed at runtime.
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/content.htm
    Thanks.

Maybe you are looking for

  • Adobe Photoshop CS3 - Problem with Trial

    I recently downloaded and installed Adobe Photoshop CS3 directly from Adobe as it is the latest version my Mac supports. Upon start up, I am greeted with two options: a) I have a serial number for this product. and b) I want to try Adobe Photoshop CS

  • GOP / UEFI Vbios Request N660 TF 2GD5/OC

    Hello, I would like to request the updated VBios for the N660 TF 2GD5/OC S/N:602-V287-050B1301121706 I have a problem with a fan, which is away from the chip, at ignition computer spin, al al fit and only after the AB lift over 70%. Sorry for the bad

  • Damsel is distress, please help!

    I hit something that caused the thing just to the left of the url box, to turn to a plus (which when I click it, it goes to bookmarks. How do I get it back to where the icon is there that I can click on to return it to the previous page? I am truly t

  • How to setup System propterty in 10g EM

    Can anyone tell me how to setup System property in 10g EM or any system config file? My existing application has following code to access System property: this.logDir = System.getProperty("ServletLogDirectory"); My current application server is oas 4

  • Forcing an image to be cached

    my images are cached only after the second time they're drawn. that first, not accelrated render causes a little pause in my app. is there a way by which i can make the image cached already before it's first appearance? i know i can do if i use a VM