InfoObject 1KYFNM is used in both structures of the query

I am getting the error message - "InfoObject 1KYFNM is used in both structures of the query", while executing the query. Can you please help me remove this error and proceed with the query execution?
Thanks and Regards,
Sachin Kalani.

Hi Sachin,
As the error suggested, make sure that u have used that KF only once in ur Query definition.
Regards,
Rajkandula

Similar Messages

  • BRAIN416 InfoObject 1KYFNM is used in both structures of the query

    Hi Expert,
    I have some problem with MDXTEST on BW 3.5 which i select multiprovider to generate MDX Staement but it goes to ABAP Debugger "CX_RSR_PROG_ERROR" and message BRAIN 416 information said "InfoObject 1KYFNM is used in both structures of the query".
    Anyone please explain me what should i do????
    Thank you for your help
    =SJ=

    Dear RajNi,
      In This Multiprovider A, i use only 1 infoset which only 1 ODS B.
      I'm so confuse because i create new ODS like ODS B and do step like Multiprovider A.
    Please help me if you have ever seen like that.
    Many thanks
    =SJ=

  • Netweaver 04s - Use of two structures in the query craeted dump

    I have used two structures in a query, The same query works fine in current BW 3.5 system but in BI 7.O sandbox (copy of prod), it dumps out.
    When I check the query, it does give these message (same as in PROD, where it runs without a problem).
    - Different hierarchies are used for characteristic Cons Group
    - Number variable ZFV_HTES cannot be replaced.
    - Fiscal year variant is to be specified for key figure Cumulative (YTD) Value in Group Currency

    Hi Rakesh.
    Did you get a satisfactory outcome to this problem? Does the current patch of Netweaver 04S cover it?
    Would appreciate your reply, please.
    Patrick

  • Using several global structures in one query?

    Hello Together,
    I want to use several global structures in a query and group them for instance in the rows. I have tried it out, and it does not seem to be possible.
    Any ideas- can I overgo this problem somehow?
    Thanks,
    Elisabeth

    Hi Elisabeth,
    This should help:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5632e09411d2acb90000e829fbfe/content.htm

  • The structure in the query

    HI,BW experts, I have a question about the structure of the query :is there only one key figure in the query?in my query ,i have a key figure structure already, could I create another key figure structure,and how to ?
    Thanks for your help.

    Hi Cindy
    If your query already has a structure then why you want to create a new one? add new key figures to the exisiting structure.
    If you have to create new structure for key figures then
    GO to Query change in Query designer & in Columns section do right mouse click and select structure. This will add new structure and then you can add new key figures to that if you need.
    Hope this helps
    Regards
    Pradip

  • Copy existing structure in the query

    Hello,
    I have couple of existing structures in the query, my requirement is I need to create a new structure similar to the existing stricture.
    Is there anyway to copy the existing structure.
    Please help me.
    Thanks,
    John

    Hi Roberto
    I did like this,
    I have chosen save as option by right clicking the structure and provided tech name and descriptions. It created new structure with the existing fields.
    Thanks a a lot for your help.
    Regards,
    John

  • E416 Brain Error: Infoobject is used in both structures of query

    Hi there,
    I got a problem with a restriction of keyfigures.
    My coloumns got two structures. In one of them are restrictions to a specific characteristic.
    But now the other structure needs a restriction based on the same characteristic.
    Based on following post I already know it is not possible to use one characteristic in two structures for restrictions.
    http://scn.sap.com/thread/3276852
    But can you tell me how I can do that?
    I need both restrictions.
    Thank you and kind regards.
    Matthias

    Hey Cornelia,
    thanks for your reply.
    When I overwrite a cell with a new selection (right mouseclick on the cell -> new selection) I get an Error 106 "A key figure has to be uniquely specified in all cells.", because the coloumns are keyfigures and the rows are characteristics.
    So I think your first suggestion ist pretty good but unfortunately not useful for my case.
    The second suggestion must be agreed so I won't be able to test it in near future.
    But I will respod when I have some news.
    Thank you so far!!
    Kind regards
    Matthias

  • Problem to get ResultSet when it is used a Date type in the query condition

    hello ,
    I having a bit of nightmare getting a ResultSet how result of one simple Query for a table when the condition WHERE involve a Date type.
    To change the String value in a date to use in the query condition, I tried both:
    String strDate = "dd/mm/yyyy";
    (1.) java.sql.Date sqlDate = new java.sql.Date(strDate.getTime() )
    (2.) SimpleDateFormat formatter = new SimpleDateFormat(strDate) ; sqlDate = formatter.parse(strDate);
    and finally I use this code to get the ResultSet:
    sql = "SELECT * FROM myTable Where (idCli = " + cd_Cli + " And dateReg = " + sqlDate + ")";
    statement = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    resultSet = statement.executeQuery(sql);
    boolean ok = resultSet.last();
    totNumberOfRegistration = resultSet.getRow();
    But In both the cases I get a empty resultSet.
    I shoul like if someone would look my code to say me where it is the mistake...
    thank you
    tonyMrsangelo
    P.S. I tryed using PrepareStatement too to get the ResultSet, but in that case I couldn't use the ResultSet because executing the statement resultSet.last() I get the error: "Result set type is TYPE_FORWARD_ONLY"

    In a database like Oracle, you need to use a function like TO_DATE; other databases may have something similar.
    However, the proper way to do this is to use a PreparedStatement. Then you can say
    PreparedStatement ps = conn.prepareStatement("update SOMETABLE set SOME_DATE=? where SOME_ID=?");
    ps.setDate(1, new java.sql.Date(someJavaUtilDate.getTime()));
    ps.setInt(2, theId);
    ps.executeUpdate();

  • How can i reuse a structure in the query designer in 3.5

    Hi all,
    we are using the version BW 3.5,  now how can i reuse a structure made int he query designer, because i need it in another query, i did the structure and put it a technical name and save, help guys

    HI Richard,
    Create a Structure in Rows/columns and save As it, then in the left Panel of the Query Designer you can see three Folders
    1) Structures
    2) Keyfigures
    3) Dimensions
    then Expand the structures Folder, there you can find your saved structure, Structures are 2 types
    1) With Key figures
    2) Without Key Figures
    If you have the key figures in your saved structure, then you can find it in the subfolder of with Keyfigures, else in the other folder.
    Now you can use this structure by draging in all the queries which are on the same InfoProvider (CUbe. MultiProvider)
    Regards
    ReddY A

  • BW 7.0 - display of the global structures in the query designer

    Hi colleagues,
    When I open the gobal structures of an infoprovider in the query designer, the system shows me all levels of the structures; that is not clearly arranged.
    It would be better, the system would show allways  only the next level.
    Is there any idea ?
    regards
    Dieter Gerl

    Hi,
    I can think of three possibilities for a solution.
    1. Store the name of the required table in a config table and select at runtime
    2. use an 'IF' or 'CASE' statement to deterimine which system you are currently in and then place the required varible within this statement.
    3. Preferred solution: use a Field Symbol to assign the table at run-time, this way no errors will occur and your program will compile.
    There are many examples of FIELD SYMBOLS on SDN and even the F1 help in SAP.
    regards,
    CH

  • Using an "EXISTS" test in the QUERY parameter for an expdp

    Has anyone successfully used EXISTS in the QUERY parm during an export datapump? I can get IN to work, but not exists:
    Works:
    tables=fred.export1
    directory=dpump_dir_dev
    dumpfile=expdpdev_export_test2_20101216.dmp
    logfile=expdpdev_export_test2_20101216.log
    query=export1:"WHERE state in (select state from fred.export2)"Doesn't work
    tables=fred.export1
    directory=dpump_dir_dev
    dumpfile=expdpdev_export_test4_20101216.dmp
    logfile=expdpdev_export_test4_20101216.log
    query=export1:"WHERE exists (select * from fred.export2 where fred.export2.state = fred.export1.state)"Oracle unhappy:
    Processing object type TABLE_EXPORT/TABLE/TABLE
    ORA-31693: Table data object "FRED"."EXPORT1" failed to load/unload and is being skipped due to error:
    ORA-00904: "FRED"."EXPORT1"."STATE": invalid identifier
    . . .I tried "where export2.state = export1.state)" and that returned the same error
    It's like Oracle is aliasing the table or something, such that when I try to reference it in the WHERE clause of the subquery, it can't recognize it. Any ideas on another way of writing the EXISTS test? I can use IN, but in some cases that might be a list of values over 500,000 items long. Looks like an EXISTS runs faster as a SELECT statement, so I thought the same might be true during the datapump process.
    --=Chuck

    Hi,
    It looks like boolean expression in query does not work in expdp where as it works for in clause as in that case it is referring to export table column and matching it to the value from other table.
    "where export2.state = export1.state)" also will not work as you are only exporting export1 table so it does not have references to export2 table (as there is no select for export2 table)
    My 2 cents
    Regards

  • Show all the structure in the Query

    Hi people,
    I would like to know if there is some way to show all the structure I created by hierarchy to my query, enven if some nodes there isn´t any data.
    I have configurated to show only the lines there is amount. It means it won´t show the lines that have zeros.
    But the structure (all of the nodes) I would like to show, include that one there aren´t any datas.
    Thanks in advance,
    Rosana.

    Jaya,
    You are 10. It worked!.
    I only will leave opened this request yet because I would like a new suggestion.
    For exemple, I have the hierarchy but on the side "colum"  I already have a structure where is restricted by data because it is a report  "Year to Date".
    On this case, is it possible to do something to show all the structure of the hierarchy?
    Ps.: If it is necessary close this request and open a new one, you can tell me ok?
    Thanks a lot,
    Rosana.

  • How to view/use 0costcenter txt fields in the query

    Hi,
    How to use the fields defined in the text table (/BI0/TCOSTCENTER) of 0costcenter. I want to be able to include them as fields in the query I am configuring and I don't see them available for choose from in the Query Designer. The cube that I am using is CO-OM-CCA(cost and allocation), standard cube from the business content. Do I need to include them separately in the dimension of the cube first to be able to use them in the report? The fields that I want to use are DATETO, DATEFROM, CO_AREA and COSCENTER. I assume description is already available in the display tab of the query designer tool.
    Thanks,
    Sharon

    Hi,
    In the Query designer, select the characteristics Cost center in the Rows/ Columns tab.
    On the display properties tab there are display options available,
    1. Key - Will display cost center number only
    2. Key and Text - Will display the CC number and the associated text.
    Selecting the second option will solve your problem.
    Also check for the same in Business Explorer Tab of the info object.
    Regards,
    Shyam.

  • Use data in structure in SAP Query

    I am creating a SAP query using a logical database but will like to include data from a Structure can anyone help me.

    Do not worry about this topic, I have obtained the result by myself, it can be done with global variables. The error was in the initialization of some of the variables involved.
    Thank you any way and forgive me for the disturbance.
    Sinceresly,
    Miguel.

  • 'New Structure' in the Query Designer

    Hi,
          I know these questions might be very silly but i want to get the best picture about reporting in BW. Is there a restriction that we could create only 2 new structures in both rows and colums or isn't there any rule.Any kind of explanation would be of great help.
    Thanks,
    Anjali.

    Hi Anjali,
    I am not sure if I undertand, what you are looking for.. you can (in 3.0B) only create one structure per row or column. However you can create 2 types of structure elements. "New Selection" and "New formula". Is that what you are reffering to?
    If yes, one is a selection that can consist of key figures and characteristics.
    The other is a calulation based on available structure elements or formula variables.
    Both enable you to create complex "drilldowns"
    regards,
    Michael

Maybe you are looking for