cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Query

Former Member
0 Kudos

I am looking good documentation on SAP Query (SQ01,SQ02 Transaction)

Thanks

Ed

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Refer below Links :

Thanks

Seshu

Answers (3)

Answers (3)

Former Member
0 Kudos

The SAP Query is used to create reports not already contained in the default. It has been designed for users with little or no knowledge of the SAP programming language ABAP. It offers users a broad range of ways to define reports and create different types of reports such as basic lists, statistics, and ranked lists

Also check this link

http://goldenink.com/abap/sap_query.html

http://goldenink.com/abap/sap_query.html

Regards,

Rajesh Banka

Reward suitable points.

Former Member
0 Kudos

Hi,

1. First create a User Group T-Code SQ03 - Enter the relevent name in User Group field and click on Create button, Enter the Description of the User Group in Pop-Up window and save. During saving the system ask for object, save as local object, if you dont want to create a transport request.

2. Now use T-Code SQ02 to create infoset, Enter the relevent infoset name in InfoSet field and press Create button. One Pop-Up window appear, just enter the name description of the infoset in Name field, check the "Table join using basis table" and enter the table name you want to join. Example VBAK. Now another screen appear with VBAK table. If you want to join another table, click on inseart table button, enter the another table in Table field, Example VBEP. Now save and go back, you can see the both table name in left side, expand it. Now whatever field you want in your querry, just drag it and put it in the right side directory written as 01 sales document header data or 02 sales document Schedule Line data. Last you assign the Use Group to this infoset, click on Role/User Group Assignment button search for your user group you created in first step and mark it flag (tick). save and go back.

3. Again go to T-Code SQ03 and created User Group and click on Assign users and InfoSets.another screen will appear, here if you want to restrict the user, then just enter the SAP login name. If you keep it blank then querries is open for all SAP users. Save it.

4. Now enter the T-Code SQ01, select the Query or InfoSet from list you created and click on Infoset Query, another window appear, here you can see the tables and fields you selected earler. Mark the Selection field as user have to enter in selection screen and Mark the Output field user would like to see the Output on screen. Now you save and execute the Querry, enter the relevent data in selection screen and again click on execute button.

For document send me your ID. If you need any supprot, feel free to contact me.

Thanks,

AKT

Former Member
0 Kudos

Hi Ed,

Check this link in pdf format which has briefly explained about ABAP Query

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40bec8da-4cd8-2910-27a9-81f5ce10...

Thanks,

Vinay