SQ02 Infoset

Dear All,
Can you please explain the use of the below fields in the infoset ?,For your reference please find the attachment.

Hi,
if you want selection in Info set SQ02  do not want a certain category of records in the output, then go to SQ02 --> Extras-->Code tab --> Record Processing section,
ask to ABAPer wirte code for recording process particular Transaction code
Thanking you
Mahesh

Similar Messages

  • Crystal Report against SAP R/3 Table-View (SE11) instead of SQ02-Infosets?

    Hi all,
    does anybody know if crystal can connect to an SAP R/3 Table-View which is created with the SE11 Transaction ?
    I want to use this instead of the SQ02 InfoSets because the "join"-functionality in the SQ02-Infosets is only rudimentary and i need more detailed join-functionality.
    I use Crystal 12 with SP3 and i also have the SAP-Integration-Kit installed.
    Thanks a lot.
    Sebastian

    Hi,
    For creating CR report with R3 tables, please select the "SAP Table,Cluster or Function" in the CREATE NEW CONNECTIONS list.
    With this you should be able to select R3 table and create a report.
    Thanks,
    Noor.

  • SQ02 InfoSet Get Count of Total Number of Records that will be processed

    I am developing a query (SQ01) and am currently working on building an InfoSet (SQ02). 
    The Infoset was set up using a 'Direct read of table'.  Next, I'm adding some various fields and then going to Extras and trying to define some code to get the total number of records that my query will be processing.  I'm not sure if SAP pulls a filtered result set into a temporary table (by default - if so how could I reference it?) that I can reference or is just pulling in a row at a time in the record processing code, but my question is in regards to getting a record count of how many records are returned in my result set PRIOR TO going through all of the records.
    Overall, I'd like to be able to have a field that says Record X of Y.  I can get the X part for each line, but cannot get 'Y' until the very end.  Any help or ideas would be much appreciated.  I've looked around a bunch, but haven't found anything like what I'm requesting.
    Query Output would look something like:
    Record X1 of Y | Title1 | Amount1
    Record X2 of Y | Title2 | Amount2

    Hi Subin,
         I have tossed around this idea in my head, but am trying to figure out how to get the values and selection options from the query screen to incorporate into my Select statement within my infoset.  The problem I'm running into is that my user enters a group of account numbers and an ending date that has to be pulled from the SQ01 query screen to the SQ02 infoset code.  I've looked around for examples on pulling the data from the query screen, but have been unsuccessful thus far.  Say for instance I have 15 specific accounts that the user is entering in and they want any records that have been submitted prior to the end of the current month and the start of the business year.
         On my query screen they would enter in something like
    Business Year:  2011
    Reporting End Date:  <= 31.03.2011 (Which equates to all records between 01.01.2011 AND 31.03.2011)
    Account #s:  0000, 0001, 0003, 0005, ..., 9999  (These are a variable amount of accounts entered and could include options such as not equal to or even between ranges etc)
    In my START-OF-SELECTION code I would need a select like:
    NOTE:  This is just a pseudo code format, not checked for syntax here
    SELECT count(*)
    FROM TABLE
    WHERE BusinessYear = '2011' AND
        RecordDate Between 01.01.2011 AND 31.03.2011 AND
        Accounts IN (0000, 0001, 0003, 0005, ..., 9999).
    So In this select I need to reference the values in the SQ01.  How would I reference the account #'s and whether or not the user has entered an account number and said Not Equal on it etc.  This select statement would have to be built on the fly, since it's not guaranteed to be the same for each run.
    Thanks,
    Mark

  • SQ02 Infoset Query

    Hi
    When I'm trying to create an infoset query by using the trasaction SQ02 , while generating it's throwing the error
    " Error in Parameter PYPARAID
        Statement concluding with "---Type" ended unexpectedly".
    Can anyone pl help me in creating a query using sq02, sq03 and sq01.
    rewared points will be given..
    Thanks
    Nanditha

    Check these links, they are very useful...
    http://www.insightcp.com/res_15.htm
    http://www.ams.utoronto.ca/Assets/output/assets/adhoc_2990830.pdf.pdf
    If you still have any queries, let us know...
    SKR

  • Version management in SQ02 infosets

    HI,
      One of HR infoset is not generated and inactive in SQ02. I was asked to do some modifications in the infoset but i am afraid i might get into trouble because of its inactive status. So before proceeding with my change i want to make sure the infoset is consistent.   
    My question is, there is anyway to do a version comparison for infosets like we do in ABAP?
    Thanks in advance
    Cheers,
    Kasi

    Hi,
    As far as i know there is no version comparison/Management.
    It will only give the modification details: SQ02->Extras->Status info
    Regards
    Shiva

  • SQ02 Infoset - security hole - authority

    Hi,
    I have heard, that SQ02 (creating Infosets) has several security holes (regarding authorizations). Does anybody know about it and could specify these holes?
    Thanks
    Markus

    HI,
    When u create an infoset, you attach user group to the infoset. In user group, you specify multiple users that can have access to your infoset and query.
    So these multiple users can have access to ur infoset and then can change the code.
    But if you restrict the authorisation to users and not allow them to change or create queries using ur infoset.
    object S_QUERY Revokes authorization to change or create queries for a specific user.
    Hope this will help u.
    Reward points if its helpful
    Thanks,
    Vijay

  • SQ02 Infoset - security hole

    Hi,
    I have heard, that SQ02 (creating Infosets) has several security holes (regarding authority). Does anybody know about it and could specify these holes?
    Thanks
    Markus

    Hi
    Steps on how to proceed to create a Query:
    ADHOC QUERY
    A query can be created to extract information from master records  i.e  Infotypes.  For example, by creating a query , the data relating to an employee contained in various Infotypes can be extracted.
    Proceedure :  
    Decide on  the various Infotypes we  want to make the query.  Decide on the area where we  want to query  i.e  Global area or Standard area.  Standard area is client specific and globel area will include all clients.
    Menu : HR – PM – Admn -  Information System -  Adhoc Query
    Select area standard and select the  user group already created
    Creation of new query  :  
    TC SQ03  -  Select Environment – Select Standard Area -  Enter  --  If new user group is to be created, enter name of the user group, click on create and enter necessary information and  exit after saving
    TC SQ02  -  Enter name of the Infoset – Create – enter name of Infoset -  Data source -- >  Table join by basis table – give name of table e.g  pa0000 -  Enter -  Click on insert table if we  want to include more tables – give name of table one by one and after finishing,  place cursor on the joining lines and right click to delete unwanted relationships  - check  - and go back  - field groups  -  include all table fields  - click on generate button   -  go out
    TC SQ03  -  Select user group  -   eg.  Payroll
    Infoset  - Enter name of newly created Infoset 
    Assign users and Infosets  -  Assign infosets  -  put tick on payroll  - save and go back
    TC  PAAH  -  Expand the nodes and put tick on relevant fields depending upon necessity
    Save the query  by giving the same name as infoset for easyness..
    Use
    The InfoSet Query is designed for reporting on data stored in flat tables. It is particularly useful for reporting on joins for master data and joins for ODS objects.
    Prerequisites
    You must take the following steps before you can create Infoset queries:
    ·        Set up Roles for the InfoSet Query
    ·        Process Classic InfoSets and Assign Roles
    Procedure
    Define the InfoSet Query
           1.      Call the Query Builder. There are various ways of doing this:
    To call the Query Builder from the corresponding role menu or from the BEx Browser, double-click on the InfoSet Query entry in the menu that is created when you set up a role.
    Developers and testers of Classic InfoSets are able to call up the Query Builder directly from the Classic InfoSet overview in the Administrator Workbench.
    If several Classic InfoSets are assigned to a role, and one of them has been identified as a standard Classic InfoSet, this Classic InfoSet is used as a template when the query is called up. To change the template, choose Create New Query – Classic InfoSet Selection. Any of the Classic InfoSets that are assigned to the role can be the new template.
           2.      Define your query. The procedure is similar to the procedure for defining queries in the BEx Analyzer.
    Transfer individual fields from the field groups you have selected in the Classic InfoSet into the preview. To do this, use the drag and drop function, or highlight the relevant fields in the field list.
    Use either of these two methods to select any fields you want to use as filters. These fields are displayed in the Selections area of the screen (top right).
    When you are preparing the query, only example data is displayed in the Preview. When you choose the Output or Refresh function, the actual results are displayed on the same screen.
           3.      Execute the query.
           4.      Choose from the following options:
    Ad hoc reporting
    You do not want to save the query for later. Save the Query Builder without saving.
    Reusable queries
    You want to save the query, because you want to work on it later, or use it as a template. Use either the Save or the Save as function to save the query.
    In addition to the Classic InfoSets that you assigned to the role, you are also able to use the query as a template. It is not possible, however, to access the query from other roles.
    After you save the query, a second dialog box appears, asking you if you want to save the query as a separate menu entry within the role. If you choose this option, you are able to start the query directly from the user menu or from the BEx Browser. It is also possible to use the Role Maintenance transaction (PFCG) to save this kind of role entry.
    Choose Menu ® Refresh to display the query.
    If you want to change or delete the saved query, use the Edit function from the context menu in the BEx Browser to call the maintenance tool for InfoSet Queries with this query as a template.
    InfoSet Query on the Web
    It is possible to publish each InfoSet Query on the Web. There are the following display options:
    ·        MiniALV for creating MiniApps in the SAP Workplace
    ·        MidiALV without selection options
    ·        MidiALV with selection options
    Both the MiniALV and the MidiALV allow you to switch between various selection/layout variants. The publishing screen for the data is adjusted individually using URL parameters.
    The following prerequisites are necessary for security reasons:
    Releasing the query for the Web
    Specifying an authorization group for the corresponding Classic InfoSet
    Call up transaction RSQ02 InfoSet: Entry, and choose Go to ® Additional Functions ® Web Administration of Queries. Make the corresponding entries.
    Reward all helpfull answers
    Regards
    Pavan

  • SQ02 InfoSet creation how do I see the data ?

    Hello gurus,
    I have created an InfoSet in SQ02 that I need for BW. How do I see the data from this InfoSet in R/3?
    Thanks,
    Ramona

    Hi,
    To see data from the infoset in the tables create SAP query  from SQ01.
    Thanks,
    Vengal Rao.

  • SQ02 Infoset returns different results in SQ01 Query vs. Segment Builder TG

    I want to get Segment Builder to use the same InfoSet and return the same results so, that I can then make a Target Group...but, I'm sure I'm missing some step along the way.
    My SQ01 query returns 79 contact persons, but my segment builder only finds 42, none of which appear to actually be the Contact Person, but are in fact the Business Partner the Contact Person has a Relationship to.
    I started by copying the CRM_MKTTG_BP_ADDR InfoSet and added the BUT051 table to it, which is when the SQ01 began returning the needed results.
    I suspect the problem may be in the Master Group where I am using the B2B/B2C Program, but I don't know if that's the answer or not.  I am not declaring an FM as I am using the BP-GUID in the data source, so I don't 'think' that's the issue...
    Here's what I'm currently trying as my Data Source settings in case that will help:
    Origin Type              03 InfoSet                                                              
    RFC dest.                                                                               
    Name of InfoSet          ZCRM_MKTTG_BP_ADDR                                                      
    Business Partner         BUT000-PARTNER_GUID                                                     
    Function Module                                                                               
    Sampling InfoSet         ZCRM_MKTTG_BP_ADDR_SMP                                                  
    Sample                   BUT000-PARTNER_GUID                                                     
    Object                                                                               
    Partner Function                                                                               
    Description              Z BP Address                                                            
    I already read every Segment Builder forum thread and the Sap Library on the subject, but either I missed something or there is a step not listed.
    Anyone have any suggestions?

    Solved!!
    I was wrongly using AND/OR options to add filters in the segmentation tool...ups!

  • Code at Infoset SQ02 - Start of Selection - not working

    I have a code at SQ02 infoset START-OF-SELECTION:
    select bukrs
      into table i_bukrs
      from t001
      where bukrs in ('SP$00007').
    if sy-subrc = 0.
    endif.
    where SP$00007 is a select-option at the query selection screen.
    This coding is not working. It is always returning sy-subrc 4. How do I acces a select option form the query start of selection?
    Where I am doing wrong? I have got the 'SP$00007' from the generated code of query.
    If I try like this it gives me a syntax error:
    where bukrs in SP$00007.
    Any idea what I am doing wrong?

    The Solution:
    DATA cond_syntax TYPE string.
    CONCATENATE 'BUKRS' 'IN SP$00007'
                INTO cond_syntax SEPARATED BY space.
    SELECT bukrs
      INTO TABLE i_bukrs
      FROM t001
      WHERE (cond_syntax).
    IF sy-subrc = 0.
      LOOP AT i_bukrs INTO wa_bukrs.
        AUTHORITY-CHECK OBJECT 'J_B_BUKRS'
                 ID 'BUKRS' FIELD wa_bukrs-bukrs.
        IF sy-subrc <> 0.
          MESSAGE s000(z_zzz_ca_messages)
          WITH
          'You do not have authorization to view Company Code '
           wa_bukrs-bukrs
           ' data.'.
          LEAVE LIST-PROCESSING.
        ENDIF.
      ENDLOOP.
    ENDIF.
    If there is a better way please let me know?

  • Download Query SQ01/SQ02

    Hi Experts!!!
    I would like to know if there's a way of downloading or exporting / uploading or importing a query made in SQ01. I need to replicate it in another system.
    Thanks in advance!

    hiii
    for downloading and uploading abap query follow stepps given below
    DOWNLOAD ABAP QUERY
    1. Go to SQ02 .
    Select Environment -> Query Areas..
    Select Standard Area (Client specific)
    (If Query does not exist in Standard Area then You will have to copy that Query From Global Area to Standard Area.)
    For Coping Query From Global To standard first select that query from list.
    2)Now select Environment-> Transports
    3)In next screen select Copy Global to standard radio button.
    Check Overwriting allowed (only with import/upload/copy)
    Remove Check for Test Run
    Select Transport InfoSets and queries radio button
    Fill Infoset and Query with corresponding names.
    4)Now Press Execute button.Copy Log will be displayed.
    Now Query exist in Global & Standard Area.
    5) Go to SQ02 .
    Select Environment -> Query Areas..
    Select Standard Area (Client specific)
    Select Infoset from list.
    6) Select Environment -> Transports
    7)Select Download radio button
    Check Overwriting allowed (only with import/upload/copy)
    Remove Check for Test Run
    Select Transport InfoSets and queries radio button
    Fill Infoset and Query with corresponding names.
    8) Click on Execute button
    Now It will ask you to save file.save it.
    Now Open another system where you want to make copy of that infoset.
    UPLOAD ABAP QUERY
    1. Go to SQ02 .
    Select Environment -> Query Areas
    Select Standard Area (Client specific)
    2. Select Environment -> Transports
    3)Select Upload radio button
    Check Overwriting allowed (only with import/upload/copy)
    Remove Check for Test Run
    Select Transport InfoSets and queries radio button
    Fill Infoset and Query with corresponding names.
    4) Click on Execute button.
    It will ask you for the place for uploading file.
    Select that place (from where you downloaded file).
    Now infoset & query is uploaded.Log will be displayed.
    5)Go to SQ02
      Select Environment -> Query Areas
      Select Standard Area (Client specific)
      SQ02 -> Infoset -> Generate.
      Enter Yes.
    6)Go to SQ01
    Select Environment -> Query Areas
    Select Standard Area (Client specific)
    Enter your Query Name.
    7)Click on Execute button
    regards
    twinkal

  • Table links in SQ02

    Hello,
    I´m trying to create a query through Tcodes SQ01, SQ02, SQ03, and when I get to SQ02 - Infoset, and it comes to the join tables section, I try to link the KNA1 and ADR6 tables (basically I want a list of customers with their proper email address). Although the fields that the system suggests me to link are ADR6-DATE_FROM and KNA1-ERDAT, when I really want to link ADR6-ADDRNUMBER and KNA1-ADRNR. In SQVI the link between the tables occur this way.
    My doubt is: is that anyway that I can change the fields that I want to be linked to each other?
    Regards.

    Dear grindcardoso
    Yes you can.  In SQVI after giving the tables KNA1 & ADR6, by default, system will join some fields with an arrow.  Place your mouse on the arrow (one thin line) and right click your mouse so that you will have the option to delete the link.  Click your mouse and delete the link.  Now place your mouse on the required field in KNA1 and drag your mouse to another field in ADR6.  Now you can see the field will be linked.
    thanks
    G. Lakshmipathi
    ps:-  thanks to a friend in this forum from whom I have learned recently

  • Urgent: How to modfy the Report program Corresponding to a Infoset

    Hi Friends,
    I have done an infoset. I have used TCURR table for Query. I saw the Standard program of that Query having select statement like Select single * from Tcurr where Gdatum = RDD.
    Where RDD is the value having Statndard date where Gdatum is Converted Date format using some conversion routine ...So the select statement is failing in
    the standard program  AQ50MPL=========COS_EE========.
    When i tried to add an conversion routine before the select statement to convert the date to that Specific statement...When i tried to go to Change mode i got an error message like
    "Standard SAP Program Status is not modifiable" can i change the Standard program which is not asking for Access key for change..
    PLease help me how to change the standard program or How to make a copy of standard program into a Z program and how to call that z program instead of that standard program..
    Please help me..

    hi Gokul,
    It's not possible to edit the standard AQ programs that you create using Infosets rather these AQ programs are generated when you generate the Infoset and the Query.
    Secondly there's a point to be taken care of when we work on Queries and Infosets. There are two areas of Queries and Infosets namely, Global Area and Client-specific area. At this point, it's better to rush up with the jargons as you're running out of time. All you need to do is follow the steps below:
    1) Goto SQ02 *infoset* -> *give in your infoset name*change
    2) Goto EXTRAS tab or Press F5.
    3) Goto CODE tab
    4)from the drop-down  CODING SECTION *you can choose from the list wherein you need to place your code or change the existing code by traversing the list*
    5) Generate the code.
    6) Repeat steps 1-5 for Client-specific area as well *choose Environment ->Query Areas -> Client-specific* to change the code there.
    7) Generate the corresponding Query(SQ01) in a similar fashion *Global Area and Client-specific area as mentioned in step 6*
    Reward points if your requirement is met!!
    Thanks,
    Vaishnavi

  • How to view saved infosets

    hi,
    i hav created a query in SQ01 and its executing all my requriments
    but saved in infosetxxxxxxxxxxxxxxxx17
    how to execute the infoset which is saved
    regards,
    balaji.t

    Hi:
    To view infosets, go to SQ02 - InfoSets.Normally you do not
    execute the infoset which is saved, but you create a query after infoset is completed.
    Complete the SQ01 - Queries and execute the report.
    Please let me knwo if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

  • Query Tool InfoSet: Record processing code

    Hello Gurus,
    I've inserted some code into an SQ02 infoset that detects a duplicate record.
    Once it's detected I want the record to be skipped so that a unique list appears on the output.
    Normal "Continue" and "Exit" commands don't seem to handle the problem.
    How can I do that inside the InfoSet?

    Thanks Naimesh
    Obviously, you had the same problem I do
    Unfortunately, my boss wants the ALV output grid to just come up with the right data.
    He says the data is supposed to be the response to a CRM request sent by an RFC function module. I'm not fluent with CRM, so I'm at a disadvantage as to how that works.
    I offered to provide a table for them in the "end-of-selection" area. That was easy to do. But, they rejected that ... arrrgh.
    I'll keep trying. But, I'm still stumped for now.

Maybe you are looking for

  • Safari Quit Unexpectedly due to Plug In

    Help I'm losing my gosh darn mind! Just started the past week Can watch movies and shows and stuff but pops up and tonight I went to listen to something on soundcloud.com and it won't let me play Process:         WebKitPluginHost [222] Path:         

  • ITunes freezes up upon opening

    MY recently downloaded iTunes 9 keeps freezing up as I open it. Sometimes, I'm able to click into iTunes Store or one of my Music playlists or other tabs, but then it freezes right away after that. Today, I tried upgrading to iTunes 9.0.1 through App

  • How to schedule a Stored procedure to run every hour in SQL server express

    Hi, I am using SQL server express and I want to schedule a Stored procedure to run every hour. The Stored Procedure name is UpdateData. Can someone please give an example of how i can schedule this to run every hour, given that I do not have SQL Serv

  • Mime Attachment in SOA

    Hi, I'm passing some binary MIME attachment to OSB Proxy service. OSB proxy service is able to pick attachment & converting to binary to text through Messaging service. Now I want to pass this attachment to BPEL , which will write at some location...

  • How do you retrieve deleted texted messages on iphone 4s?

    I deleted the wrong text message and I'm trying to get it back. Whenever I am in the search mode and type in a certain letter, I can see the partial text. So I know that the message is still in my phone's memory bank. Can anyone Please help me get th