Extraction using ABAP Query

Hi Experts,
I have a data source in which the extraction is using ABAP Query. From RSA2 I got the infoset name. I would like to know if the extraction logic is put inside this infoset. If so how to see the extractor ouput in R/3 and how to debugg the infoset. I can't put break point in infoset. I tried to debugg the extractor through rsa3 and it is not going to the infoset also.
Please help me as I don't have any experience in BI.
Thanks,
Soumya.

Hi Soumya,
Infosets are similar to views created on different tables by linking them with one another. So instead of debugging one should look for how this tables have been linked in tcode SQ01.
Hope that helps.
Regards
Mr Kapadia

Similar Messages

  • Generating a report using ABAP query

    Hi All,
    I want to generate a anlytical report using ABAP query, There are 3 different transactions/steps have to be executed to get this data in an actionable form.
    1. MB52 - Unrestricted Stock
    2. ZCustomquery - Custom query in SAP R3
    3. Combine above two in a single report.
    Please suggest me how can i proceed,
    1. Example i have created query name called Finalrepot
    2. How can i call above zcustomquery and Transaction (MB52) in the Query.
    Thanks for your help
    Pradeep

    Hi,
    Check below link to create ABAP query (SAP Query)
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    Best regards,
    Brijesh

  • How to add the fields to the transaction 'Z10SD25' using ABAP Query

    Hello,
    I want to add the new fields like 'From' and 'To' depending on some conditiions. But i have to do this using ABAP Query.
    Can any one help me with this as I am not much aware of ABAP Query .
    Regards,
    Darshana

    Hi,
    ABAP/4 query can be designed in four steps
    1.     Creation of a user group
    2.     Creation of Infoset
    3.     Assignment of user group to Infoset
    4.     Creation of the query based on Infoset
    By executing the transaction codes mentioned below
    u2022     SQ01   ABAP/4 Query
    u2022     SQ02   Infosets
    u2022     SQ03   User group
    Step 1: To create an Infoset without a logical database
    One of the following can be selected
    u2022     Based on a single table
    u2022     Using an ABAP/4 program
    u2022     Using Table Joins
    u2022     Using Sequential Dataset
    NOTE: The tables to be used in the join should have at least one field in common i.e. it should have the same name, domain or data element.
    Step 2: Here you specify the users who should be authorized to run the query. A user group is always associated with a Infoset.
    Step 3: In Query Definition you can define the Selections Screen. Here you can check against the fields(fields from the tables specified in the infoset above) that you require to be shown on the selection screen.
    Now we Finally need to specify the output type for the query as Basic List, Statistics or Ranked List. Choose the option Basic List and also select the fields to be displayed in the output list(in your case from and to fields...)
    After providing all the above options you can save the query and execute it by clicking the Execute button twice.
    Hope this helps
    Regards
    Shiva
    Edited by: Shiva Kumar Tirumalasetty on Sep 15, 2009 12:44 PM

  • Programs generated using ABAP query vanishes after upgrade

    Hi all,
    The programs generated using abap query in sq01 vanishes after upgrading from 4.6C to ECC 6.0 system.
    Is this a know issue, do we have a solution for this?
    Can anyone help
    Thanks
    Senthil

    Hi,
    Try to generate the Queries again in the new system...using the FM : RSAQ_GENERATE_PROGRAM
    The input needed is the Query name and the usergroup...The details can be obtained from the table AQLQCAT(local queries areas) and AQGQCAT(global areas queries).
    Once you generate the query , a program gets created...
    if you have lots of queries to be genretated, write a custom report by fetching the data from the above tables and use the FM to generate the same...
    Hope this helps you..
    Reward if useful
    Regards
    Shiva

  • Self join using ABAP Query

    Hello all,
    How to create a self join using ABAP Query?
    Say, I have this table EKBE with belnr (materials doc num) and lfbnr (reference material doc num). I have to pick the PO's from EKBE whose belnr doesnt have any lfbnr.
    Regards
    Madhumathi A

    hi madhu,
    tables : ekbe.
    data itab like standard table of ekbe with header line.
    select * from ekbe into table itab where belnr >< 0 and lfbnr = ' '.
    loop at itab.
    write :/ itab-belnr,itab-lfbnr.
    endloop.
    check this code this works to select the orders whose belnr doesnt have any lfbnr
    reward points if useful.

  • Development of Reports using ABAP Query

    Hi
    can anyone please tell me about 'Development of Reports using ABAP Query' and how to use it in real time
    Thanks
    jay

    look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
    A.

  • Interactive reports using ABAP query

    I have developed an ABAP query which prints the sales documents in ALV list display.
    In that  list display I would do develop a functionality is , when ever i double click on the sales doc number it will directly go to the VA03 transaction for the corresponding VBELN.
    Can anybody explain how to do this?

    Hi,
    When you double-click on any cell of alv, use this code to fetch the data of the line that you currently clicked, its working:-
    When you double click on the ALV line, you will have sy-ucomm = '&IC1'.
    So when you define a i_callback_user_command for the FM reuse_alv_list_display,
         i_callback_user_command           = 'COMMAND' " for User-Command
    and create it as:-
    FORM command USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
      DATA : ok_code TYPE sy-ucomm.
      ok_code = ucomm.
      CASE ok_code.
        WHEN '&IC1'. "for double click on alv line
          " your code
      ENDCASE.
    ENDFORM.
    As you have used selfield TYPE slis_selfield, the field selfield will hold all the values.
    To know on which row you have clicked and to retain that line, use code:-
    Suppose you are currently displaying data from internal table itab and corresponding to it you have work area wa.
    read table itab into wa index selfield-tabindex. "index value of line you clicked
    " now you have the contents of line that you double clicked currently
    Now to know the field name that you clicked, use:-
    selfield-fieldname " will fetch you the name of field that you clicked
    Now using the work-area and the name of field that you clicked, you can easily make out the details of the field i.e., field name and field value and you can code as per your requirement.
    Refer:-
    CASE selfield-fieldname.
      WHEN 'VBELN'.
        SET PARAMETER ID 'AUN' FIELD <wa-vbeln>. "value for work area for vbeln
        CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
    ENDCASE.
    Hope this helps you.
    Regards,
    Tarun

  • Customer Notes using abap Query

    HI Experts,
    Can any body suggest me abap query for extracting customer notes?? I have to go thru only this option.
    the text i am supposed to extract is here.......VA42 > goto>header>texts> completion notes ..
    READ_TEXT is not a solution for me...i need only ABAP Query..
    thanks
    sony
    Edited by: sony on Jan 6, 2009 1:32 PM

    hi jay,
    thanks for ur reply..but as mentioned read_text is not a solution..
    thanks
    sony
    Edited by: sony on Jan 6, 2009 1:43 PM

  • Hoe top create summary and detail report using ABAP QUERY

    Hi ,
    Can any one suggest me how to create summary and detailed report using ABAP Quey.
    Regards,
    Raghu.

    Hi,
    Table Declaration
    tables:mara,mast.
    *Declaring the internal table
    data: begin of itab_new occurs 0,
          matnr like mara-matnr,     "Material No
          ernam like mara-ernam,     "Material Created by
          mtart like mara-mtart,     "Material Type
          matkl like mara-matkl,     "Material Desc
          werks like mast-werks,     "Plant
          aenam like mast-aenam,     "BOM created
          stlal like mast-stlal,     "Alternative BOM
          end of itab_new.
    select-options: p_matnr for mara-matnr.
    CODE A : Retrieving the data from the database
         select  f~matnr f~ernam f~mtart f~matkl m~werks m~aenam m~stlal
         into table itab_new
         from mara as f inner join mast as m
         on f~matnr = m~matnr
         where f~matnr in p_matnr.
    CODE B : Retrieving the data from the database.
        SELECT FMATNR FERNAM FMTART FMATKL MWERKS MAENAM M~STLAL
        INTO TABLE ITAB_NEW
        FROM MARA AS F INNER JOIN MAST AS M
        ON FMATNR = MMATNR
        WHERE F~MATNR = P_MATNR.
        SORT ITAB_NEW BY ERNAM.
    loop at itab_new.
    write:/5  itab_new-matnr,itab_new-ernam,itab_new-mtart,itab_new-matkl,itab_new-werks,itab_new-aenam,itab_new-stlal.
    endloop.
    *TABLES: MARA , MAST.
    *DATA:BEGIN OF ITAB_NEW OCCURS 0,
                 MATNR LIKE MARA-MATNR,
                 ERNAM LIKE MARA-ERNAM,
                 MTART LIKE MARA-MTART,
                 MATKL LIKE MARA-MATKL,
                 END OF ITAB_NEW.
       SELECT MATNR ERNAM MTART MATKL
       INTO TABLE ITAB_NEW
       FROM MARA
       WHERE MTART = 'T'
       ORDER BY MATNR ERNAM MTART MATKL.
    *DATA: BEGIN OF ITAB OCCURS 0,
         MATNR LIKE MARA-MATNR,
         END OF ITAB.
    Thank U,
    Jay....

  • Excess Inventory/Scheduled Receipts Report using ABAP Query.

    Hi All,
    I want to create a ABAP query for Excess inventory & Scheduled receipts in a single report. I have identified tables, fields and some extra calculated fields in the report. Here are the following tables and fields.
    EKPO-MATNR      ( Material number)
    EKPO-WERKS     ( Plant)
    MAKT-MAKTX       (Material Discription)
    MARC-MAABC      ( ABC indicator)
    LFA1-NAME1        ( Supplier name)
    MBEW-STPRS      (Total value)
    EKET-EINDT         ( Item delivery date)
    RIBOF-AMOUNT
    S939-SPWOC or S032-SPWOC
    Calculation fields : Value execess this week.extend value, over or under this week, onhand inventory for last week and this week.
    Here my question is, when i was creating a infoset, how do i maintain relationship or joins from one table to another table...Is there any sequence for the above tables? Pl suggest. When i was adding all the tables in a infoset and try join the tables...it says illegal join...
    Pl suggest me.
    Thanks for your help
    PRadeep
    Edited by: Venkata Pr Papulugari on Jul 18, 2008 1:37 AM

    Hi Gordon,
    What i need to display is the remainder of the transaction that was received... if it is zero (0), i don't want to display it.
    i.e.
    transact # 100 inqty = 5
    transact # 200 outqty =1
    I'd like to display
    transact # 100     qty on hand = 4
    right know the transaction # that i am displaying is transact # 200.
    And also, it needs to be warehouse oriented. because i can have multiple warehose transactions.... and i am getting that wrong too.
    Regards,
    Manuel Roman

  • Creation of Program using ABAP Query (SQ01)

    Hi All,
    I have a program called "AQL4FI==========INVOICE_CHECK=" in my 4.6 server but a similar program doesnot exist in ECC.
    From the name, it looks like a program created using SQ01.
    Can anyone please help as to how to create the same program in ECC using SQ01 by looking at the program in 4.6?
    Please help.
    Helpful answers will be fully rewarded.
    Thanks a ton.
    Naba

    First thing is this is not the way to convert the SAP Query to Report.
    First check that how many table in your query they have used.To check this if you go in SQ02 press display button left side you can see the tables.To check the fields selecting from tables check in field groups.
    In record processing check are there any conditions are there.
    Now wrire a select statement by joing all tables which you found above and in this select statement extract all fields which you found in field group into one internal table .Here you give the selection screen fields as condition fields in select statement.If you found any conditions in record processing event ,Loop that internal table and check the conditions or modifications.
    If you need more help let me know.
    Pls. reward points for helpful answers
    Thanks
    Murali Poli

  • Generic Extraction using Infoset Query

    Hi Experts,
    I am trying to create on Infoset query on the R3 side for creating one generic Extractor Joining EKKO and EKPO table.
    u2022I have created the User group in SQ03.
    u2022I have created the Infoset in SQ02 and selected few 5/6 fields from each EKKO and EKPO tables into the Field Groups of the Infoset.
    u2022I have generated the Infoset and assigned it to the user group created on SQ03
    u2022I have created a query on SQ01 using this Infoset and deselected the u201Ctextu201D fields created by default and selected the Basic list. Done everything needs to be done in there.
    Now when I am going to RSO2 and created the extractor using that Infoset, I am not seeing the Function groups that I have created in the Infoset in the Extract Structure, rather its pulling all the fields that is there in the Infoset joining both tables. It should show me those 5/6 fields that is there in the field group.
    I just want to see only those 5/6 fields in the extract structure of the DS.
    I am not sure what is missing.
    Any documentation on the same or if anyone faced similar problem, please help.

    Hi,
    You can create the infosets in r/3 using the t code Sq01,sq03 etc.
    You can create a generic extractor in r/3 using the tcode rso2 and that you can specify the infoset name.
    Regards,
    K.Manikandan.

  • Extraction using infoset query.

    Hi,
    I have an extractor in R/3 which is using infoset  for extraction. The infoset contains some logic for extraction. I want to debugg the infoset. As the infoset is not attached to a query how can i debugg the code written in infoset.
    Thanks & Regards,
    Soumya.

    Soumya,
    If the problem is in the data which is being extracted from R/3 then debug the datasource by:
    use transaction RSA3 in R/3 to execute the datasource and put a tick in the option "Debug Mode".
    Mark

  • Infocube data extraction using ABAP

    Hi,
    We need to extract Charactristics values data from Infocube but LISTCUBE cannot be used because of reasons of flexibilty.
    can any body suggest a way of the data extraction from the Infocube.I tried using the 'RSD_CUBE_DATA_GET' but not to much success also SAP will not support for later releases.
    If anybody has a template program can you plaese send it.
    at email id [email protected]
    Thanks and Regards,
    Arunava

    Hi
    In BW v3.1 have been able to use function module RSDRI_INFOPROV_READ,  (- see demo program RSDRI_INFOPROV_READ_DEMO).
    Hope this is of some help.
    Regards,

  • ABAP Query Extracts

    hello experts ,
                              i am using ABAP query (sq01) infoset ( logical database ).Is it possible to add extract feature in the abap query selection screen . if possible then how?
    thanks
    vivek

    Hi Vivek,
    Its not possible. Whenever you activate your query it generates a standard program & its not modifiable.
    Regards
    Abhii

Maybe you are looking for

  • Error 1722 when installing Run-Time Engine 6.0

    I am unable to install the necessary LabView Run-Time Engine 6.0 required to run my VitalView Software.  I have reviewed the message boards and attempted all possible solutions: disabling anti-virus programs, following the NI support links: http://di

  • I am doing a login server...

    i am doing a school assignment and it requires me to implement an application which is very much similar to icq... the server connects to a ms access database this is the main interface http://hk.geocities.com/iamsupersuperman/DLS.JPG this is the log

  • URL String Substitution

    I have stored a URL in a varchar2 column in an oracle table, and used the LINK feature in htmldb to create a link out of the text for the column. However, when I try to run the page which was gotten from that text in the database, it fails to perform

  • Stacks disappear if pick is rejected

    I just found out that if you give the current pick in a stack a rating of reject and then click outside of the stack then it vanishes. The only way I could get the stack back or see any of the images in the stack again was by using undo to remove the

  • Urgency question, xa_start returned XAER_RMERR

    i have an urgency question, tuxedo 6.5, oracle 8.1.7 when I used tpcall to call a service, which is in a server, tperrno returned 10(TPESVCERR). The service hase only one select statement as 'EXEC SQL select ...'. The ULOG file infomation : 082123.nz