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

Similar Messages

  • 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

  • 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.

  • 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.

  • 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

  • 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

  • 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!

  • 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.

  • 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

  • Crystal report from SAP infoset query

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query. When I run the report after passing the parameters it gives me an error "Database error occured" "Parameter field value does not exists" "RFC Closed"
    But if I run the same Infoset query from SQ01 I am able to run it with same paramenter and it returns many records.
    To be very precise I am running the best practice crystal report "Cost Analysis - Planned vs. Actual Order Costs" which is based on infoset query CO_OM_CA_20_Q1.
    It throws me error that "Controlling Area does not exists".
    Did anyone faced similar problem?
    Best Regards,
    Chetan

    Hi,
    log into your SAP ERP system using the SAP GUI and choose in the SAP Menu the following path:
    SAP Menu -> Accounting -> Controlling -> Cost Cetner Controlling ->Environment->Set Controlling Area.
    Set the desired controlling area for your user there (DO NOT FORGET TO CLICK ON THE DISKETTE ICON) and try again.
    Regards,
    Stratos

  • How to build a query based on(UNION) 3 vendor InfoObject

    Dear Experts:
    I have a requirement to build one query based on 3 vendor InfoObjct: 0VENDOR + 0VEN_COMPC + 0VEN_PURORG.
    I tried to build a multiprovider upon these 3 infoobjects, but when I Identify(Assign) the key for each InfoObject, supposely there should be 3 InfoObject for me to check (0VENDOR, 0VEN_COMPC and 0VEN_PURORG) so that I can UNION these 3 infoobjects together on vendor number. But since the reference infoobject of these 3 vendor master data is different, I can not check the 3 together.
    Can anybody let me know how to build that query? I only need vendor number show once, and the attributes of 0VEN_COMPC and 0VEN_PURORG can be union to 0vENDOR.
    Any post would be appreciated and thank you all in advance!
    Best Regards!
    Tim

    Hi,
    you can create a link between the vendor objects itself, means link 0vendor with 0ven_compc and 0ven_purorg. This should give you a list of all vendors multiplied with the comp codes multiplied with the purch. org. May be here it is possible to create another link between a attribute (eg. comp_code of 0ven_purorg with comp_code of 0ven_compc). In case it is not possible you need to add this link information somehow. Another option might be to create 2 queries. One on a infoset of 0vendor and 0ven_purorg and another one on 0vendor and 0ven_compc.
    regards
    Siggi

  • InfoSet Query: Syntax Error while generating the program.

    Dear All,
    I have a Query in CRM system which contains an Infoset based on LDB.
    The InfoSet Query throws up a Syntax error while generating the program.
    So, we are not able to change the Infoset using the Infoset Query through SQ01.
    The error is as follows:-
    Syntax error in program "AQZZ==/SAPQUERY/CRM_ACTMON1 ".
    Error in the ABAP Application Program
    The current ABAP program "CL_QUERY_OUTPUT_DEFINITION====CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "AQZZ==/SAPQUERY/CRM_ACTMON1 "
    in include "AQZZ==/SAPQUERY/CRM_ACTMON1 " in
    line 28:
    ""CRMT_REPORT_LOCATORLIST" must be a flat structure. You cannot use int"
    "ernal tables, strings, references, or structures as components. -"
    Please help me arrive at an solution, so that we are able to change the Infoset through the InfoSet Query.
    Awaiting your reply as soon as possible.
    Thanks and Regards,
    Pankaj.

    There is an error in your query, specifically in the definition of CRMT_REPORT_LOCATORLIST. In the short dump (transaction ST22) you will see more details and the exact location of an error if you just scroll down.
    I can't tell more because this problem is specific to your system, to which I have no access. Read the whole dump and look at all the objects mentioned there.

  • Infoset Query Modification Suggestion

    I'm new to ABAP Infoset and logical database, and need your help.
      I have a query running based on Infoset Z_FI_CHILE_XX(same copy from /SAPQUERY/FI_CHILE_PERU) and logical database SDF. Now I'm trying to modify the selection screen, for example: get rid of 'Fiscal year' and 'Period', and adding 'Posting data' criteria.
      As I can see so far, 'Fiscal year' critieria is from logical database SDF, and 'Period' was adding in Infoset. Please give me some suggestion, should we modified logical database, or you have better solution?
      Also do you have better documentation on how to modify the selection criteria in infoset rather than SAP library?
      Thanks a lot!

    Thanks for all help from you.
      I realised that my problem actually can not be just simply solved by modify the selection screen, since I need selection some periods from one fiscal year, then get some periods from another fiscal year, which two part of periods are not the same. Also I need the sum the total from all the periods that I selected, instead of list them in report.
      My solution is modified the code behind the infoset to control selection in different periods for different fiscal year, then adding the subtotal total section in infoset Query, finally use a menu function(total drilldown) to leave only subtotal sections in report.
      Thanks anyway, if you think there has better solution, please feel free to let me know. I would like to learn from you.

Maybe you are looking for

  • Loop at screen - not all fields are available

    Hi all, I want to set some fields on the screen invisible. When I do the loop at screen in PBO not all fields from the screen are available. Just four fields are available. In the screen there are about 20 fields. I try to use the chain. field xyz. e

  • Is there any way to add a text variable in Illustrator CS3?

    To keep track of our proofs, I have a text box in Illustrator with the date and time that I would like to automatically update everytime I save the file. This is possible in InDesign by inserting a text variable. Is there a way to do this in Illustra

  • File content conversion suggestions Please

    Hello Experts, I am using MQ - JMS Sender Adapter where in Module Tab I need to convert the following file to Header & Detail record I am getting the file from the MQ- Series as  a Straight line no breaks 1) The first 70 char length of the line is al

  • Mathematica Doesn't Quite Obey Tag Rule in DWM

    I used the xprop command given here to identify Mathematica, as follows: xprop |awk ' /^WM_CLASS/{sub(/.* =/, "instance:"); sub(/,/, "\nclass:"); print} /^WM_NAME/{sub(/.* =/, "title:"); print}' title: "Untitled-1" instance: "XMathematica" I then ass

  • Problems deploying EJB on a oracle 8i server

    We are trying to deploy a EJB on a oracle 8i server. We crossposted this question in BI Beans forum also. For doing so we are using the following command: "deployejb -republish -temp temp -u sys -p sys -s sess_iiop://NLWS122:2481: LOKAAL -descriptor