SQ01 - restriction on Infoset

Hello,
I have created an infoset via SQ02 that is joining 4 tables. (VBUK, LIKP, VBPA, ADRC).
I would like to add a restriction on a field (VBPA-PARVW = SH) so that all the values that come from this infoset are restricted to just those with the SH value on PARVW.
Is this possible? (and if possible without writing any ABAP code)
many thanks,
Allan

Allan,
The query selections are displayed in the top right-hand corner of InfoSet Query. The following displays are possible:
Editable ALV Grid Control (set by default at the start of InfoSet Query)
Selection screen (can be used as an alternative)
You can switch between the two display options by choosing Extras -> Standard Selection Screen or Extras
-> Selection Control On.
If you use the ALV grid to display the selections and choose a selection field, a new line appears in the selection field list. The selection field list contains six columns where we can input the field name, option and the value. Under "Value", you can set default values.
Thanks,
Lalitha.

Similar Messages

  • SAP Query SQ01 restriction at Plant level

    Hello All,
    Is possible to restrict SAP SQ01 Query report at Plant level? I mean if it can be restricted through Auth object at Role level?

    Hi,
    OK, when a query is created you can hard code selection parameters into the query itself (i.e. default in the company code).  That way you have have queries:
    ZQ_SHIP_LIST_1000
    ZQ_SHIP_LIST_2000
    ZQ_SHIP_LIST_3000
    Where the 1000, 2000, 3000 represents a data element by which you are separating them.
    As Arpan mentioned you could tie this in with your user group policy to make sure users in certain groups (e.g. arranged by plant) are only allocated queries for their respective area.
    A downside of this is that you will potentially have a lot more queries.  Depending on how your S_QUERY auths are set up, the selection screen entries could be modified.
    Ultimately both methods are a faff and my POV is that if you want to report on business data then it's best to code reports from scratch (including the required auth checks) or use something like BW with restrictions tied to the data model.

  • SQ01 restricting the number of database accesses

    Hi,
    I created a report using SAP Query (SQ01). When I run the query a dialog box appears asking the maximum number of database accesses.
    The value entered here directly affects the result of the report. The user has to change the value manually in order to see the complete set of results, set it 999999 for example.
    I want to get rid of that dialog box. Is it possible?
    If not can I change the default value '100' to anything I want?
    Thanks...

    That is true, it is a bit loaded report. It includes additional fields, selections and another select statement for each record. I tried to keep it as simple as possible but that is the only way that I could think of.
    The joins are:
    VBAK - VBAP
    VBAP - VBUP
    VBAP - MARD
    VBAP - MARA
    The report basicly brings the stock amounts of open sales order items.  In addition the total consignment level for that item is also requested, so I wrote a select statement   in record processing which finds the total consignment level from the MKOL table for that item. I could not simply add MKOL to my join list because it than divides each item to the number of vendors that exists in the MKOL table. The user is not interested in the amount for each vendor, only the total amount.
    The performance is not that bad, but as I said before the result of the report is different for different limits of database accesses.
    Is there a way to omit the limit?

  • Default value for SAP Query - SQ01

    Hi Expert,
    I made a query for GL master data, and I have a selection criteria on chart of account, but since the chart of account for all company codes are same; therefore I would like to default the chart of account selection criteria to my COA.
    I read through question/answer in the following thread: SQ01 - restriction on Infoset but solution given by Lalitha Manda ... I cannot get the given selection path.
    Kindly advise, and I am using ECC6.0.
    Thanks,
    sbmel

    Hi,
    You need to go to the infoset of the query (transaction SQ02), or in SQ01, after input of the SAP Query, click on 'Infoset Query'.
    In the right frame You will get a list of fields for selection. There You can default the value of selection field GL Account in the column 'Value'.
    Regards,
    Birendra

  • Infoset/query : how to fix a selection field value?

    I am writing queries with SQ01 and designing Infosets with SQ02.
    I have to restrict the results of a query to a specific plant.
    This can be done by adding the plant field in the selection screen of the query and by asking the users to fill always the same fixed  plant number when the query is started. Another solution is to filter the output.
    Isnt it possible to simplify this by forcing the plant number in the initialization of the Infoset values without display of this field in the selection screen? This value has to be initialized before the table containing the Plant field is joined to the other tables?

    Open SQ01 transaction,give your query name, click on infoset query button.
    On the right side of the screen you can define default values for those fields.
    If you want to disable the same field in selection creteria then open your infoset in SQ02
    transaction and click change, click on extras buttonin appllication tool bar,on right hand side
    in code tab you can add your logic.

  • R/3 Infoset join question

    I'm not a big SQ02 user, but was hoping someone who has used it more could answer a question posed by one of our analysts.  They would like to create an Infoset for some reporting needs where there is a join between VBAK and VEDA.  No problem with this since it makes the connection based on the sales document field.  However, they only want to bring in rows from VEDA where the item is 000000, not all the individual line items.  Is there a way to accomplish this in the join definition (I couldn't see any way to restrict that there)?  Or would you have to build in the VEDA item field as a parameter where it can be input as all zeroes?
    Any input would be appreciated.  Thanks... Jody

    after creating the joins in infoset in sq02, goto sq01, create an infoset query, select your infotype from your usergroup.
    here, below output button you have a drop down button as 'field group' and 'field catalog', from here make the line number as selection criteria(drag and drop in the right part of screen).
    you will have this item in selection screen. pass 000000 here and execute...
    i hope task done. any doubt?

  • Restricting Queries in HR: Compensation Management User Group

    I am trying to restrict the Infoset /SAPQUERY/HR_XX_CM_03, which contains salary/compensation queries, assigned to User Group /SAPQUERY/H0, from being accessed by anyone.  In SQ03, user group /SAPQUERY/H0, there are no users assigned but users with access to SQ01 can select the user group /SAPQUERY/H0  and access the queries tied to infoset /SAPQUERY/HR_XX_CM_03.  Why are users able to access the infosets of the user group when no users are assigned to the user group?

    Turns out that security authorization for access to SQ01 had an S_QUERY value of 02 which allows for full change.  With this value the user group/user assignments done via sq03 did not work.  Setting S_QUERY to 23 allows for user group assignment to restrict access in sq01

  • Using InfoSets as Data Source for segmentation

    Hi Experts,
    I'd like to use my own InfoSet as Data Source for segmentation.
    The goal is, for example:
    Select all BPs who have Leads (Just simple one to describe my question).
    So I've created new InfoSet which joined tables:
      CRMD_ORDERADM_H
      CRMD_LINK
      CRMD_PARTNER.
    The question is how should I restrict the InfoSet to use only object type "CRM Lead" (CRMD_ORDERADM_H = 'BUS2000108') and partner function "Activity partner" (CRMD_PARTNER-PARTNER_FCT = '00000009')?
    I've managed to do this by small addtitional coding in Record Processing in the InfoSet as:
    CHECK crnd_orderadm_h-object_type EQ 'BUS2000108'
      AND crmd_partner-partner_fct EQ '00000009'.
    But it seems that it's not the best way (and no the best practise's one) because all records from the joining are processed and for each of the record this conditions are checked.
    It'd be better, I think, to put this conditions as selection options. But it doesn't work (or I didn't do it properly). What I've done is: I've made them as selection criterions in my InfoSet and put default values for them. But segment builder didn't use them (default values) as I can see.
    Appreciated for your any advices.

    Hi Monica,
         Ofcourse query will be written by BW consultants but the requirement should be passed on by Business. CRM Functional Consultant responsibility is to understand the Business requirement and should guide BW consultants. Also make sure that BW system is in the CRM landscape for such requirement.
    regards
    KK

  • Generic Extraction using Infoset Query

    Hi Experts,
    I am trying to create on Infoset query on the R3 side for creating one generic Extractor Joining EKKO and EKPO table.
    u2022I have created the User group in SQ03.
    u2022I have created the Infoset in SQ02 and selected few 5/6 fields from each EKKO and EKPO tables into the Field Groups of the Infoset.
    u2022I have generated the Infoset and assigned it to the user group created on SQ03
    u2022I have created a query on SQ01 using this Infoset and deselected the u201Ctextu201D fields created by default and selected the Basic list. Done everything needs to be done in there.
    Now when I am going to RSO2 and created the extractor using that Infoset, I am not seeing the Function groups that I have created in the Infoset in the Extract Structure, rather its pulling all the fields that is there in the Infoset joining both tables. It should show me those 5/6 fields that is there in the field group.
    I just want to see only those 5/6 fields in the extract structure of the DS.
    I am not sure what is missing.
    Any documentation on the same or if anyone faced similar problem, please help.

    Hi,
    You can create the infosets in r/3 using the t code Sq01,sq03 etc.
    You can create a generic extractor in r/3 using the tcode rso2 and that you can specify the infoset name.
    Regards,
    K.Manikandan.

  • SAP query - SQ01 distinct rocord

    Hi,
    I created a join with VBAK and VBAP tables.
    We are trying to get distinct sales order document number based on sales order line item details.
    Currently query output is listing sales document number repeated for input.
    How we can get a list output with distinct sales document number?.
    Kindly help.
    Regards,
    Shabeer Ahammed

    In SQ01, create an infoset instead. To get to info set, SQ01, then Environment InfoSet. Create the info set and save. Then click on Code icon and select the code section. Select the section that code should appear and manually type in the select statement such as 'select distinct vbeln from vbap where vbeln = vbak-vbeln'.
    Generate. Get ABAP help if necessary.
    Role assignment may also be necessary.

  • How to debug Infoset Query in ABAP?

    Hi
       I have an Infoset Query created by another user, please let me know how to debug this?
    Thanks
    Naga

    Nagarani - For debugging a infoset query, you have to create a query in SQ01 for the infoset which you are planning to debug. Once the query in transaction SQ01 is generated, Activate the same. Use the following path to generate program for created query from SQ01  QUERY--> MORE FUNCTIONS > GENERATE PROGRAM. Once the program is generated use the path QUERY>MORE FUNCTIONS --> DISPLAY REPORT NAME to get the report name generated. Copy the report name displayed.
    While using the menu paths for generating program or displaying report name, make sure the query is selected.
    In transaction SE38, give the report name and maintain break points whereever required in display mode and execute the report from se38.
    Edited by: Santhoshi Guttula on Jan 6, 2012 7:44 AM

  • SQ01:Copy of SAP query.

    Please tell me.
    When query is copied with SQ01, can different infoset be selected?

    Hi,
    If you want to copy a query for another infoset its not possible.
    The copied query will work for that infoset only which you have been generated.
    You need to make a new infoset and than create a new query for it.
    Regrds,
    muthuraman.d

  • SQVI SQ01 SQ02 transaction codes

    hi all,
    i am a trainee in SAP HR Payroll. I am required to use the SQVI SQ01 SQ02 t-codes to generate information for the user. i have tried to browse through these myself. but not sure if doing it the correct manner. any kind of documentation or tips would be very helpful.
    regards,
    kaustubh

    first go to Sq02
    On the left hand side there is a field by the name of infoset.
    Give any appropriate name. Then click on create button.
    then a screen will appear , write the name. In data source field click on Logical Database . Here you have to select PNPCE, PAP, PNP according to your requirement.
    If you want to create Query on anything related to applicant select PAP. If ur query is based on Master data select PNPCE.
    After selecting click on tick mark (green in colour) which is given below. A screen with different folders of infotypes will appear. Select the required infotypes which you want accoridng to your requirement. Then click on tick mark again.
    Then click on generate button (red & white in colour) (3rd button from the left). A screen will appear with the name
    create object directory entry. Here you have to click on local object button.. you will now see that the system haas generated a Message saying "Infoset------- generated.
    In sq02 there is a button with the name Role/User Group Assignment . Assign the user group out here.
    Then go to SQ01, click on infoset query. Select ur user group. You can see the name of the query which you have created.

  • Doubts on Infosets

    Hi All,
    I have some doubts on the info sets. Please could some one throw some light on them.
    I am creating an infoset for master data reporting with 8+ infoobjects. Does this affect the query performance?
    How does the infoset work i.e will it check only in the suitable infoobjects or all the infoobjects in it for data?
    Is there any way to restrict the infoset to get data from only particular infoobjects like we use 0INFOPROVIDER in multiprovider?
    And finally, in the  query designer the dimensions are being showed as KEY and ATTRIBUTES for all the infoobjects and if I click on the technical names button it is only  showing some system generated technical name but not the actual info object name. This is creating confusion and unable to make out which fields are coming from which info object. Is there any way to display the technical name of th einfo object in the left hand panel just to make our self clear of which infoobjects we are using.
    Best Regards,
    James.

    Hi James,
    InfoSet use the principle of Joins. Then you can select the InfoObjects from the left hand side List. The list will allow you to select the Info Objects.
    You can drag and Drop the required info objects to make the join. Then the data finally comes as the output will be the Join made by linking the infoObjects tables with the Key Values.So if you are not getting any value, check that there is any common value for the combination of keys you made.This is different from the Union principle of Multiprovider.
    Then when you create an info set with two info objects you can see four dimensions are created.ie as many info objects separate dimensions are created. so you should not have a confusion in selection the right one.
    Regards
    Happy Tony
    Points == Thanks

  • Line item report with Customer number

    Hi all,
    I am facing the following issue:
    I need a line item report to analyze an accrual account by customer.
    Since the customer is not captured on the accrual account itself, but on the recon. account (which is not defined as line item display), I did not find a way to present the customer and the accrual  on the same line.
    I can always go to BSEG and vlookup and match by document number the accrual account and the customers from the customer recon. account, but I thought maybe someone has a better idea.
    Thanks,
    Yoel.

    If the recon account line items have al lthe info needed I'd suggest using a query (SQ01).
    1. Create an Infoset in SQ02 with logical database "BRM". Choose the fields from BSEG that you need
    2. Create the Query in SQ01 using that Infoset.
    If you want to see individual line items, include the fields you want in the "basic list" of the query. If you want totals by customer, don't include anything in the basic list, but make a "statistics" with customer and amount.
    Selections would habe to be made for account no and period.

Maybe you are looking for

  • Implementing OAM - SSO for Multiple Applications

    I am trying to implement OAM - SSO for 2 applications. I already have completed the setup of SSO for one application . OID -- OAM -- OHS ( 11g webgate ) - Weblogic Server - OBIEE . ( All the components are 11.1.1.5 version ). Now I am looking to add

  • After effects CS6

    why dose my after effects CS6 crash

  • Third party validation

    Hello I need to implement FTP to BW scenario. I transfer CSV file to BW and I think about validation. In XI system the validation is very complicated and I think to make the validation in the client side. I think to write some applet in Java and plac

  • Synchronize Business Partner from SAP CRM - SAP ERP

    Hi experts, I would like to synchronize our BPs from the CRM into our SAP ERP System. What Ive done until now: 1. start initial load "bupa_main" from "CRM" to "OTLP" 2. check if everything is correct with R3AM1 - after ~ 1 hour -> done (green) 3. I c

  • Weblogic Portal 7.0 - Question on Build your first portal

    I have followed the instructions as defined at http://e-docs.bea.com/wlp/docs70/index.htm. When attempting to hot deploy using the EBCC tool I receive the following and error message - "Unable to add module: NewPortalWebApp to application descriptor