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

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.

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

  • 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

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

  • When to go for generic extraction using view and infoset query?

    Hi,
                        Can anyone clarify me when we should go for generic extraction using view and when we should go for generic extraction using infoset query....
    Also what is the difference between view and infoset?
    I tried but could not find out....
    Regards,
    Kalyani.

    Hi Kalyani,
    We normally go for View or infoset when the data to be fetched in BW is distributed in different tables in SAP R/3.
    Had the data been available in one table we can easily build our datasource on that table but if there are more tables then its not possible to do it without Views or Infosets. You can use Function Modules to build your datasource in case it involves complex logic to figure out the data from various tables.
    Depending upon the table relationships we create view and include various fields from these tables in that view. Same is with the Infosets, you can have more flexible options like Outer Join, left outer Join etc.
    Regards,
    Pratap Sone

  • Runtime error while executing infoset query

    Dear Experts,
    When we execute infoset query we get following dump :"
    " An SQL error occurred when accessing a table."
    Database error text........: "ORA-25153: Temporary Tablespace is Empty"
    Internal call code.........: "[RSQL/FTCH/EBAN ]"
    Please check the entries in the system log (Transaction SM21).
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC
    "/1BCDWB/SAPLIQG000000000015" or "/1BCDWB/LIQG000000000015U02"
    "/1BCDWB/IQG000000000015EXTR"
    can any one hve idea about the above error.
    With Best  Regards,
    Jaspal

    Hi Jaspal
    Looks like a BASIS issue.
    Check with BASIS, they need to regularly monitor the tablespace and file system, at OS level
    Regards
    Madhan D

  • 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

  • Error activating a web service based datasource ( BI 7.3)

    Hi,
    While activating a datasource based on web services i get the below error:
          "Internal error while deleting web service"
           "Error when activating datasource"
    As per one of the posts, we need to activate the services listed under "bc" ( path : virtualhost->sap->bc ) in tcode: SCIF.
    There are many services listed under the "bc" node that are inactive. Please let me know which are the services that needs to be activated under this node.
    Alternatively pls also suggest if there is any other way to solve this issue.
    Thanks.

    Hi Jayanthi,
    Please get help from Basis Team.
    Regards,
    Kuldeep Jain

  • 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

  • Query browser error for a Bex query

    Hello,
    I am using Query browser in Dashboards 4.0 to retrieve the data from Bex query. When I select a few dimension measures out of the structure with certain key figures and clicking the preview of the results, I am getting the error message as "Request Processing failed(XLS 000009)[] Error DBMAN(257):SQL Error:58115
    Error RS Exception:Arithmetic overflow error converting" kind of error message.
    When I remove some dimension members which were selected, I am able to see the preview of the data. What could be the probable reason for the above kinda error?
    Thank you.

    These are generic error, please go through the below link and let us know whether its helpful or not.
    Microsoft ODBC data manager not found
    Error during "Add Query" in Dashboard 4.0
    Happy to help you!
    -SumanT

  • Dashboard Prompt - Getting error for Adding SQL query in "Default to"

    Hello Oracle,
    I am facing some problem in Dashboard Prompt. Like when i add some sql query in "Default to" in Dashboard prompt and for the next prompt when i check for Contrain option i get error in the second prompt. but it works fine when i hard-code a value in "Default to" options.
    For Example:
    Like when we consider a two prompts :
    1) Year -> (In Default to i select SQL Query and enter the query as SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)
    2) Business Unit -> (In specific value i give as some hard code value of Business Unit and check the contrain option)
    i get error as
    Business Unit
    Error Generating Drop Down Values
    A numeric value was expected (received "SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)"). Error Details
    Error Codes: EHWH2A7E
    but i get correct value for Year as 2011.
    I need to use SQL query in default to option and need to check the constrain option too.
    Looking for positive feedback.

    You need to create a dashboard prompt and in Default To -> select SQL Results
    Click on the ... (three dots ) underneath it and put in your sql
    For Example , I have a Table called "Sales Date" in my "ABC" presentation folder. This has a column called "Year" and "Date". If I want to have a Year prompt with the default value set to current year, here is what the syntax of my sql result will be :-
    SELECT "ABC"."Sales Date".YEAR
    FROM "ABC"
    WHERE "Date" = current_date
    In SQL, we cannot put SQL as we know of in terms of Oracle, Sql Server etc. The SQL here refers to sql as OBIEE understands it and should be in the form of Select "Presentation foler"."Table Name".ColumnName from "Presentation Folder"
    Hope this helps

  • Stale data error for a new page (based on an existing native sshr page)

    Without going into too much detail on why I'm doing this, I copied an existing oracle native page, renamed it, and loaded it into the MDS.
    I navigate to the page by creating an extension on a controller to take me to there on a button click. Also on this page, the native page that I copied is also accessible. There is a similar button click to take you to the native page.
    I had a business requirement to create records for the current year (the native page), and records for next year. Using a dff to differentiate between the two types of records was not an option.
    The copied page is used to simply create records. I extended the native controller to default a value behind the scenes (This is how I differentiaing between the current/next year records). The super.ProcessForm/superProcessFormRequest are there as well in this controller. From there, the page is using the same code as the native page that I copied.
    When I click the "Save As Draft", "Apply", "Cancel" buttons, it works fine.
    However, when I click on the "Apply Add Another" button, I'm getting the following error:
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The record with primary key values {13002} could not be found in view object
    AppraisalsAM.ObjectiveEditAM.ObjectivesVO.
    To proceed, please select the Home link at the top of the application page to return to the main menu.
    Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    I've researched this error all day today on prior postings/threads, and I haven't found a posting that is similar to the one that I outlined.
    I wouldn't think I would have to do anything programming wise since this is all native code, and the native page works fine. I'm guessing somewhere the native page is getting reference that is causing this error....
    Any help would be appreciated.
    Thanks

    You could use HIDE/UNHIDE funtionality for page 2
    1) create page 2 with all values ...
    2) on page 1 - add jJavascript to show or hide Page 2 dependin on value
    if (fieldvalue eq "condition") them
    Page2.presence = "visible"
    else
    Page2.presence = "hidden"
    endif

  • TOPLINK-6119 ERROR for the following query,

    any ideas as how to modify or make the query work? thanks,
    Query:
    ====
    ReadAllQuery query5 = new ReadAllQuery();
    query5.setReferenceClass( Instrument.class );
    query5.setSelectionCriteria( new ExpressionBuilder().get( "shortName" ).equal( shortName ) );
    query5.addBatchReadAttribute( query5.getExpressionBuilder().anyOf( "customFields" )
    .get( "stringValue" ).equal( "XYZ987" ) );
    Exception stack
    ===========
    Database exception: Exception [TOPLINK-6119] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070620)): oracle.toplink.exceptions.QueryException
    Exception Description: The join expression
    Relation operator =
    Query Key stringValue
    Query Key customFields
    Base QUERY OBJECT
    Constant XYZ987 is not valid, or for a mapping type that does not support joining.
    Query: ReadAllQuery(com.integral.finance.instrument.Instrument).
         at com.integral.persistence.PersistenceFactory.handleException(PersistenceFactory.java:793)
         at oracle.toplink.publicinterface.Session.handleException(Session.java:1951)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1021)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:950)
         at com.integral.finance.instrument.test.InstrumentCustomFieldPTestC.testInstrument(InstrumentCustomFieldPTestC.java:588)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at junit.textui.TestRunner.doRun(TestRunner.java:116)
         at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:69)
         at junit.textui.TestRunner.doRun(TestRunner.java:109)
         at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)
         at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
         at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

    Hello,
    Your are adding a selection criteria through the addBatchReadAttribute api which isn't allowed. It is expecting only a query key type expression.
    Try:
      ReadAllQuery query5 = new ReadAllQuery();
      query5.setReferenceClass( Instrument.class );
      ExpressionBuilder exb = query5.getExpressionBuilder();
      Expression batchExpression = exb.anyOf( "customFields" );
      Expression expression = exb.get( "shortName" ).equal( shortName );
      expression = expression.and( batchExpression.get( "stringValue" ).equal ("XYZ987") );
      query5.setSelectionCriteria( expression );
      query5.addBatchReadAttribute( batchExpression );This will return all Instrument objects with the require shortName and having a customField with the stringName of "XYZ987". It will use batching to return all referenced customFields (not just the ones with a stringName of "XYZ987").
    Best Regards,
    Chris

  • ABAP Query for Asset Reporting - Error in generating Infoset

    Hi friends,
    While generating Infoset - for the SAP standad infoset (SAPQUERY/AM01 -FIAA - Inventory information)-I am getting an Error as
    "The field "BERDATUM" is unknown, but there is a field with the similar name". I am unable to resolve the error.
    It will be greate if this can be answered by someone.
    Regards,
    Sathish

    Hi Sathish,
    Please implement SAP note:                                                                               
    1161344 Query: Generation error for LDB InfoSets   
    It should solve that issue for you.
    Kind regards,
    Brigitte

Maybe you are looking for