How to Create Query in SQ01

Dear All,
I want to create standard query for personal Administration in sq01. My wants to get the report on employees joining date and leaving date and etc. Can anyone explain step by step process for this.
Thanks in advance
Regards
Suresh

go thro this
http://www.insightcp.com/res_15.htm
http://www.ams.utoronto.ca/Assets/output/assets/adhoc_2990830.pdf.pdf
http://www.olemiss.edu/projects/sap/SQ01_10_03.pdf

Similar Messages

  • How to create Query (Sq01) fro service contract

    hi,
    How to create Query for Service contracts , where i need to take a report for sub line items of that particular Service contract.
    Ex: we maintain short text - services in the initial screen ,
           in the next screen we maintain the sub line items for that short text (Activity numbers).
    Please guide me on this.
    Regards,

    Hi Sowmya,
    1 Create User Group (SQ03)
    Specify the users who should be authorized to run the query.
    2.
    Create Infoset (SQ02)
    Indicates from which part of the SAP database the data is going to be retrieved and how the data is to be retrieved by the query.
    3.
    Create Queries (SQ01)
    Create the query and arrange the layout
    for joining the two tables there should be common field should be available in both the tables then only we can able to join the table and run the query
    or use this below link
    http://www.sap-img.com/abap/step-for-using-query-sq01-sq02-sq03.htm
    Regards,
    Pramod

  • How to create query

    Hi expert,
    can you please guide me how to create query.
    actually my requirment i want one report
    1. billing document number
    2. billing date
    3. sales org.
    4. profit center
    here there two table vbrk and vbrp  is reqiured to met the requirment. how two table can link
    thanks  and reguards
    shashi

    Hi,
    you can join table in  ABAP quires
    Go to SQ03
    Create user group and then do user group assignment
    Then go to SQ02
    Put Info set query name and click on create then tick-mark to LOGICAL DATABASE and put logical database as VFV and enter
    Then select table VBRK & VBRP  and enter
    Then at right side screen you will see two groups billing document heder and item  and same you will see at left side
    Expand the left side  billing document heder and item
    Then DRAGE the field from left billing header filed and put in to right side billing header group
    Do same for fields which you want and then last click on GENERATE icon and then save
    Then on SQ02 screen slect generated infoset and click on role/user assignment and assign user which created in sq01
    Then go to SQ01 and click on infoset query and execute
    Kapil

  • How do create query in SAP?

    Dear Expert
    How do create query report in SAP?
    thanks for advance

    hi
    this is to inform you that,
    please follow the links:
    http://wiki.sdn.sap.com/wiki/display/ERPFI/abap+query
    http://wiki.sdn.sap.com/wiki/display/sandbox/ABAP+queries
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10676c?quicklink=index&overridelayout=true
    hope this clears your issue
    balajia

  • How to create Query as a web service in  Business Objcets

    Hi Friends,
    Can any one please guide me ' How to create Query as a web service in Business Objects'.
    Thanks in advance.
    Thanks & Regards,
    Ramnaresh.P.

    Hi,
    which version of BOBJ are you using?
    Regards
    Stratos

  • Create query in SQ01

    Hello Abap Experts,
    What are the steps to create and execute query in SQ01. I have to create a query for a selected fields on top of vbak, vbap, vbrk, vbrp tables.
    Any suggestions suggestions / pointers / links are highly appreciated.
    Thanks,
    BWer

    First you need to create the infoset which will tie your tables together. Use SQ02 to do this.   Then in SQ01, when you create your query, you specify the infoset that you want to use.  Then its just a matter of pulling in the fields that you want in the output list and setting the selection fields.  Check out SQ02 to create your infoset, then use SQ03 to assign it to a user group.
    Regards,
    Rich Heilman

  • How to create query in SQVI

    hi gurus
    i want to make use of two tables and create query. how should i create one.
    I am using tables j_1ipart2 and ekbe and i want to link fields refdoc of  j_1ipart2 and belnr of ekbe. but i am not able to do
    regards
    Edited by: keetu on Apr 2, 2008 1:17 PM

    Hi,
    Basically you are creating a SAP Query for no of tables, please find the steps below.
    1.Give quickview name XXXX and then select create tab.
    2.Give Title and data source "table join"
    3.Select either basis mode or layout mode(this is option how you do want the report basically)
    4.Select insert table and give table name"BKPF" and select insert table once again and give the other table name like"MKPF"(Just example)
    5.If you want to map reference the fields keep the curser on fields in fifferent tables and select reference fields.
    6.Then go back and select the fields from doc headers from accounting and material and save, now your query is ready and you can execute so that you will be able to get the fields from both tables.
    Hope understood and assign the points if you are cleared..
    Thanks,
    Vasu..

  • How I create query from infoset ???

    Case 1 : I cannot create query from infoset
    Case 2 : I cannot create query from multiprovider that is created from infoset
    When I create multiprovider from infoset , I open query designer from this multiprovider... I received error message from query designer as below...
    File name : bextrace_qd_25510925_0556.txt
    Application error:
    17:56:02.171: Info: Query Designer Start. Revision: 601
    QueryDesigner.UserSettings.LoadSettings: Could not find file 'BExQueryDesigner.xml'.
    17:56:11.15: DEBUG ASSERT ### False - QDbCommandManager::.ctor - Method not called from CommandManager
    -CALLING-FROM- 17:56:11.15: DEBUG ASSERT ### False - QDbCommandManager::.ctor - Method not called from CommandManager ---
       at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
       at com.sap.bi.et.common.appl.Log.Debug.Assert(Boolean iExpectedCondition, String iAdditionalInformation, String iDetailedMessage)
       at com.sap.bi.et.QueryDesigner.QDfForm.InitFromCommandManager(QDbCommandManager iCommandManager)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager..ctor(QDbApplicationData iApplicationData, QDfForm iWindow)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Init()
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
    QDbApplicationData::ApplyUserSettings  - Standard View
    QDbCommandManager::DoViewCommand  - Table View
    QDbCommandManager::DoViewCommand  - Rows/Columns
    QDbCommandManager::DoViewCommand  - Cells
    QDbCommandManager::DoViewCommand  - Conditions
    QDbCommandManager::DoViewCommand  - Exceptions
    QDbCommandManager::DoViewCommand  - InfoProvider
    QDbCommandManager::DoViewCommand  - Filter
    QDbCommandManager::DoViewCommand  - Documents
    QDbCommandManager::DoViewCommand  - Where-Used List
    QDbCommandManager::CommandExecute  - Properties
    QDbCommandManager::DoViewCommand  - Properties
    QDbCommandManager::DoViewCommand  - Messages
    QDdEventDispatcher::MenuItemClickedHandler - Bar clicked: NewQuery
    QDbCommandManager::CommandExecute  - New...
    QDdEventDispatcher::MenuItemClickedHandler - Bar clicked: OpenQuery
    QDbCommandManager::CommandExecute  - Open...
    -EXCEPTION-START- 18:03:12.671: TRACE EXCEPTION  ---
    Exception Name: NullReferenceException
    Exception Message: Object reference not set to an instance of an object.
    Exception    at com.sap.bi.et.QueryDesigner.QDmCharacteristic.LoadValues()
       at com.sap.bi.et.QueryDesigner.QDbCharacteristic.GetValues(Boolean iReload)
       at com.sap.bi.et.QueryDesigner.QDmMetaBase.GetValues(Boolean iReload)
       at com.sap.bi.et.QueryDesigner.QDmCharacteristic.get_ValuesNonTechnical(QDeInfoObjectFilter iFilter)
       at com.sap.bi.et.QueryDesigner.QDpCharacteristicReference.ValueInitial()
       at com.sap.bi.et.QueryDesigner.QDpCharacteristicReference.set_pValue(Object value)
       at com.sap.bi.et.QueryDesigner.QDpString.set_Value(String Value)
       at com.sap.bi.et.QueryDesigner.QDbVariable.FromTable(RSZ_X_VAR isVar, QDcElement iElements)
       at com.sap.bi.et.QueryDesigner.QDbElement.FromTables(Hashtable iTables, QDcElement iElements)
       at com.sap.bi.et.QueryDesigner.QDbElement.CreateElements(Hashtable iTables, QDcElement iElements)
       at com.sap.bi.et.QueryDesigner.QDbElement.Load(QDeElementType iElementType, String iName, String iCompUid, String iGenUniId)
       at com.sap.bi.et.QueryDesigner.QDbQuery.Load(String iName, String iCompUid, String iGenUniId)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.LoadQuery()
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.LoadFromServer()
       at com.sap.bi.et.QueryDesigner.QDbCommandOpenQuery.ExecuteCommand()
       at com.sap.bi.et.QueryDesigner.QDbCommandBase.Execute()
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.CommandExecute(QDbCommandBase iCommand)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.InitialCommandExecute(QDbCommandBase iCommand)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.DoExecuteCommandInternal()
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.ItemClickedHandler(Object sender, BarItemClickedEventArgs args)
       at com.sap.bi.et.QueryDesigner.QDdEventDispatcher.MenuItemClickedHandler(Object iSender, BarItemClickedEventArgs iE)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.OnItemClicked(BarItemClickedEventArgs args)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs args)
       at com.sap.bi.et.QueryDesigner.QDiBarItem.OnItemClicked(EventArgs args)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarRenderer.OnMouseUp(MouseEventArgs e)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Full Stack:   at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
       at com.sap.bi.et.common.appl.Log.Trace.Exception(Exception ex, String iAdditionalInformation)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
    -EXCEPTION-END----
    -CALLING-FROM- 18:03:12.671: TRACE EXCEPTION  ---
       at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
       at com.sap.bi.et.common.appl.Log.Trace.Exception(Exception ex, String iAdditionalInformation)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
    Please kindly help me !!

    Hi,
    check the links to create  Infosets
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d6419190-0201-0010-0cb0-d7e4503c1231
    http://help.sap.com/saphelp_nw04s/helpdata/EN/ab/7a877cba29144b85d07f26f1f50cd8/content.htm
    Thanks.

  • PL/SLQ - How to create query with horizontal running totals

    Hi:
    I'm trying to create a report in the following format
    Year Name Reg1 Reg2 Reg3
    2001 Al 3 4 5
    2001 Le 4 1 1
    2001 7 5 6
    2002 Sue 2 4 1
    2002 Al 1 3 6
    2002 Jim 6 1 3
    2002 16 15 16
    2003 Jim 4 -3 2
    2003 Le -2 4 5
    2003 20 16 23
    Note that the totals are accumulating horizontally, broken on year. How do I do that, please? Thanks very much!
    Al

    Hi, Al,
    Welcome to the forum!
    978108 wrote:
    Hi:
    I'm trying to create a report in the following format
    Year Name Reg1 Reg2 Reg3
    2001 Al 3 4 5
    2001 Le 4 1 1
    2001 7 5 6
    2002 Sue 2 4 1
    2002 Al 1 3 6
    2002 Jim 6 1 3
    2002 16 15 16
    2003 Jim 4 -3 2
    2003 Le -2 4 5
    2003 20 16 23 You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text (such as query results) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    If you do that, your desired output will be much more readable:Year Name Reg1 Reg2 Reg3
    2001 Al 3 4 5
    2001 Le 4 1 1
    2001 7 5 6
    2002 Sue 2 4 1
    2002 Al 1 3 6
    2002 Jim 6 1 3
    2002 16 15 16
    2003 Jim 4 -3 2
    2003 Le -2 4 5
    2003 20 16 23
    Note that the totals are accumulating horizontally, broken on year. How do I do that, please? Thanks very much!
    AlHere's one way to do that:WITH     yearly_summary     AS
         SELECT     year
         ,     SUM (SUM (reg1)) OVER (ORDER BY year)     AS reg1
         ,     SUM (SUM (reg2)) OVER (ORDER BY year)     AS reg2
         ,     SUM (SUM (reg3)) OVER (ORDER BY year)     AS reg3
         FROM     table_x
         GROUP BY year
    SELECT     year, name, reg1, reg2, reg3
    FROM     table_x
    UNION
    SELECT     year, NULL, reg1, reg2, reg3
    FROM     yearly_summary
    ORDER BY year, name
    Edited by: Frank Kulash on Dec 20, 2012 3:04 PM
    Corrected query.
    Whenever you have a problem, please post CREATE TABLE and INSERT statements for your sample data.  For example:CREATE TABLE     table_x
    ( year     NUMBER
    , name     VARCHAR2 (10)
    , reg1     NUMBER
    , reg2     NUMBER
    , reg3     NUMBER
    INSERT INTO table_x (year, name, reg1, reg2, reg3) VALUES (2001, 'Al', 3, 4, 5);
    INSERT INTO table_x (year, name, reg1, reg2, reg3) VALUES (2001, 'Le', 4, 1, 1);
    INSERT INTO table_x (year, name, reg1, reg2, reg3) VALUES (2002, 'Sue', 2, 4, 1);
    INSERT INTO table_x (year, name, reg1, reg2, reg3) VALUES (2002, 'Al', 1, 3, 6);
    INSERT INTO table_x (year, name, reg1, reg2, reg3) VALUES (2002, 'Jim', 6, 1, 3);
    INSERT INTO table_x (year, name, reg1, reg2, reg3) VALUES (2003, 'Jim', 4,-3, 2);
    INSERT INTO table_x (year, name, reg1, reg2, reg3) VALUES (2003, 'Le', -2, 4, 5);
    Also, say which version of Oracle you're using.  In this case, it may not matter.  The query above will work in Oracle 9.1 and higher.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • LOV Select List How to create query with begin & End in LOV

    Dear All,
    i am using Apex 3.2 ver
    i want to use below code in LOV select list
    BEGIN
    IF  UPPER(:P23_SERVICE_TYPE) like 'GUIDE%' THEN
    SELECT NAME D, CODE R FROM SPECIAL_SERV_MAS
    WHERE NVL(ACTIVE_FLG,'N') = 'Y'
    AND NVL(GUIDE_FLAG,'N') = 'Y'
    and CITY_CODE LIKE NVL (:P23_CITY_CODE, '%')
    ORDER BY 2
    ELSIF
    UPPER(:P23_SERVICE_TYPE) LIKE 'ACCOM%' THEN
    SELECT   NAME D, CODE R
        FROM   HOTEL_MAS
       WHERE   NVL (ACTIVE_FLG, 'N') = 'Y'
               AND CITY_CODE LIKE NVL(:P23_CITY_CODE,'%')
    ORDER BY   PRIORITY
    END IF;
    END;When i put this code in my LOV Select list Section then display me Error
    Not Found
    The requested URL /pls/apex/f was not found on this server.
    Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at tidevserv1 Port 7777
    How to Resolve it.

    Hi Vedant,
    you dont need to use begin ...end block
    Try the Below code
    IF  UPPER(:P23_SERVICE_TYPE) like 'GUIDE%' THEN
    RETURN
    'SELECT NAME D, CODE R FROM SPECIAL_SERV_MAS
    WHERE NVL(ACTIVE_FLG,''N'') = ''Y''
    AND NVL(GUIDE_FLAG,''N'') = ''Y''
    and CITY_CODE LIKE NVL (:P23_CITY_CODE, ''%'')
    ORDER BY 2' ;
    ELSIF  UPPER(:P23_SERVICE_TYPE) LIKE 'ACCOM%' THEN
    RETURN
    'SELECT   NAME D, CODE R
        FROM   HOTEL_MAS
       WHERE   NVL (ACTIVE_FLG, ''N'') = ''Y''
               AND CITY_CODE LIKE NVL(:P23_CITY_CODE,''%'')
    ORDER BY   PRIORITY' ;
    END IF;In this way you can create conditional LOVs ,
    Hope this will helps you.
    Regards,
    Jitendra

  • How to create 'Query Result Object' entity?

    Hi Gurus,
    I have come across a situation where i need to create an entity [not a value node] of object type 'Query Result Object', and set the values.
    Its possible to create an entity of type 'Root object', but was not able to find a way to create other object types.
    Please find below, the details of the query result object:
    Component: CRMAUI
    Object: AUIHANAQR
    Object type: Query Result
    Attribute Structure: CRMS_AUI_SRCH_RESULT_HANA
    The above entity is part of the collection which in turn is the result set of a dynamic query search. Due to a particular requirement, we need to add some more entries of the same object type in the result in the 'search event' itself.
    Please find below, the details of the corresponding dynamic query object:
    Object: AUIQueryHANA
    Object type: Dynamic Query
    Kindly let me know if you have come across such situation before and please share the solution if you have any.
    Your help will be much appreciated.
    Thanks and regards,
    Arun N  K.

    Hello,
    In fact there is not really entities for query result object, it's entries in the result table.
    So you need to modify the search to add more results, usually there are some badi to do so, or maybe you can extend the class used to perform the query in order to add some results.
    Regards,
    Benoît

  • How to create query for tables with many to many relationship

    in my sql i'm unable to update the table using select clause...is there any way to update a table which is in many to many relationship.
    Ex:1st table student(student_id int primary key auto_increment, student_name varchar(30));
    2nd table contact (contact_id int primary key auto_increment, c_email varchar(40));
    3rd table student_contact(student_id int references student, contact_id int references contact);
    i would like to auto insert the both two columns in the student_contact while the student and the contact table being updated automatically.

    This is a JSP/JSTL forum, not a SQL forum. If you're using MySQL, better use their own forums at dev.mysql.com.
    I'll give some hints anyway: learn about SQL JOIN. In general there is good SQL documentation available at the website of the RDBMS manfacturer. Go check it out. There is also a nice SQL tutorial at w3schools.com. Good luck.

  • How to Create a Functiona Query

    Dear all,
    Could any body detail me how to create a functional query. Please give me step by step procedure to create a query.
    I would appreciate if you can give me a material with screen shots. Your help will be highly appreciated.
    Thank you
    Raghu Ram

    Hi Raghu,
               Go through this document it may help you,
    SAP Query
    Step 1: Create User Group – SQ03
    Follow the menu path – SAP Menu > Tools > ABAP Workbench > Utilities > SAP Query > User Groups
    a) In the User Group: Initial Screen -
    Enter User Group Code (self named)
    Click on “Create”
    b) In the User Group (Code): Create or Change pop-up window -
    Enter the User Group Description
    Click on “Save”
    c) In the Create Object Directory Entry pop-up window -
    Ö Click on “Local Object” button
    Ö The User Group Created is saved
    Step 2: Create User Group – SQ02
    Follow the menu path – SAP Menu > Tools > ABAP Workbench > Utilities > SAP Query > Infosets
    a) In the Infoset: Initial screen -
    Ö Enter Infoset Code (self named)
    Ö Click on “Create” button
    b) In the Infoset: Title & Database Screen -
    Ö Enter Description of Infoset in the “Name” field
    Ö In the Data Source selection: Select appropriate Data Source by clicking
    the radio button
    · Source the data can either be multiple tables OR single table. There are 4
    options for the user to select from
    Ö Click on “Continue” (Enter)
    Ö Selected Table gets displayed in the Infoset : Initial Screen
    c) In the Infoset: Initial Screen -
    Ö Click on “Insert Table” button
    d) In the Add Table Screen -
    Ö Enter the Table Name that is to be inserted
    Ö Click “Continue” (Enter)
    e) In the Infoset: Initial Screen -
    Ö Click on “Back” button
    f) In the Field Group Defaults pop-up Screen -
    Ö Select Appropriate Field Group Option by clicking on the radio button
    · there are 3 options to select from. User can select Empty Field Group
    option and then select the data fields in the steps explained further.
    Alternatively, User can select an option which clubs all the data fields
    From all the tables selected
    Ö Click “Continue” (Enter)
    g) In the Change Infoset Screen -
    · the left side lists the Tables that the user has selected in step b, c & d
    · In the right side, system creates field groups, one for each table listed in the
    left part. Initially, the Field Groups are empty
    Ö In the Left Side, Click on the arror next to the table name and expand and
    display all the data fields in the table
    Ö Select a Data Field from the expanded Table view, which is to be added to
    the Field Group on the right.
    Ö Select a Field Group on the right side, in which Data Field selected above
    has to be added
    Ö Right click on the Data Field selected and click on “Add Field to Field Group”
    Ö The selected Data Field gets added to the selected Field Group, which is
    indicated by an arrow next to the Field Group.
    Ö Carry out the steps above to add the required Data Fields to the respective
    Field Groups
    Ö After transferring Data Fields to Field Groups click on “Generate” button
    h) In the Create Object Directory Entry Screen -
    Ö Click on “Logical Object” button to generate the infoset
    i) In the Change Infoset Screen -
    Ö Click on the “Back” button
    j) User is taken back to the “Infoset: Initial Screen” which displays the
    created Infoset record.
    Step 3: Assigning User Group to Infoset – SQ03
    Follow the menu path – SAP Menu > Tools > ABAP Workbench > Utilities > SAP Query > User Groups
    a) In the User Groups: Initial screen -
    Ö Enter the User Group for which Infoset is to be assigned
    Ö Click on “Assign Users & Infosets” button
    b) In the User Group: Assign Users Screen -
    Ö Click on “Assign Infosets” button
    c) In the next screen, select the Infoset, which needs to be attached to the
    User Group selected
    d) Click on the “Back” button
    Step 4: Creating Query – SQ00 & SQ01
    Follow the menu path – SAP Menu > Tools > ABAP Workbench > Utilities > SAP Query > Queries
    a) In the “Query from User Group: Initial Screen -
    Ö Click on “Other User Groups” button
    Ö In the pop-up screen, User Groups, select the User Group for which the
    Query has to created. The pop-up screen closes.
    Ö Enter the Query Code in the “Query” field
    Ö Click on “Create” button
    b) A pop-up screen “Restrict Value Range” shows the list of Infosets assigned to
    the User Group
    Ö Select the Infoset for which Query has to be created
    c) In the new screen Create Query: Title, Format -
    Ö Enter the Description of the Query in the “Title” field
    Ö Click on the “Next Screen” button
    d) In the Select Field Group” screen
    Ö Select the Field Groups from which Data Fields have to be selected for the
    Output
    Ö Click on the “Next Screen” button
    e) In the “Select Field” screen -
    Ö Select the Data Fields, which should appear in the output
    Ö Click on the “Next Screen” button
    f) In the Screen “Selection” -
    Ö Select the Data Fields for the selection criteria
    Ö Enter the sequence in which the selected fields would appear in the input
    screen of the query.
    Ö Define if the selection criteria should be Single Value or Multiple Value Range
    by clicking in the appropriate check boxes
    Ö Click on the “Basic List’ button
    g) In the screen “Query Layout Design” -
    Ö Select the Output Fields from the Data Fields section by clicking the
    appropriate check box
    Ö Change the sequence of Data Field columns if required
    Ö Click on the “Test” button to test the query created
    h) On the “Test Query” screen click “Continue”
    i) In the “Query” screen -
    Ö Enter the selection criteria
    Ö Click on “Execute” button
    j) Save the Query created
    Step 5: Running the Query – SQ00
    a) In the Query From User Group: Initial screen –
    b) Click on “Other User Groups” button to select the User Group
    c) In the pop-up screen “User Groups” select the User Group
    d) System lists all the queries created for the User Group
    e) Select the appropriate Query
    f) Click on “Execute” button
    g) User is taken to the Selection screen
    h) Enter the selection criteria and click on “Execute” button
    i) System runs the query and gives the output
    Regards,
    Murali.

  • How to create a query in 3.1i system?

    Hi,
    In transaction RSO2 in 3.1i system , we get two options -  Extraction from View and Extraction from Query.
    Could you please me How to create Query for Extraction?
    Is it by using SQ01? If so, could you please explain me the steps?
    Thanks in advance.
    Regards,
    Zehra

    Thanks for your help Frank.
    But when i display my query to be executed by the entityManager it is like that
    Select o from Trp_Sprojects o where o.project_id not in (2,1,4,5,12,14,15,16,17,18,20,6,7,8,9,10,11,13,22,19,3,26,21,23)
    Regards
    Lutchumaya

  • How to create a liveworkstation details in sccm 2007

    HI how to create query to find the live work station details for last 30 days?

    There are several example on my old blog site.
    http://smsug.ca/search/SearchResults.aspx?q=30+days
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

Maybe you are looking for

  • How to have the same iTunes library on a laptop and a desktop and be able to sync an iPod and iPhone to each one

    I currently have iTunes 10 build 10.6.1.7 on my Win 7 home premium 64 bit laptop.  I used this computer as my desktop for a few months until I rebuilt my old desktop.  Now I want to put iTunes on the new desktop Win 7 64 bit computer.  I have both an

  • Viewing modified photos in iPhoto

    Hello! So, I'm a new Mac user and one of the first things I did was to import some photos from my camera into iPhoto 08. I use Photoshop CS3 to make any modifications rather than iPhoto itself. Now that I've made several modifications, I notice that

  • Need to install a fresh copy of firefox

    after I uninstalled Kaspersky Internet Security webpages stopped loading. I'm getting Unable to connect message. This issue affected 3 out of 4 browsers that I use. All browsers work in safe mode, but Safari is the only one that works in normal mode.

  • Assign number ranges

    Hi i am having a problem in migo(Number range 49 missing) can anyone let me know how to fix it

  • Connecting to Crystal Report through Xcelsius

    Hi,       I have a report created in Crystal XIR2 and published in repositiory, trying to connect Xcelsius with the Crystal report i created. How to do this in Xcelsius? your help is greatly appreciated. Thanks Murthy