SQ01 source on R/3
Hi, there is a query on SQ01 on R/3 side. How can I see the source code(sql code) of that?
Thanks,
Radha
Hi Radha,
In SQ01, enter your query name, and in the menu Query - More functions - Display report name.
This will give you the name of the report. Then, go to se38 and check the source code.
Hope this helps.
Regards,
Diego.
Similar Messages
-
Sourcing latest doc for SQ01 in ECC6.0
Apparently, I've been informed that there are differences in the way SQ01 works in ECC6.0, although I have been unable to find a PDF doc that covers using SQ01 in ECC6.
Has anyone come across such a document?.
JasThanks much for the suggestions so far!
The problem is these errors are really somewhat intentional. I know what they are and why they are created and I have to have them created. In the past we would adjust the entry in the errors in session batch to make the desired postings in the ledger. Also another side effect of this is the next month will not process (obviously) because there are documents from the previous month not posted.
What we are doing is posting "dummy depreciations" on a couple hundred assets. The idea in the past was they allowed the system to calculate the depreciation from the asset master but then when it came time to actually post the dep they would change the entry by deleting the asset line and posting an offsetting entry to the same account as the dep. I know a little strange and I am not totally sure why this business decision was made, as it was some time ago and before my time.
Thx Again!
P. -
Hello All,
Can anybody expalin in brief regarding how to write a quiery using SQ01?
If possible can anybody send me the docs relating to this?
Thank you,
Regards,
Santosh Kumar VSantosh - I am also new to SQ01, however I have some suggestions that hopefully will be helpful to you. I recommend starting with the QuickViewer. You can access this from SQ01 or via SQVi directly.
From here you can create your own queries (similar to local objects) which can then be converted into InfoSets/Queries in which users can access.
1. Enter a name + Create
2. Give a description, decide if Data Source is a table (single) or a join (many)
3. I assume you are creating a join. When you select join it will take you into the tool to generate the query. The first step is selecting (and joining) your tables. Insert table (Shift +F1) will get you started here. Once all your data is selected you green arrow back to select/map out your selection criteria and the data in which you wish to list in the results.
4. You can execute from here as well to confirm your results
5. Once you are good to go, you can easily convert this query by going back to SQ01 (select SAP Query). Enter your QuickView query name and then in the menu path select Query --> ConvertQuickView. This will then prompt you through the steps to convert your QuickView Query into an SAP infoset/Query.
6. Once you have created the SAP Query you can then assign usergroups via menu path environment --> usergroups for authorization. This allows others to execute your query, however not create one themselves.
I hope this is helpful. Best of luck! -
What are the logical database source (SQVI) should i use for quick viewer
Dear expert,
Would like to seek for your help, how to use (SQVI) quick viewer/SAP query to generate the listing of and can I use SQVI -quick viewer and select the data source as logical database source to generate in order to generate the listing of GL account number,GL account descrition , tax category,posting without tax allowed column in the query by company?
Between, what are the data source should I use for logical database to generate the query with listing of GL account number,GL account descrition , tax category,posting without tax allowed column in the query by company?
Please help.
Many Thanks.
Regards,
KarenHi,
Thank you for the prompt reply, what I would like the query to generate is the master data GL listing for GL account,GL description,Tax category, posting without tax allowed column where i use BRF as the data source for logical database to generate the quick viewver but the BRF data source do not have the GL description.
How I can join table/join query or what are the data source should i use so that i can able to generate the query with GL master data listing by company code by display GL account,GL description,Tax category, posting without tax allowed?
Between,do you have any reference/link/document on the how to use the SQV1?
Also, what the difference between SQV1 and SQ01 ?
And also what are the sap query,inforset query,quick viewer mean for and what are the difference between them also when should i use sap query,inforset query,quick viewer to generate the query?
Please help.
Many thanks.
KH -
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! -
Is it at all possible to link SQ01/2/3 SAP Query to an external SQL source and table (MS SQL).
I have an external SQL2K database that i would like to be able to query from SAP without the requirement of complex ABAPing to create AD-Hoc reports/lookups.
Is it possible to create a link/RFC to the external SQL DB and then have the tables and Fields accesable by creating an Infoset, which i can then query. -
Authority Check in Queries (SQ01 / SQ02)
Hi Friends.
When I run a query (sq01 / sq02) , E.G. that contain the table MARC, the user can select all the plants, but he only must have access to plant "1000". In their roles / profiles, the basis only set authorisation to plant "1000".
I can resctrict the selection via abab code in the RECORD PROCESSING step of the INFOSET, but I want to know if exist a standar way to restrict this kind of authorisations in queries.
pls, any help will be nice!
thanks!
Edited by: ARTURO SENOSAIN on Jan 20, 2009 4:10 PMUse the logical database as the data source for the query:
" < ... > you should always use logical databases as the data source within InfoSets that are used for query-based reporting. Using a logical database as your data source guarantees that the SAP solution is smart enough to know which areas of the data a user is allowed to see so that only the appropriate data will show in an SAP query report. Regardless of what type of security access the person who created the report has, the system is smart enough to display only the appropriate data for the user executing the report. (Note that this is the case only when logical databases are used as the data source if a SAP query is created using an InfoSet that is based on anything other than a logical database (for example, a table, a table join, a program). It is fair to say that no security whatsoever is in place when the query is run because all records within the tables are displayed in the report output.)"
Edited by: Jelena Perfiljeva on Jan 20, 2009 5:15 PM
Edited by: Jelena Perfiljeva on Jan 20, 2009 5:15 PM -
Data extraction through generic data source
Hi sap-BI experts,
i created the infoset query by using these transactions
SQ01,
SQ02,
SQ03 and the tables used are EKKO,EKPO and MARA.
and when i wanted to extract data from generic data source through infoset query
i am getting an error like this
'' specified table doesnot exist".
can i get the answer
Thanks,
Kavitha.PHi,
Do u selecting your info set under extraction from SAP query (Tcode - RSO2)? Make sure your infoset query active & available for reporting.
Sangita -
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,
kaustubhfirst 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. -
Can anyone mail me the configuration steps for report using SQ01, SQ02, SQ03 and also moving the query to the production client.
maid id: [email protected]
Regards
BALAJEEDear Balaji
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
Thanks
G. Lakshmipathi -
SQ01 change generated program code?
Hello,
how can I change in the generated query program.
Is there a possibility in transaction SQ01? i can't change nothing in the program source in the transaction SE38.
ThanksHi!
You can enter additional ABAP source into a SQ01 made query in SQ01.
Or you can use the generated program (its name begins with AQ* in SE38 transaction).
Because query's performance is crap, you better write a new one, instead of reapiring it...
Regards
Tamá -
Hello Experts,
I have a report in SQo1 SQ01- GL_ACCT_DTL.
Can I transfer this report into SAP BW.
Thanks
SPhi
ofcourse you can do that. create a generic datasource using infoset and give your query name in and activate the data source. Post if you have any problems.
Sriram -
SQ01 and SQ02 transaction documentation
Hi All,
Is there any documentation on transactions SQ01 and SQ02 available any where so as to manipulate those two transactions effectively to get adhoc reports.
Thanks for any information.Hi,
SQ01 : is used to create Query form infoset you have created here you can select fields for selection screen and for list generation using check boxes.
you can generated different types of report using basic list, ranked list, statistics to output in graphical form.
SQ02 : is used to create infoset you need to tell the data source for your infoset like table join, direct read or data reterival using program, you can also put extras fields, structures and tables using extras button. and can code your own select query for that field or structure.
After generating the infoset you have to assign this to your usergroup you already created.
go through this link...
http://help.sap.com/saphelp_47x200/helpdata/en/bf/1d4645bf3211d296000000e82de14a/frameset.htm
Refer this thread
Re: sq01
-Shreya -
Error in Creation of BW data source
Hi All,
While creating a data source, i am selecting the Origin type Business ware house cube & in the RFC destination field i can able to select the BW syste. The problem is when i go to the next filed BW report and try to get the relevant BW report from F4 the system shows a log error as "System error in System" Message no. CRM_MKTTG_DS_MISC033.
In second case
I have taken an existing BW Data source and tried to recreate it manually filling all the fields with existing data source, RFC destination, BW report, Business partner and Function module.
In this case the system doesnu2019t throws any error, it is working fine if I create manually.
I am in a dilema why the system behaving like this. could you please throw some light on this issue.
Thanks in advance,
Vijay.Hi,
See the link.
http://help.sap.com/saphelp_crm50/helpdata/en/00/dc54384ac9a81be10000009b38f8cf/frameset.htm
regards
Srinu -
Unable to capture the Data Source into a Transport Request
Hi All,
We have a product hierarchy and we are using the data source :4R_PRODH_D_LGEN_HIER for the hierarchy.
Now we need to transport this structure to the quality environment but we were not able to capture the datasource:4R_PRODH_D_LGEN_HIER into a transport request.
When ever we activate the data source:4R_PRODH_D_LGEN_HIER it is asking for the Package and the Transport Request Number.If we give these details and save it, data source is not getting captured in the request, only the "bject Directory Entry" is getting captured.
Can someone please guide me on how to capture the datasource under "Data Sources in BW" in a transport request.
Regards,
Sachin Dehey.Hi Sachin,
Hierarachy datasource is not captured as Attributes and Text Datasource. So what ever you have done is correct.
What ever is captured in Object Directory Entry is correct. So go ahead with your transports, once transport is done check the Hierarchy Infopackage with Available OLTP hierarchies and load the data.
Most important thing first see that the all Master & Transactional Datasources are transported in R/3 Dev to QA to PRD
In BW, datasources are not transported, only their replica is transported.
Transportation of Datasource is done in R/3. Only their replica is transported in BW.
So wht ever you have done till now is correct. So go ahead.
While attaching Hierarchy Datasource it is captured only in "Object Directory Entry"
Regards,
Vishnu.
Maybe you are looking for
-
2011 Macbook pro upgrade to 16gb RAM -- 3 beeps on startup
My macbook pro is a 15" 2.2ghz quad i7 model purchased June of 2011. I read and researched everywhere and found that this model could support 16gb of RAM so I ordered this, Corsair 16GB Dual Channel DDR3 SODIMM. When I installed the ram and attempted
-
Firefox is not open, will not open, but when I try to update or uninstall it says I need to close Firefox first. This is a common problem, as I have seen many posts with the same problem. I don't know what else I can say about it, it is pretty straig
-
Audit Report Fix (Manual Journal Entries for Inventory)
Hello! Curious if anyone has been able to fix an inventory audit report using journal entries? For example: if an item was on inventory account 1500 based on it's item group assignment, then say 20 items are received for $1 each, then 5 are sold at
-
How to call the portlets in the unstructure User Interface template
Hi, I am creating unstructure user interface template in which i want to add the portlet so how can i do that.The portlet which i want to add is page portlet, dhtml menu portlet and webclipping. pls tell me how can i do that
-
DataGrid scrollToIndex problem
Hello When use dataGrid.scrollToIndex(dataGrid.selectedIndex); it scrolls, but if the selected is the last row, it displays not full How to fix to make it to display the whole last row?