Info set query condition

we have a infoset query to generate a list of parked logistic invoices, we use the same vendor and the same T-code : MIR7 to generate park document, but I can see only the park documents generated by my collegue throgh this info set query.
I can't see the park documents generated by me throgh this info set query, we are using the same T-code MIR7 and same query.
why this happen? Is someone set the condition of this query, so i can't see the parked document generate by my self. I can see these parked document(both my collegue and mine) through MIR6

any idea from query design point of view? thanks

Similar Messages

  • Info-set query datasource

    Hi Geeks,
    I have created an infoset query. Based on tables
    VBAK - Sales order header data
    VBAP - Sales order item data
    VBUP - Sales document item status
    VBPA - Parnter function table.
    I created a custom data-source in RSO2 based on this infoset query.
    Now I want to delete tables (VBPA) or entries (VBPA-KUNNR) in field groups from infoset query.
    & system is not allowing me to do this saying
    System says "VBPA-KUNNR" is used in queries.
    Can anybody please suggest me any way to change the infoset & inturn datasource created over it.
    Thanx in advance.
    Monica

    If I correctly understand , you want to remove the filed or table from info set query .
    As data source is based on Infoset query , it  will not allow to change the  same
    You can delete the data source  or if you do not want to delete  just  detach the info set from Data source  by removing the info set name  ( may be you can replace it with another duplicate query name for time being ) and save activate datasource  and later change the info set .
    You can revert back to original info set  query name in data sources after changes are done.

  • Info set query

    Hello everybody,
    I have a problem with the creation of info set (tcode : sq00 and sq02)
    I need your help, i have to develop a query with a number Purchase Order and number of invoice.
    For example : for a number of invoice : 5105617263
    i have with TOAD (soft) this :
    select distinct ekko.ebeln, rseg.belnr
    from sapsr3.ekko, sapsr3.rseg
    where ekko.ebeln = rseg.ebeln
    and rseg.belnr = '5105617263'
    and ekko.mandt = '350'
    EBELN        BELNR
    4500013374   5105617263
    4500014267   5105617263
    I've tried to have the same result with an info set (sq02) and i have this :
    Purchase Order           Invoice
    4500013374               5105617263
    4500013374               5105617263
    4500013374               5105617263
    4500014267               5105617263
    4500014267               5105617263
    4500014267               5105617263
    4500014267               5105617263
    I dont know to develop in ABAP and i want to know if it's possible to have DISTINCT in an info set ?
    Or which table can i use to have this ?
    Thank you very much

    thanks for your answers.
    <br>
    I tried to create a z programm with tcode SE38 but i dont have the key.
    <br>
    I would like to know if i can write this code on the tcode sq02 ?
    <br>
    this is my code :
    <br><br><br>
    FUNCTION /1BCDWB/IQG000000000487EXTR.<br>
    <br>
    ""Interface locale :<br>
    *"  TABLES<br>
    *"      %SELOPT STRUCTURE  RSPARAMS<br>
    *"      %DTAB STRUCTURE  /1BCDWB/IQG000000000487<br>
    *"  CHANGING<br>
    *"     VALUE(%RTMODE) TYPE  AQLIMODE<br>
    *"  EXCEPTIONS<br>
    *"      NO_DATA<br>
    *"      NO_AUTHORIZATION<br>
    *"      ILLEGAL_PACKAGE<br>
    *"      CURSOR_NOT_OPEN<br>
    <br>
    <br><br><br>
    call function 'RSAQRT_SET_IDENTIFICATION'<br>
    exporting iqid        = %iqid<br>
              sscr_report = sy-repid<br>
    changing  rtmode      = %rtmode.<br>
    <br><br><br>
    if %rtmode-pack_on = space or %rtmode-first_call = 'X'.<br>
       call function 'RSAQRT_FILL_SELECTIONS'<br>
         tables   selopt = %selopt<br>
         changing rtmode = %rtmode.<br>
    endif.<br>
    <br><br><br>
    call function 'RSAQRT_INIT_TEXTHANDLING'    <br>
         exporting class   = 'CL_TEXT_IDENTIFIER'<br>
         wsid    = 'G'<br>
         infoset = 'REQUETE_EBELN'.<br>
    <br><br>
    if %rtmode-no_authchk = space<br>
    and ( %rtmode-pack_on = space or %rtmode-first_call = 'X' ).<br>
    refresh %auth_tabs.<br>
    append 'RBKP' to %auth_tabs.<br>
    append 'EKBE' to %auth_tabs.<br>
    append 'EKKO' to %auth_tabs.<br>
    call function 'RSAQRT_AUTHORITY_CHECK'<br>
          exporting<br>
              auth_tabs         = %auth_tabs<br>
              auth_clas         = 'CL_QUERY_TAB_ACCESS_AUTHORITY'<br>
          changing<br>
              rtmode            = %rtmode<br>
          exceptions<br>
              NO_AUTHORIZATION  = 1.<br>
    if sy-subrc = 1.<br>
       raise no_authorization.<br>
    endif.<br>
    endif.<br>
    break-point.<br>
    <br><br><br>
    data: %l_no_further_fetch type flag, " stop fetching<br>
           %l_hits_cnt         type i.    " cnt for %dbtab entries<br>
    <br><br><br>
       if %rtmode-pack_abort = 'X'.<br>
         if not %dbcursor is initial.<br>
         close cursor %dbcursor.<br>
         endif.<br>
         exit.<br>
    endif.<br>
    <br><br><br>
    if %rtmode-pack_on = space or %rtmode-first_call = 'X'.<br>
          if not %dbcursor is initial.<br>
              close cursor %dbcursor.<br>
          endif.<br>
          open cursor with hold %dbcursor for<br>
          select RBKPBELNR RBKPRMWWR RBKPWAERS RBKPWMWST1 EKBEBELNR EKKOEBELN<br>
          from ( RBKP<br>
               inner join EKBE<br>
                  on  EKBEBELNR = RBKPBELNR<br>
               inner join EKKO<br>
                on  EKKOEBELN = EKBEEBELN )<br>
               where RBKP~BELNR in SP$00001<br>
               and EKKO~EBELN in SP$00002 .<br>
    endif.<br>
    <br><br><br>
    if %dbcursor is initial.<br>
      raise cursor_not_open.<br>
    endif.<br>
    <br><br><br>
    while %l_no_further_fetch = space.<br>
          fetch next cursor %dbcursor<br>
          into (RBKP-BELNR , RBKP-RMWWR , RBKP-WAERS , RBKP-WMWST1 , EKBE-BELNR , EKKO-EBELN ).<br>
          if ( ( %rtmode-acc_check = 'X' and<br>
               sy-dbcnt > %rtmode-acc_number )<br>
              or sy-subrc <> 0 ).<br>
              %l_no_further_fetch = 'X'.<br>
          else.<br>
               check SP$00001.<br>
               check SP$00002.<br>
              call function 'RSAQRT_TEXTFIELD_REFRESH'.<br>
               %dtab-BELNR = RBKP-BELNR .<br>
               %dtab-RMWWR = RBKP-RMWWR .<br>
               %dtab-WAERS = RBKP-WAERS .<br>
               %dtab-WMWST1 = RBKP-WMWST1 .<br>
               %dtab-WAERS001 = RBKP-WAERS .<br>
               %dtab-EBELN = EKKO-EBELN .<br>
               append %dtab.<br>
               %l_hits_cnt = %l_hits_cnt + 1.<br>
               if %rtmode-pack_on = 'X'<br>
                   and %l_hits_cnt >= %rtmode-pack_size.<br>
                    %l_no_further_fetch = 'X'.<br>
                   endif.<br>
              endif.<br>
         endwhile.<br>
    <br><br><br>
    if %l_hits_cnt = 0.<br>
         if not %dbcursor is initial.<br>
          close cursor %dbcursor.<br>
         endif.<br>
         raise no_data.<br>
       endif.<br>
    <br><br><br>
    if %rtmode-pack_on <> 'X'.<br>
          close cursor %dbcursor.<br>
    endif.<br>
    read table %dtab index 1 transporting no fields.<br>
    if sy-subrc ne 0.<br>
         raise no_data.<br>
    endif.<br>
    <br><br>
    endfunction.
    <br><br>
    if i can write this code on the sq02, where i must write this ?  DATA ? INITIALISATION ? START-OF-SELECTION ?
    Thank u very much for your help !
    Edited by: missmiss25 on Oct 23, 2009 10:09 AM

  • Custom fields of standard info types to be included in Info set query

    Hi All,
    I want to understand if the following scenario is entirely a fucntional config or ABAP efforts are also required.
    A standard info type is already included in the Info set. But the (Z fields) in the Additional fields column of the IT are not visible in Info set for the respective  info type.
    I understand, with T-code SQ02 infotypes can be included in the existing info set, but not aware about the Z fields of a Standard Infotype.
    Hence, please let me know, if there is any config which is required, so that they are reflected in Info set.
    Thank you in Advance.
    Regards
    Simran

    Make sure you have the infoset in edit mode.
    if it is correct you see the addtional fields in the left half of the screen at the infotype.
    Select the field group on the right half of the screen, go to the left half of the screen, select the field you want to add to the fieldgroup with right mouse click and select 'add field to fieldgroup'
    good luck
    Theo

  • Unit Conversion in Info Set Query

    Hello Experts
    I have create a query on infoset in which I want to show the qty field with the unit conversion factor . but I am not able to do so.
    It is giving an error message while saving the query
    0Material is not a valid characteristics for Info provider ZINFOSET
    Diagnosis
    Customer enhancement RSR00002 or the implementation of BAdI RSR_OLAB_BADI delivers 0MATERIAL as the characteristic to be calculated. 1. is, however, not a valid key figure for InfoProvider ZIS_BILL.
    System Response
    The information from 0MATERIAL is ignored.
    Procedure
    Check the exit.
    Procedure for System Administration
    Please help me out
    Thanks
    Neha

    Hi,
    You can try unit conversion planning function,create planning function and add it at the back of button.
    Can refer to link below:-
    Not sure if it can solve your problem.As it also depends upon source and target keyfigure used.
    http://help.sap.com/saphelp_nw70/helpdata/en/44/21643cedf8648ee10000000a1553f7/content.htm

  • SAP Query Alias Table in Info-set not working

    Hi Guys,
    I'm having a bit of trouble with a query I'm writing in SQ01.
    I am trying to create a standard margin report between two different costing variants that we use.
    n order to do so I have had to employ the use of alias tables.
    I have named the alias tables KEKO_2 and KEPH_2 accordingly and joined them in the info set with the same joins as the original tables (Left Outer to MARC on MATNR and WERKS)
    However, when I have come to test the query in SQ01 I get a runtime error which states the following:
    The following syntax error was found in the program
      AQA0MASTER_DATA=STANDARDMARGIN :
    "Field "KEPH_2-KST001" is unknown. It is neither in one of the specified
    tables nor defined by a "DATA" statement . . . . . . . . . ."
    But it is in a specified table! My alias table.
    How can I make this query work?
    Any help would be appreciated.
    Thanks in advance.

    Hi,
    This is SAP business one reporting and printing forum. Please find correct forum and repost your question to get quick assistance.
    Please close this thread by marking helpful answer.
    Thanks & Regards,
    Nagarajan

  • How to set a BEx Query Condition in Design Studio (e.g. Net value GT 0)

    Hi experts,
    I have set a simple condition in my BEx Query...
    e.g. key figure "Net value" GT 0 to become only positive values in the query result.
    In the Query runtime the condition works successful, but in the Design Sudio view the defined Query condition doesn´t work.
    In my Design Studio crosstab I have tried to switch between the display setting "Conditional formating Visible" true/false, but without success.
    By the way, before I have posted this thread, I had a look at this two blogs...
    Design Studio 1.0: Create a Scorecard Using SAP BW BEx Query Exceptions
    Design Studio 1.2  - a Second Look
    Any ideas or experiences?
    Thanks and regards,
    Michael

    Hi Michael,
    I think you are mixing up two different BEx terms. Conditions are filters on key figures (show me only the results with a value bigger than 50). Exceptions do not filter the result set, but provide a formatting based on the values in the result set (if value is bigger than 50, make its cell red).
    The Conditional formatting setting in Design Studio refers to the BEx exceptions. For the BEx conditions there isn't such a setting available. You just have to activate the condition in your BEx Query and use that for your data source in Design Studio.
    If you want a workaround to enable/disable conditions from Design Studio, check this blog I wrote: HackingSAP.com - SAP Design Studio and Conditions It shows how you can use variables to adjust the conditions (and also activate) from within Design Studio.
    Cheers,
    Xavier

  • 2 set of conditions to use in a Single Select query in procedure

    Good day
    I have one procedure, want to use one 2 set of conditions in Where clause
    like
    where condition1 < value
    AND condition 2 > value
    AND condition 3 = value
    where condition 1 > value
    AND condition 2 < value
    AND condition 4 = value
    How we should combine in a single select statement where cluase.
    Please accept my sincere thanks first and looking your advice asap.
    Regards
    M.K.Thamaraiselvan

    Hi,
    While we use this procdure to run at that time it is not picking up any values also it is not running in it, taking very long time.What is not picking the value? Where clause is not picking the value, or
    where clause is picking the value but you are not getting the output.
    If it is you are not getting the output.
    I suggest to run the sql query individually without pl/sql and check if the records actually exist.
    Since it is taking very long time, I feel the sql query is actually being executed in the database but could be you are not getting the records (check if records actualy exist or if you are correctly passing the where clause)
    Regards
    Anurag
    PS:
    v_sql_string := 'SELECT table/viewname.colomn_name,'||v_order_by||','||v_report_line ||','||
    v_output_line||',table/viewname.check_amount'||v_from_clause||v_where_clause||' ORDER BY '||v_order_by;So you are using dynamic sql, can you add an extra line
    dbms_output.put_line(v_sql_string);
    and check what the actual query is formed by pl/sql, if you are satisified the query is correct run it through sql plus and check why oracle does not give the result. MAy be there is no records satisfiying this condition. And I am sure you meant either table or viewname in (table/viewname.colomn_name) and not something like what you posted.
    Edited by: Anurag Tibrewal on Oct 8, 2009 9:15 AM

  • Re:User group,info set and Query combination table

    Hi,
      I would like to know the combination table of User group,info set and Query.
    Can any body please respond to my question?
    Regards,
    Suresh Kumar.

    Hi,
    Check the tables starting with AQG*.
    Reward points if useful.
    Regards,
    Atish

  • Re: Info set and query transport under same request number

    Hi,
      I would like to know the details about info set and query transport from development to quality using SAP Query:  Trnasport tool.my quesion is,
    Can i create all info sets and related queries under same request number or will it be created in diffrent request numbers?Please respond any body to my question.
    Regards,
    Suresh Kumar.

    No it is possible as per SAP.
    Please read follwoing help-
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    It is talking abou the Special Features of InfoCubes in InfoSets.
    For queries based on an InfoSet with an InfoCube, the system decides at runtime whether aggregates can be used for the InfoCube. This is the case if all the required InfoObjects of the InfoCube exist in an aggregate. The following InfoObjects are required:
    The key figures of the InfoCube selected in the query
    The characteristics of the InfoCube selected in the query
    The characteristics required for a join with other InfoProviders in the InfoSet.
    Furthermore, as a prerequisite for using aggregates, all the data required by an InfoCube must be readable using logical access. For an InfoCube within an InfoSet with InfoCubes, it is no longer possible to read part of the data from one aggregate and part of the data from another aggregate or the InfoCube itself.

  • Query Rules - length limitation on query conditions set via powershell

    My current client has 200 custom keywords in SP 2010 which they would like to migrate to SP 2013 query results.  I have powershell scripts to perform the export from SP 2010 and import into one of three SP 2013 environments.
    One limitation I have found in powershell -- that does not happen in the search service application UI! -- is a 100 character length limit on the keywords used for matching query conditions (synonym data in SP 2010).   The keywords can be set through
    the UI without limitation but are limited to 100 characters when using powershell!  It makes no sense!
    I suppose my final update could be done by hand (ugh!) and I would much rather be able to script these updates.  
    Any pointers or help?

    Hi grobinson,
    If you used this code line in your Powershell and have the following error:
    [string[]]$QueryRuleTerms=@($QueryRuleConditionTerm)
    Exception calling "CreateKeywordCondition" with "2" argument(s): "The value must be at most 100 characters long.
    Parameter name: Term"
    At line:2 char:1
    + $QueryRuleCondition = $QueryRuleConditions.CreateKeywordCondition($QueryRuleTerm ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentOutOfRangeException
    You need to use the following code line with Split() method to add the multiple terms, it will work.
    $QueryRuleConditionTerm = "a1;a10;a100;a101;a102;a103;a104;a105;a106;a11;a12;a13;a14;a15;a16;a17;a18;a19;a2;a20;a21;a22;a23;a24;a25;a26;a27;a28;a29;a3;a30;a31;a32;a33;a34;a35;a36;a37;a38;a39;a4;a40;a41;a42;a43;a44;a45;a46;a47;a48;a49;a5;a50;a51;a52;a53;a54;a55;a56;a57;a58;a59;a6;a60;a61;a62;a63;a64;a65;a66;a67;a68;a69;a7;a70;a71;a72;a73;a74;a75;a76;a77;a78;a79;a8;a80;a81;a82;a83;a84;a85;a86;a87;a88;a89;a9;a90;a91;a92;a93;a94;a95;a96;a97;a98;a99;a991"
    #use the following codeline, it worked for me
    [string[]] $QueryRuleTerms = $QueryRuleConditionTerm.Split(";")
    $QueryRuleConditions = $QueryRule.QueryConditions
    $QueryRuleCondition = $QueryRuleConditions.CreateKeywordCondition($QueryRuleTerms,$true)
    $QuerySourceContextCondition = $QueryRule.CreateSourceContextCondition($ResultSource)
    $QueryRule.Update()
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • RE: Authority checks included in the info set of the query

    Hi all,
    I am checking the program code for one of our custom tcodes and i asked ABAP team to add authority check to the program code because there is no auth check in the code and abapers told me that the authority check is included inside the info set of the query and not in the program . the program is used to execute the query in the Tcode.
    how to find the Authority checks included in the info set of the query.
    Thanks in advance,
    Sun.

    If you have the BI support roles assigned to you  and the security admin  roles please login to the BI system
    execute transaction RSECADMIN, click on the analysis tab and execute as the user who is assigned the role with restrictions.
    For variables in authorizations like ( type customer exit )
    use RSECADMIN - maintain authorization tab - Click on value authorization tab.
    Keytransaction is RSECADMIN  & infoobject maintenance details you can get from RSD1.
    Regards

  • Error message when checking Aggregates on Info-set based Query

    Hi All,
    I have an Info-set (Inner-join between Info-cube and DSO) based Query. When I checking whethere it is picking up the aggregates (which is created on Info-cube) or not in RSRT, it is giving me following message -
    I>> Row: 23 Inc: SHOW_AGGR_COMPARISON Prog: CL_RSDDK_AGGREGATE_COLLECTION
    RS_EXCEPTION 
    301CL_RSDDK_AGGREGATE_COLLECTION
    SHOW_AGGR_COMPARISON
    I have checked fully that whatever fields I am using in my Query are available in Info-cube's Aggregate.
    Even when I am running same query (which I have created on same Info-cube direclty) in RSRT, it is picking up the aggregates.
    I have put the Request status 'Rolled up data (Rollup)' in Info-cube in Info-set as well.
    Please guide me what I need to do for picking up the aggregates.
    Regards,
    Dheeraj Kumar Garg

    No it is possible as per SAP.
    Please read follwoing help-
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    It is talking abou the Special Features of InfoCubes in InfoSets.
    For queries based on an InfoSet with an InfoCube, the system decides at runtime whether aggregates can be used for the InfoCube. This is the case if all the required InfoObjects of the InfoCube exist in an aggregate. The following InfoObjects are required:
    The key figures of the InfoCube selected in the query
    The characteristics of the InfoCube selected in the query
    The characteristics required for a join with other InfoProviders in the InfoSet.
    Furthermore, as a prerequisite for using aggregates, all the data required by an InfoCube must be readable using logical access. For an InfoCube within an InfoSet with InfoCubes, it is no longer possible to read part of the data from one aggregate and part of the data from another aggregate or the InfoCube itself.

  • Navigational attr in info-set.

    Hi Expects,
    I am using BW3.5
    I want display attribute as navigation attribute, so that i can restrict some of the conditions in the query designer,
    For this,
    1) first i checked in the master data object whether it is navigation attribute or not, i found that it is a navigation attribute
    2) Then in the ods i have swicted on i.e. the check box is checked, in the folder NavAttribute. and activated the ods.
    3) In the info-set, the field is not available.
    If i create report on ods, in report level the object is available, but if i create report on info-set the object is not available.
    So to available the object in the report level by creating on info-set. i need to do any settings in info-set level if so please tell me step by step.
    Thanks and regards,
    Sagar.

    Hi All,
    Thanks to all to your time.
    The issue was resouled, i have added master data object in the info-set.
    Thanks and Regards,
    Sagar.
    Edited by: Sagar Venkata on Oct 20, 2008 3:50 PM

  • 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();

Maybe you are looking for

  • Report Generation Toolkit and Office XP and 2K

    Hello Everybody I am having few problems with running executable using Report Generation Toolkit on machine with Office 2000, which was compiled and build on machine with Office XP (toolkit also XP). There are many errors which pops up, but the very

  • Memory problem, but there is enough space - virus? pls help!

    Since yesterday I am unable to download anyfile, I always get a message saying that there is not enough free disk space, but I happen to have 3GB space still left. I can't save any textedit document, it takes forever to reboot and when I connect my u

  • Missing java.util.Enumset in java file

    Hi Java Gurus, Im gettting below error in the first line of my java program. "This compilation unit indirectly references the missing type java.util.EnumSet (typically some required class file is referencing a type outside the classpath)" Pls suggest

  • Questions about iMac Core i7 Photoshop and Capture One performance.

    Hello Everyone, I am in the market for a new Mac and was thinking about the iMac Core i7. Now my question is, how the performance in Photoshop is for that machine ? I work on 24 Mpix raws and occasionaly on 30-40+ Mpix raws from Medium Format cameras

  • AJAX list: on-demand rendering

    Hi, I have a menu on page 0 defined as a list. Its region is normally invisible, and displayed on click of a button-ish item. Using debug, I see that the list takes a while (300ms or so) to generate. I therefore want to avoid this overhead on every p