SAP ABAP query based on Infosets

Hi All,
   We have requirement where in we will be joining 7 tables in Infoset .  Dataset1
   We have another 3 tables to be joined separately . Dataset2.
   We need to compare the dataset 1 with dataset 2 and show the final data in output .
   How can we achieve this in SAP query . If anyone has worked on this type of requirement .
   Let me know ,
Thanks in Advance,
USR

I believe that you can only use one infoset per query. To do any comparison, you'd need to build two separate queries and then compare the results in Excel, for example. 7 tables seems rather extreme to me though...

Similar Messages

  • Pricing reports,ABAP query based repors

    hai
    pls tel me the how to prepare the pricing reports as well as abap query based reports
    thanks in advance

    Dear sri vijay  ,
    Please read the rules of engagement before posting in forum
    Please search the forum before posting
    I am sure you will get lot of past threads related to ABAP Query and Pricing Reports.
    Thanks & Regards,
    Hegal K Charles

  • SAP ABAP Query not generated after upgrade

    Hi All,
    Our client has upgraded from 4.6c to ECC 6.0
    In the upgraded server some SAP Queries have not been generated…and others have generated. I wanted to know why all are not generated….
    I also wanted to know if any table name exists which maintains query with generated program name…
    Please let me know your learning’s on SAP/ABAP Query if any…
    Thanks in advance

    I forgot to mention that FM will just give u the report name..wont generate it.
    I dont think the report name is saved in any tables... it is generated ...
    but u can derive the report name..if u know the user group and query name.. by concatenating those ..
    for details..look into the code for that FM

  • Webi base on BW query based on Infoset comes back with wrong values

    Hello:
    I have a Webi report on an OLAP Universe, on Bex Query.
    The bex query is based on 1 INFOSET.
    When I run the webi report the values that comes back a totally wrong values.
    The correct results are not brought back.
    When I do a test with crystal reports to the infoset, I can see the correct values.  (I'm aware crystal uses different drivers).
    The test is BW query designer, and crystal brings back proper values from Infoset based BW query.
    Webi on Infoset based BW Query comes back with wrong data.
    query is simple.
    Pull in 3 attributes, 3 key figures, where componentkey = "111"
    I get 36 rows in Crystal and 36 rows in Bex Analyzer, 36 rows in BW query designer (web analyzer).
    I get many rows in webi (almost like a CARTENSIAN product).
    I search a round this forum but still did not see a conclusive answer to this problem.
    But I see another thread that several others faced this same issue without a resolution.
    My environment.
    BOE XI 3.1 SP2
    No fix packs
    SAP IK 3.1 SP2
    HPUX-IA64
    Thanks in advance for any help.
    Dwayne

    Was this problem ever solved?
    I am having a similar problem with an infoset based query.
    I have created the BW infoset, and confirmed that the correct data is returned from the underlying infoproviders. A simple BW query on that infoset yields the same results.
    Create the universe, and then the WEBI, and WEBI now shows hundreds of records where I expect 10. Data is being returned in WEBI that definitely shouldn't be there. It's almost like the restrictions applied in the characteristic restriction area of my BW query are being ignored, even if I include them in the WEBI query.
    Cheers,
    Andrew

  • SAP / ABAP Query - using logical database

    Hi ,
    We have a mandate to implement SAP Query using only Logical Databases (LDB ) .
    We understand that there are several issues using this approach .
    1 ) Paralled tables in MM need to be displayed on separate lines .
    2 ) Statistics based on fields from 2 different tables cannot be produced eg: EKPO ( PO Number )  and EKKN . (Cost Center )
    Please share your experiences .
    Thank you in advance .
    Kishore
    Kishore

    Adeel,
    I do appreciate your experience and respect you for knowledge on SAP Query. 
    Joining tables seem simple to IT experts but not so for end users.  SAP Query is an end-user tool and users seem to need a simple user-friend, drag-and-drop solution to extract information using SAP Query based on a pre-defined infoset.  Various SAP conferences have been advocating the use of SAP delivered Logical Databses to create infosets in order to harness the various advantages of LDBs. 
    In MM there are several LDBs (e.g. ELM, EBM etc) to create queries on EKPO and EKKN.  The problem arises when you use the same LDB to extract information from more than the above two tables e.g. EKPO, EKET, EKKN and EKBE.  SAP expects you to display fields on multiple lines and also does not allow producing statistics based on fields from two parallel tables say EKKN and EKBE.  Moreover, multi-line reports cannot be produced in the ALV/SLV format.  
    We are also looking for best practise solutions in providing SAP Query to MM or FI users based on SAP delivered Logical Databases.  
    Pascal

  • How to increase performanceof query based on Infoset?

    How to increase the performance of a query based on a Infoset?
    As per designing of query, all the necessary fields are placed where they are required.

    Hi  Akshara ,
    To improve performanceof query try to remove unnecessary characteristics, attributes, or key figures ,Superfluous conditions or variables .Large InfoCubes and Complex hierarchies .Variables populated by user exits
    For characteristics specify either variables or restrictions .
    You can create indexes on DSO and Aggregates on cubes (if any).
    Please go through the links :
    http://help.sap.com/saphelp_crm40/helpdata/en/77/4a213cc534f20ae10000000a11402f/content.htm
    Re: Performance of query built on infoset
    Query performance issue - Infoset query
    Hope you will find this helpful.
    Regards,
    Jaya

  • Search on key or text in query (based on infoset)

    Hi all,
    I've build an infoset based on the masterdata 0employee and an ODS. After that I build a query on the infoset with in the rows the object 0employee. On this object I created a user-entry variable. By executing the query, the variable screen will be available. When I click on the search button (or F4) I only see the key values. I want to display also the TEXTvalues, is this possible...and what is my action to do?
    I hope my question is understandable
    Regards,
    Pieter

    That is strange.  I havent seen that happen.
    Sometimes infoobjects have too many attributes and you may have to scroll a long way to get to the texts. 
    or does it just show the keys and nothing else ?
    Did you check what the default description is set for this infoobject on the BEX tab page in infoobject maintenance.  Are you filling up the text in the default (short Text)  or are you filling up some other length.
    Check the filter display box on this tab as well to see if you have the appropriate selection.  Try changin it to see what happens.
    Message was edited by:
            A S

  • Variables in the query based on infoset

    Dear all,
       I defined a variable on an infoObject in the query designer. However, when this infoObject was used in the infoSet, the variable I defined could not be seen. So in the infoset how can I use the variable I defined in other query not based on infoset? Please advise. Thanks.
    Jin Ming

    I have the same problem:
    I created an Infoset where I am using an Infoobjet that is used in a Cube.
    I have defined variables on this Infoobjet but one of them cannot be used in the new Infoset even if in the new Infoset the links between infoobjets are the same as in the Cube.
    Thank you for any help.
    Stanislas

  • Dynamic filter on time characteristics on OLAP SAP BEX query based universe

    Dear all,
    I'm currently working on the integration between SAP NetWeaver BI 7.0 and SAP BusinessObjects XI 3.1 FP 1.5 via integration kit.
    I've built an OLAP universe on the top of a BW query based on a multiprovider that contains 10 infocubes.
    Everything works fine but I need to create a filter in the OLAP universe that allows to restrict data by current date (e.g. using TIME characteristic of Infocube such as 0CALDAY or 0CALMONTH). From that filter we could start creating other conditions to compare data to different time periods.
    I've already tried to use a SAP exit variable in  a BW query but this kind of object would restrict query data only by current date and for example it would be impossible to browse data by previous years (to bypass this problem we could use restricted key figures with different offsets but we have too many key figures in the query and the number of restrictions
    would rise exponentially). 
    In a relational DataBase we can do that using a "where condition" based on 'CURRENTDATE' (SQL DB2 syntax).
    Now, we need to apply the same logic but translated in MDX syntax. 
    Is it possible to enter a dynamic filter in the OLAP universe or just fixed or promt values ?
    Any advise?
    Thanks in advance.
    Best Regards.
    M.

    Hi Ingo,
    1) My question is: "How can I have to manage variable in BEX queries and in the UNIVERSE in order to obtain the maximum flexibility to create reports with measures on actual day (for example) without asking the user to promt a value ?"
    I want to use an unique BEX query to define an unique UNIVERSE. On this UNIVERSE I want to create many reports (actual day, previous day, and so on).
    If I restrict 0CALDAY with an EXIT variable then shall I be able to create a different restrictions on the same Universe based on 0CALDAY ?
    2) Another question is:
    Is it possible to insert an XML / MDX filter on the OLAP Universe with dynamic derivation of the system date ?
    For example:
    Instead of this:
    <FILTER KEY="[0FISCYEAR].[LEVEL01].[NAME]">
        <CONDITION OPERATORCONDITION="Equal">
            <CONSTANT CAPTION="Z12008"></CONSTANT>
        </CONDITION>
    </FILTER>
    Is it possible to insert a tag with a dynamic function to derive the system date ?
    Thanks in advance.
    Best Regards.

  • Keyfigure values are incorrect in BEx Query based on infoset

    Hi Experts,
    I have created a infoset using 3 DSO's . 1 main DSO( from which i rquire all the data) is linked with other 2 DSO's using left outer join. DSO is linked with other 2 DSO's with a field return GUID .
    Now when i am executing a query , key figure values are coming incorrectly because suppose if there is 1 record related to
    RETURN GUID in main DSO and there are 4 reords in 2nd DSO with the same RETURN GUID then in infoset data 4 rows are getting created with the replication of all the fields from first DSO against those 4 rows. So in query result amount field is getting 4 times of its original value because of aggregation of all those 4 rows.
    I don't have set of key fields by which i can link the all the DSO's to get unique linking of records.
    How can i get the amount only one time in query result?
    Hope i am clear.
    Please help. I need to create report urgently.
    Regards,
    Ajay

    Hi Ajay:
    Please take a look at the blog series provided by Sunmit Bhandari.
    Infoset Keyfigure multiplicity Part 1
    /people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-1
    Infoset Keyfigure multiplicity Part 2
    /people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-2
    Infoset Keyfigure multiplicity Part 3
    /people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-3
    Regards,
    Francisco Milán.

  • SInstance=Param not working for sap bw query based reports (FWM 02020)

    Has anyone else tried linking to instances using sInstance=Param from a webi to webi or webi to crystal document?
    We have attempted the following using the build hyperlink function in webi.
    1. Select the crystal report.
    2. We have 2 variables, the variables do not have the description coming over from SAP.
    Variables come over as
    !V000001
    !V000003
    3. Select Link to Document instance - Most recent - matching prompt values
    4. Select the values for the prompts with a constant.
    5. Go to the history of the crystal report and look at the selected parameters of the crystal report.
    6. Highlight , copy and paste these into the prompts on the hyperlink
    7. Save and run.
    8.  Receive an error
    An error has occurred: The object with ID -1 does not exist in the CMS or you don't have the right to access it (FWM 02020) 
    We have tried a number of combinations of parameter responses from technical name, description, combination of the two, and so on.  Nothing has worked.
    Anyone else experience this problem?

    Hi Stratos,
    We've created 2 new crystal reports based of sap queries.
    Report 1, single prompt, no hierarchy.
    Result : Can link to specific instance with matching parameters.  Great!
    Report 2, single prompt, hierarchy based.
    Result: Cannot link to specific instance with matching parameters
    Parameter list for report 2
      [!V000001} : Cost Center/Gr{oup (Multiple)  = {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    However when I go into the history and look at the successful instance parameters used, it seems to be picking up an extra parameter ( my guess is node)
    XXX, XXX & XXX; {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    We have attempted to use the entire string, the first portion, second portion, and just the technical response.  No luck.
    Perhaps this needs to go to a service request?
    Edited by: Nicholas Chu on Nov 30, 2009 8:26 PM

  • SAP ABAP Query

    Hi,
    Standard aging analysis report (RFDOPR10) displays only the customer line items. But the client also wants to display the offsetting line item details. I am a functional person and I am trying to write a query to generate offsetting line items from Table BSEG. (in SQ01). I am using Logical Database - DDF, which has BSID and BSEG table. I am trying to apply the logic,
    For Example - If the accounting document has 4 line items(1,2,3,4) and the line item in BSID table is 2, then select items 1,3,4 from BSEG table for the documnet number and output as separate line items.
    I dont have ABAP knowledge to write code. Kindly help with your valuable inputs to create a query to get offsetting line item details.
    Thanks & Regards
    Sri.

    thanks for the support

  • ABAP Query - Sq03 0 infosets missing post upgrade to ECC 6.0

    Hi ,
    After upgrading from 4.6C to ECC 6.0 we found that few infosets from SQ03 & also from SQ01 is missing in the upgrade box ECC 6.0.
    Can anyone help to troubleshooting it.
    Thanks & Regards
    Senthil

    Hi,
    In Upgrade, the some queries may not be generated...
    hence you need to regenrate the queries...
    Use the FM : RSAQ_GENERATE_PROGRAM
    This FM needs input the Query name and the functional area...
    The output will be the generated program....
    To generate all queries, write a custom report using the above FM..
    Reweard if useful
    Regards
    Shiva

  • ABAP Query based on Integrated Program

    I m trying to set a value of extra field (E_PO_Number) that I have created, but when I try to do it in the Data Read Prog section code, it says "Field "E_PO_NUMBER" is unknown. It is neither in one of the specified". E_PO_NUMBER is one of the columns in my report that I want to populate. How can I make this work. I will certainly give points to the right answer. Thanks. If you have an example query, could you please download the file and copy paste it in the answer.

    I believe that you can only use one infoset per query. To do any comparison, you'd need to build two separate queries and then compare the results in Excel, for example. 7 tables seems rather extreme to me though...

  • Interactive list musing abap query and how to create infoset records

    hi,
    Can any one suggest how to create interactive list using ABAP Query .And also infosets and ranked list ..thanks in advance
    Regards,
    Raghu.

    Hi,
    Check this
    Re: How to make output of ABAp query interactive(drill down)..?
    some info on the ABAP query
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c
    hope it helps.
    Regards!

Maybe you are looking for

  • Problems setting up my forms (was: Forms)

    Hi I'm having trouble with setting up my forms, When I send the message no pop up message says its sent but I do recieve the email but with no content. Can anyone please advise me? my two PHP and HTML code is below. HTML Code: <form method="post" id=

  • MRP Issue: Planned orders Vs Pur Requisition

    HI All. I have a query on MRP. We run Total planning for a plant in a night batch job  The parameters for variant are as below Planning Run Type: NETCH Creation Indicator for Pur Req  2. Planning Mode 3 Delete & recreate order proposals Scheduling ty

  • Error in XI server: JCO_COMMUNICATION_FAILURE in Message Mapping

    Hi all, I am unable to execute even a simple scenario on my server. The status of the message in moni is random. I get either "Scheduled for outbound processing" in,or the following error(in Request Message Mapping): SAP:Error xmlns:SAP="http://sap.c

  • BC4J ApplicationModule Pooling and persitent package variables

    Scenario: HttpRequest starts=> - use SessionCookie API to get an Application Module - call pck.set_id (packaged procedure which sets i++ ) - call pck.get_id (packaged function returning value of i) finish=> release application Module (***) What I've

  • Newb Overclocking Questions?

    I'm just started overclocking and have a ram question. My ram, which is only Corsair 512x2 Value Select, shows that it's running at 2.5, 3, 3, 8, 2T. Now if i'm overclocking i want to lower or raise these numbers to make everything more stable? I tho