Reg : SAP Query  in LDB

Hello ,
I would like to know more about how infosets are used in LDB's.
I was recently testing a LDB of Hedge Mgmt. i selected seveal param's  and found that the order of fields in the query really makes a  diff. LDB's are very senstive to ordering ?? Can any one give me more info on how Infosets and SAP queries work ?
Regards,
Sri

Hi,
look here:
http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb4138455611d189710000e8322d00/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb43b2455611d189710000e8322d00/frameset.htm
A.
Message was edited by:
        Andreas Mann

Similar Messages

  • SAP Query PNPCE LDB with additional table.

    Hi ABAP Gurus,
    I am developing a SAP Query.
    I have created an infoset with the custom infotype 9050 and added the table ZPA9050 into the Infoset.
    The fields of ZPA9050 is not available as selection fields when I try to Query through SQ01.
    (How do I input values to the ZPA9050 fields? A checkbox for making a Selection field is not available in the Query (SQ01).
    For every pa9050 entry there exist multiple records of ZPA9050. I need to display the pa9050 fields in the 1st row and the corresponding zpa9050 fields in the subsequent rows.
    What needs to be done in order to get them as Selection fields (Input Fields)
    A quick reply is highly appreciated.
    Useful answers will be rewarded.
    Thanks
    Pradeep

    Hello,
    at the time of cretaing INFOSET using transaction SQ02. You can click on the Extra button nad than on the selection tab to add some fields on the selection screen.
    Reward if useful
    Mohit

  • Assign Report Category to a SAP Query for PNP LDB

    Hello Folks,
    How to Assign a Report Category to a SAP Query which is using LDB PNP.
    Regards,
    Nishanth Kumar

    Hi,
    SE38 -> Report name -> attributes ->  HR Report category
    Regards,
    Dilek

  • Reg. SAP Query

    Hi
    I have written an SAP Query for Selection Criteria.
    Example Scenario:
    I want to download list of sales orders in my BAPI.
    The download criteria is maintained as a SAP Query, like, Order Type, Creation Date, Plant etc.
    Can i invoke this query in my report program to fetch the values the user has maintained in the Query Variant?
    Regards
    Meera

    Hi
    I have written an SAP Query for Selection Criteria.
    Example Scenario:
    I want to download list of sales orders in my BAPI.
    The download criteria is maintained as a SAP Query, like, Order Type, Creation Date, Plant etc.
    Can i invoke this query in my report program to fetch the values the user has maintained in the Query Variant?
    Regards
    Meera

  • SAP Query LDB SDF (BSISEXT-GKONT)

    I want to make one Query with LDB SDF. But the field BSISEXT-GKONT (Ofsseting account) still remains blank. How to fulfill this field.
    Will this field be filled, if i implement 'FAGL_ITEMS_CH_DATA' BAdI, i know that this is for FAGLL03, but i need it in Query.
    Thanks in advance.

    aha, and which part in infoset (i suppose) i should do that (in GET LATE - maybe) and i don't know the code, maybe you can help me with the steps in query and with the code.

  • SAP Query - Modfication/Changes

    Hi Experts,
    I am new SAP Query, so i have come up with this issue. Please help.
    I have an infoset query with me, also a SAP query and a transaction with some Z transaction code, the program name as taken from System->Status is AQZZZSD=========Z_SD_ORD_WO_ST.
    1. Now I can see code in the program, but I cant see that much of code in the SQ02 under extras tab. 
    2. Moreover, I have to change the code to address new requirements. How can I change the code in a SAP query???
    What are the ways to change an existing SAP query's code ???
    Thanks,
    Chandan

    Hi Chandan,
    Go to Infoset (SQ02) in change mode, click on Code icon (Sfift + F8) displayed on Application bar.
    You will find, 'Code section' where different events are listed. You can write your code in any of listed events depending on your need.
    For ex. if you want declare any variable in u2018DATAu2019 Section, to initialize any variable can use INITIALIZATION event.
    If you want to perform operation on selection screen you can use 'AT SELECTION-SCREEN OUTPUT'
    And most important event for this tool is Record Processing event like if you want to have any condition and calculation or modification of field value, you can write code in this event.
    END OF SELECTION BEFORE LIST--> You can write header information in this event. After this information, your output is displayed. (User WRITE statement to write your information)
    END OF SELECTION AFTER LIST--> You can write footer information in this event. After query output, information mentioned in this event is displayed.
    Note: END OF SELECTION BEFORE LIST and END OF SELECTION AFTER LIST work only when output format of your query (SQ01) is u2018ABAP LIST'
    GET and GET LATE: When you select a logical database as a data source of an infoset, you get this additional event to maintain the code as per your need for LDB.
    Please let me know if you need any further details.
    Regards,
    Dinesh
    Edited by: Dinesh Tiwari on Sep 30, 2009 7:21 AM

  • How to create drill down report in sap query

    how to create drill down report in sap query ,

    hi,
    The pdf below gives the steps to create drill down report.
    http://www.sappoint.com/abap/eis.pdf
    also check.
    <a href="http://72.14.203.104/search?q=cache:k-SFYy_rjPIJ:www.hrexpertonline.com/archive/Volume%252003%2520(2">http://72.14.203.104/search?q=cache:k-SFYy_rjPIJ:www.hrexpertonline.com/archive/Volume%252003%2520(2</a>
    regs,
    jaga

  • SAP Query and infoset rename

    HI
    Is it possible to rename sap query and infoset at a same time instead of changing one by one.?
    Thanks
    reg
    cns

    Dear Sathya,
    SAP does not allow you to rename SAP Query & Info set at a same time.
    Note:
    The system has to lock the following objects before you are able to use the Rename SAP Info set function:
    User group catalog
    Info Set catalog
    Query catalogs for user groups to which the Info Set that you are renaming is assigned,
    Queries using this Info Set
    Once all these locks have been set, the system can carry out the function.
    Renaming an Info Set can, however, be very time-consuming. These locks may also prevent other users from working in the system for as long as it takes to rename the Info Set.
    Thanks & Regards
    Dinu

  • Sap Query Link Tables

    Hi,
    I badly need your help..
    How can I link Table LIPS to VBEP using SAP QUERY? I have join these two tables using key field VGBEL = VBELN and VGPOS=POSNR but database access takes too long..
    I need to get Schedule line delivery date(VBEP- EDATU ) where ETENR = '0001' only.
    Please help me!
    Thanks!

    Hi ,
    get VBFA also in this loop ? or else search for LDB.
    check LDB <b>ALV</b>
    Regards
    Prabhu
    Message was edited by: Prabhu Peram

  • ABAP Query Using LDB

    Hello Frn's
    I need to develop a abap Query using LDB , for this a Infoset is allready created , which uses PNPCE LDB .
    Below i am Descrbing the scenerio , for which we need to develop the query ....
    Dept/Div Transfer
    Employees who transferred dept or division within specified date range:
    EmpID
    Last Name, First Name
    Date of transfer
    New department
    New division
    Current supervisor
    Old department
    Old division
    How can i fitler out the data of our requirment ... because i want to use same infoset in diffrent query .
    Please provide some solution
    Thanks and Regards..
    Priyank Dixit

    Hi Priyank,
    First you need to check whether all the required fields are available there in the LDB PNPCE(I guess you are using the same).
    I think old department, old division must not be available there. Then you need to add it in your Infoset and write custom code for these fields. Once you are done with custom coding, you can use this infoset for creating queries.
    Use trnx SQ02 to create queries, either SAP or Infoset.
    Hope it helps. Let me know if you need some more help.
    Raveesh

  • Adding some new fields for display in SAP Query

    I need to add some fields for display in SAP query  01 of  infoset /SAPQUERY/AM01. So I have changed the infoset by checking the additional fields which is already in LDB. Then I created the query by copying the 01 of  infoset /SAPQUERY/AM01 to Zusergroup with reference to the same infoset. In the newly created query, I am just checking the newly added field in Basic list. If I generate the program for this query, I get a error.
    Pls let me know how should I rectify this.
    Regards,
    Jeyananth

    Hi,
    Before generating the query, adjust the query from the menu of SQ01
    Thanks
    Shiva

  • Creation of SAP Query in SQ02 with Single Table With Condition

    Hi All,
    I want to Create SAP Query in SQ02 using single Table MCHA.
    ii) I dont want all entries of MCHA Table I mean , I have to apply some Condition on this Table.
    i.e  Suppose I am having actual data in MCHA table is like this for Material M1.
    Plant    Material   Batch   BatchCreationdate
    P1          M1         B1       20.06.2007
    P2          M1         B1       04.05.2009
    P3          M1         B1       04.05.2009
    But I want the Output of SAP Query is like this:
       Material   Batch   BatchCreationdate
          M1         B1       20.06.2007
    That is irrespective of Plant if Material & Batch are equal ---> 1st record with Lowest date shoud get at the output.
    Please help me How write the code on single table in the SAP Query.
    Thanks,
    Kiran Manyam

    Hi,
    Your query should be like this:
    Select MATNR CHARG HSDAT
    from MCHA
    into table t_mcha
    where matnr = Materlal number from selection screen.
    The structure of t_mcha should contain the fields that you select.
    Then sort the table by date ascending
    Sort t_mcha by HSDAT.
    Hope this solves your problem.
    Thanks,
    Sowmya

  • SAP query

    Hello ABAP Guru
    I need a help here. trying to create SAP query joining three table VBAK VBAP KONV since KONV being cluster table I am not able to do that
    thpough I am suceesfully establishe dthe link
    VBAK-VBELN=VBAP-VBELN
    VBAK-KNUMV=KONV-KNUMV & VBAP-POSNR=KONV-KPOSN
    OSS msg says we have to write routine in sap query
    but I never used that option
    anyone has any clue on how to use cluster table in SAP query?
    Thx
    Praveen

    Hi,
         Inner Join can't be  used for cluster tables.
         Write a routine in SAP query as follows.
          do inner join on vbak,vbap into internal table  
          itab.
           select for konv for all entries itab .           
    Regards
    Amole

  • How to call SAP query in a program

    Hi experts
      I have created a query in SQVI its gives a result. Now i want this query to be used in my program. Is there any FM which gets the quary name and populates the result in iternal table. So that i can use that result.
       I know without query you can write using the tables you can fetch the records but i just want to explore a new way to do things. If any body done such type let me know and also give some sample code or process how to achieve it.
    Regards
    Vijay

    Hi Siva
      My final option is that only. That you can do any how. But my intension is to learn something new way. How to do copy the query and where to inject the code is there any example in wiki or artical for that. I want to something new. Old way of creating a report program is possible i want to do this way. If some body could help me out.
    @ karthik
       I have generated the SAP query and i got the program but when i view the code i dont find any select statment or where storing my input data. How to identity that i did in debug mode but am not sure where it pulls the data and where it put in internal table. Can you throw some light with example code or an article.
    Regards
    Vijay

  • SAP QUERY report for vendor line items

    Hi
    I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
    Please advise.

    i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.

Maybe you are looking for

  • Yoga 2 Pro Black Screen

    My Yoga 2 Pro is black screening on start up. Running Windows 8.1. On startup, the keyboard lights up, switches off and nothing on the screen - not even the Lenovo logo. Have tried one key recovery, still nothing. Also tried an external monitor and n

  • Should I wipe and reinstall Mavericks... or what would you suggest?

    Hi everyone! So I'd like to ask you for your advice here... I bought my MacBook Air 13" in fall 2013 (I've got the latest model) which came with Mountain Lion. I've been using Mavericks since its roll-out, but I'm very concerned about the quality of

  • Illustrator CC is not importing AutoCAD DWG file layers correctly

    In CS6, I could import (open) DWG files  and it would correctly categorize the input objects into separate layers. In CC, it is putting them into a group in a single layer,  which is a big usability regression. Is there a fix for this?

  • Image playback on TV monitor problem

    Right, my DVD is made up of still images (300 dpi, RGB, JPGs) and when the DVD is played on a TV two of the images seem to "dance" on the screen. One has a pan across the image applied and the other is still with no effects. I tried the de-interlace

  • IBM WebSphere Portal Server, what similar products are out there?

    Hello, Our company is looking into the IBM WebSphere Portal Server package. If anyone knows anything about it, and can let me know what other products are out there that is similar, I would greatly appreciate it! Thanks!