BW Datasource on an Infoset Query based on 2 DSO Active tables

Hello,
We have created a Datasource in the BW system over an Infoset query (through SQ02) built on 2 DSO tables.
In RSA3, this datasource is working fine - it shows us some data (close to 1000 records).
The issue is when i try and run a infopackage for the datasource.
The request times out and no records are fetched.
I have added all the users to the Infoset user group - so, no issue with the authorization.
IDoc Statuses changes from 53 --> 62 --> 64 --> 50.
The extraction process does not complete - does not get the no. of records sent.
Can anybody point to a probable cause here?
Thank you.

IDoc logs do not say much.
Status Record 53: IDoc was successfully transferred
Status Record 62: IDoc passed to application; Direct call started
Status Record 64: IDoc ready to be transferred to application; No filter, no conversion
Status Record 50: IDoc added
Then, it does not go any further.
We're using the Datasource on the Infoset query because we could not use the traditional BW infoset.
Datsource is used to feed a DSO as we directly could not use anything else (we're trying with an expert routine also).
The issue is that the base DSO tables are huge and querying on them (using SELECT) is taking a very long time.
So, we thought of using an Infoset to create a view and then populatet he data.
In an traditional infoset, we could not specify a condition with a range. So, the infoset query through SQ02.
I have not tried using an APD, but that might be a good option.
Only thing, we'll have to use a Direct DSO - which i am not sure will satisfy our requirement.
Thank you.

Similar Messages

  • Creating Infoset query based on ABAP program

    Hello
    I have 3 tables FEBEP, BKPF and BSEG and I need to join the 3 tables based on:
    FEBEP-MANDT = BKPF-MANDT = BSEG-MANDT
    FEBEP-NBBLN = BKPF-BELNR = BSEG-AUGBL
    FEBEP-GJAHR = BKPF-GJAHR = BSEG-GJAHR
    Then I have a few view fields from all the 3 tables. After this I can build an infoset query based on structure + ABAP program, and a generic datasource on top of it.
    Can someone give me the ABAP code to be written SE38? Also should I select integrated program/external program in the infoset query?
    Thanks,
    Srini.

    Hi,
    Even if you create an ABAP program for infoset, you will writing a SELECT statement from BSEG table which is quite huge.
    And you will putting JOIN with other tables.
    Performance wise this is not advisble.
    Why do not try the following other tables and check if the fields you need are available?
    You can't join BSEG as it is a Cluster Table.In the place of BSEG you can use:
    Account Recivables data use BSID and BSAD tables
    GL Account Related data use BSIS and BSAS tables
    Account payables data use BSIK and BSAK tables
    Thanks.

  • Additional i/o fields to infoset query based on PNPCE logical database

    Hi All,
    I have a requirement to add two additional input and output fields "job function" and "job family" to a infoset query based on logical database PNPCE. I am new to writing code in infset query and there are so many code areas in infoset query. I am confused where to write code and how to limit the output list based on the user selection to the additional fields "Job function" and "job family". have any one done this in the past?. is there sample code somewhere to do something similar to this?
    Your help will be much appreciated with points! (as per our community guidelines)
    Regards,
    Arul

    Hello Arul,
    Your question would be better answered if you post it in on of the Business Intelligence Forums. Please close this thread and goto:
    Expert Forums » Business Intelligence
    or
    /community
    Regards,
    Manny

  • Advices about creating a datasource from an infoset query

    Hi all,
    i have to create a datasource with extraction from an infoset query in R3, i have many questions:
    1- i have heard about the bad performance using a Datasource from an Infoset query, how can i improve this?
    2- The infoset query doesnt exist in R3 Develop, but this exist in R3 Prod, what do i must to do? create a false infosetquery in R3 D, with just the same name of the info set query in R3 Prod? or what else?,
    3- some material to improve this development about create datasources from an infoset query.
    thanks guys!

    Hi,
    You can verywell use infoset query if you are doing following things
    Join using Keyfields to retreive data from tables
    If not using keyfields create index for those table fields  in those fields which will improve in accessing database
    Try to use minimum of tables of small size dont try to join big tables like GLPCA and all.
    Try to load small set of data like a period or month. Dont try for a year or so.
    if your performance is good for aperiod you can go for a year.
    If you are good in function module you can try function module in which you will have the option of specifying no of records to be selected usign package size.
    Hope this helps for you.
    Thanks,
    Arun

  • Infoset based Query creating locks on DSO Activations

    Hello Experts,
    We are current on SAP NetWeaver 7.3 on ORACLE data base version 11.2.0.3.0.
    We have a query thats built on top of an infoset ( Based on left outer join on 0material and 0mat_plant) when user executes the query its causing locks on DSO activations.
    DSO activations are on hold due to locks on following table RSRNEWSIDS. when BASIS investigated this issue they came up with following reason
    executing this infoset based query is causing the locks and if we kill this job the DSO Activations run fine.
    The design is as follows
    Infoset(0material --Lefter outer Join -- 0mat_plant) ---> MP ---> BEx Query.
    Question 1) Is it possible for a query to create locks and cause holds on DSO Activations? if so what would be the reason?
    Question 2) Any solution or any of you faced similar issue?
    any solution is highly appreciated and rewarded.
    Regards,
    Vamsi.

    Question 1) Is it possible for a query to create locks and cause holds on DSO Activations? if so what would be the reason?
    It all comes down to SID if a query needs an association between fact and dimensions it will use SID and if you doing an activation it readjusts the SIDS so needs to be locked for the most up to date data.
    Question 2) Any solution or any of you faced similar issue?
    Do your query execution before or after DSO activation.
    Cheers!
    Suyash

  • Infoset Query based on 0023 IT

    Hi,
    I have created one infoset query for infotype 0023. When I am executing this report for all the employees I can see the records. But if I select just one employee only blank fields are coming.
    Samriddhi

    Hi,
    That employee has four records on 0023 infotype.
    And I have checked with both Reporting periods All and Past(until today).
    But still one record is coming that too blank although employee has four records.
    1st record (01.06.2000 - 21.12.2002)
    2nd record (01.12.1996 - 01.06.2000)
    3rd record (01.04.1991 - 01.08.1996)
    4th record (01.061989 - 01.03.1991)
    Then I created one more record from the date 01.09.2008(start date in the present company) to
    31.12.9999.
    When I am executing the Adhoc Query I am getting only this last record. In selection I have choosen personnel number of that employee.
    But if in the selection field I didn't choose any personnel number it will show all the records of all employee.
    Samriddhi

  • Extract error for an Infoset Query based Datasource

    Hello All,
    When I test a Info set Query Extraction in RSA3, I am facing the error message:
    The field 'ZBW_EXTRACT' is unknown, but there are following fields with similar name '%COUNT-ZBW_EXTRACT'.
    Syntax Error in Program 'AQZZSYSTBWGENER.....'
    The Program is an Internal system generated program.
    Has anyone faced the issue and know the way out..?
    Definitely, will award points..
    Thanks in advance,
    Ameya.

    Hi Ameya,
    which system are you testing this? I mean are you testing this in dev or qa? If you are testing in QA, make sure you import the infoset correctly. It is a different procedure. Hope it helps.
    Thanks and Regards
    Subray Hegde

  • Infoset Query Returns Wrong Data

    Hi there exports,
    I created a infoset query based on 3 DSO's 0PUR_O01 (Purchase Order Items), 0PUR_DS03 (Purchase Order Item Schedule Line) & a Z-DSO (Material Consumption).
    I need information by PO Number (Item, Material) and the total consumption for that material from the Z-DSO irrespective what the item & PO Number is.
    My link to Z-DSO is material & plant. My problem is that the info from the orther 2 DSO is triple when I run my query.
    Any suggestions?
    Thank you
    Dirk

    Hi,
    This issue arrises due to the infoset property, ie. Infoset provides intersection of data.
    So for a single combination of material and plant in Z-DSO, there might be multiple (here 3)records in other two DSO so you get the triple amount in Query.
    Inorder to overcome it you must ideally join the DSO in a infoset based on the same key fields..
    Hope it helps..
    Regards..
    Umesh.

  • Infoset Query in Datasource.

    I'm using a Infoset query based on an ABAM program as a datasource. For passing parameters, form Infopack to the program I defined the parameters in the Infoset (SQ02 -> Extras -> Selections -> parameters). After doing this, when I include this Infoset in my new Datasource and save it, I'm not getting the paramter defined in the Infoset. All other fields in Infoset look fine. The parameter defined should appear in Datasource as PARAM_P_<param name>, which can be used as selection parameter in the Infopack. Can anyone tell what I'm missing out and where?
    Thanks in advance!
    - Sree

    Hi Sree,
    Try testing your datasouce in your source system with tcode RSA3? Can you get data back from that?
    Have you defined that field as a selection field in RSO2?
    Hope this resolves the issue for you. Cheers!

  • I am facing a problem in a crystal report which is based on Infoset query

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1
    Best Regards,
    Srinivas

    Hi,
    I would first of all suggest you don't open the same question twice. this looks like a duplicate to this entry:
    Best Practices v3.31 - SAP InfoSet Query connection
    Did you assign the queries and the infosets to an InfoSet user group and you assign the SAP account to it as well ?
    Ingo

  • I am facing a problem in a crystal report which is based on Infoset query.i

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1

    Please re-post if this is still an issue to the Business Objects Integration Kits - SAP Forum or purchase a case and have a dedicated support engineer work with you directly

  • Infoset Query Wrong result after removing document number in the drilldown

    Hi Friends,
    I have 2 oDS,billing ODS and Condition ODS.I have created an infoset query based on these two ODS.
    From my Billing ODS i need QTY and from Condition ODS i need Value,Discount etc.
    Since there are more than one record in condition ods for each and every document of billin gods,i have divided the qty using number of records in the query.
    Im getting wrong qty if i run report based on customer or material,but if i drilldown based on document im getting the correct quanity.
    Can any one help me..
    Thanks & Regards
    Sudhakar

    Thnaks Oscar and Ganesh for your interest.
    FYI,my infoset is created based on bill doc and item number which is available in both the ODS.
    Here,for every document in Billing ODS,there are more number of documnets in Condition ODS,so the bill qty is getting added according to the numvber of records in Condition ODS.
    Eg.Billing ODS: Doc Num:100012, Qty = 8.if 10 records are ther in condition ODS,then in the infoset my QTY becomes,
    Doc Num:100012, Qty = 80.
    So in the query i divided it by number of records to get the qty and is coming correctly for documnet wise report.
    Problem comes when i remove documnet from the report and drilldown to higher level,say material,then it is calculated wrongly.
    Your suggestions plz..
    Regards
    Sudhakar

  • BEx query based on virtual cube donu00B4t display a valid List of Value (LOV)

    Hello
    I have a problem with an invalid LOV. The scenario is the following; There´s a BEx query based on a virtual cube. The query has an exit variable on caracteristic that is based on 0CALMONTH.
    At Universe Designer I simply create a connection, a universe based on this query and export.
    At Web Intelligence (also at Live Office), when I try to execute de query, the prompt to fill my exit variable display a list of value that doesn´t match with the values of the caracteristic at the cube.
    Actually, the list at the prompt starts with 01.0000 and finishes with 05.0968.
    In Universe Designer, the option to edit the list of values is not available. But I think that editing the LOV is not the correct way.
    I´ve tried creating a new query based on the DSO that is the source of the virtual cube. In this case, I had a valid list. Unfortunately, I can´t use this DSO.
    Did anyone already have this problem?

    Hi James,
    can you explain what you mean with "input length for that filed" ?
    The field in the table is varchar2(120). I coudn't found options for the List of value.
    Thanks for your response
    Carsten
    null

  • Infoset query field changes

    Hi All,
    I have one issue.
    I am changing length of one infoobject in DSO from 4 to 7 and also its description.
    Now, infoset and infoset query existing on this DSO should also change with new length and description.
    Could anyone please  tell me how i can do this ?
    I have tried "Adjust" option in infoset , but its not changing its length and description.
    Thanks for the help !!

    Hi,
    Can i do this directly in production system.
    Can we transport infoset and infoset query changes from developemt to production
    Thanks

  • 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

Maybe you are looking for