How to create a global query view
Hi,
How to save a query view as global,if user A was to create a view 'V1' , user B should be able to see 'V1' in his list of query views.
Currently i have created views using bex Analyzer and using the save function in the query designer,but these views are local to the user and cannot be opened by other users.
In 3.5 we had an option to save view as global from Analyzer.We are on SP11
Thanks in Advance
Hi Kiran,
The reason i want to create a global view is to use it as a data provider in a web template, the problem is if i were to create a view the view being local to my id will not be seen by other users,so if the view needs to be edited in the future it would have to be done by me, if it was global any user can modify the view.
A view saved in bex portfolio is a bookmark and it as saved on the portal and cannot be opened through query designer.Any work arounds??
Thank You.
Karthik
Similar Messages
-
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 RamHi 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 EVENTS for a View Cluster.
Hi Tech Gurus,
I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
Thanks in advance for your esteemed replies.
Regards,
Raghavendra Goutham P.Hello Pasapula
When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
report zus_0120_u1.
* Common Data und access routines for user exits in VC maintenance
include LSVCMCOD.
include zus_0120_f1. "FORM routines for VC events
Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
Regards
Uwe -
How to create list of a View's column names and source
Using SQL 2005, 2008, and 2012
How to create list of a View's column names and source. For the following example would like to @Print something like the following. Does anyone already have some code to do this? I realize there are probably some gotchas, but the views that I am looking
at to use this follows the code snippet pattern below.
DBACCT.[Account Number]
dbo.ConvertDate(DBACDT). [Boarding Date]
DBXES.DBXES
CREATE VIEW [dbo].[v_ods_DBAL]
AS
SELECT DBACCT AS [Account Number], dbo.ConvertDate(DBACDT) AS [Boarding Date], DBXES
FROM dbo.ods_DBALThe column information can be obtained from INFORMATION_SCHEMA.COLUMNS view using logic like below
SELECT c.COLUMN_NAME,c.DATA_TYPE
FROM INFORMATION_SCHEMA.COLUMNS c
WHERE EXISTS (SELECT 1
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME = c.TABLE_NAME
AND TABLE_TYPE='VIEW')
http://technet.microsoft.com/en-us/library/ms188348.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to create variant for table/view ?
Hi,
When I go through SM30, I find a radio button called variant. I don't know the effect.
Can anyone tell me how to create variant for table / view ?
I want to know when we need to create variant for table/view.
Best regards,
Chris Guhi ,
Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
Procedure
To create a new variant:
1. On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
2. On the variant maintenance initial screen, enter the name of the variant to be created.
Note the naming convention for variants (see below).
3. Choose Create.
If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
4. If there is more than one selection screen, select the screens for which you want to create the variant
5. Choose Continue.
The (first) selection screen for the report appears.
If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
6. Enter the desired selection values, including multiple selection and dynamic selection.
7. Choose Continue. -
How to create a global variable in forms 6i
How to create a global variable in forms 6i
:GLOBAL.my_var := 15; Well, this statement is not correct! Global variables
stores a character string of up to 255 characters in
length. Thus, valid statement for Khurram example
is:
:GLOBAL.my_var := TO_CHAR(15);
or
:GLOBAL.my_var := '15';
But numeric values are implicitly converted by oracle so there's nothing in fact wrong with the statement...
:GLOBAL.my_var := 15;
;) -
How to create rtf template to view report in Word and Excel, with numeric f
Hi,
Please help me!
How to create rtf template to view report in Word and Excel, with numeric formatted fields (like this 999 999 999,99 with spaces between numbers) and then end user be able to process those fields with Excel tools (sum, etc).
Thank you.From what I have seen Excel can not handle 999 999 999.00. You can use 999999999.00 and then format it as you want in the xls bt you can not have values like 999 999 999.00 coming from publisher output and have functions on the values in Excel
Tim -
Hi,
its very simple question but i want the procdure for it.
how to creat variant in query &maintain?don't give URL's i try it already plzzz.any body have the steps regarding this topic..
plzzzzzzzz urgent ...
thanks,
goodyear..Hi,
If you're using the BEx Analyzer, you can create a variant at the variable selection screen. There is a button "save as variant" and you can also maintain existing variants.
Best regards.
LauQ -
How to create a left join view in se11??
I would like to create a view which contains KNA1,KONA,KNVV,KNVH(four tables) , I want to use this view to create a search help for Tcode 'VBO3'.
but when I join table KNVH, there is no data in view, because there is no customer hierarchy, so I want to create a left join view. could you please tell me how to create a left join view? Thank you very much.Hello,
yes, in general, maint. view and help view could be created as outer join view.
but it should obey relationship.
my fourt tables:
KONA -
> I want to get agreement number and type from this table
KNA1 -
>I want to get customer name, city, country from this table
KNVH -
>I want to get customer hierarchy from this table.
KNVV -
>I want to get customer group 1 from this table.
but in help view, I can only get relationship between KONA and KNA1.
I could not find the relationship for KNVH and KNVV.
if it's required to add a search help exit, then how to write the code in the function?
Could somebody please give me any solutions? thank you. -
How can I see the Query view created for a different user
Hi All,
How can a user see the View of a query created for a different user??
I would like some info about how to give access ( if it is a access problem) or tell me the steps to do that.
Regards, FedericoHi all,
Maybe I didn't explain me as i should or maybe you dont know what is a Query View. Lets try again, showing you the steps to open a "Query view".
This way is from Bex Analyzer (Excel)
I open the Bex Analyzer and connect to the system -> Open query -> Under "Type" choose "Query View"...this is just a different view of the original query (more or least columns/rows).
This way is from Bex Web:
Once you open/execute the query, you have a ComboBox to choose the view (previously saved)
The problem that we have is that the views created for a user, can NOT be found by other user. The only user who can is the owner.
Could it be an authorization problem? or is ther any configuration possible to see it?
Thanks in advance, Federico -
How to execute a BI query/view from a web dynpro application?
Hi all,
I am trying to connect to a BI system from a Web Dynpro application. I have to execute a view/query and process the output in my application. Please guide me about how to establish the connection to the BI system from my web dynpro application and then execute the query/view.
I have tried executing/modelling the BI query/view using Visual Composer but I get an error saying 'QueryView Instantiation failed' when I try to drag the view/query on to the design board.
Please guide me and help me achieve this.
Thanks & Regards,
KishanHi Kishan,
Define system for BI in portal and define JCo destination, then from WDJ application use can query BI.
Create the Technical System and connect with JCO Destinations
or
Connecting through the BI Connecters (ex: XMLA Connecter)
Refer below link:-
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1?quicklink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
In this document you will get details related to connector and other admin activity.
Hope this may help you.
Deepak!!! -
How to create types of materialized views
Hi
Can you please tell me how to create vaious types of materialized view.Also please tell me differences among them.Oracle docs at tahiti.oracle.com contain exactly the info you need as said previous poster. You can look into SQL reference about MV create statement that contains a brief overview of all types as well as data warehousing guide which contains at least 4 chapters that are about MVs - Basic MV, Advanced MV, Basic query rewrite and Advanced query rewrite.
Gints Plivna
http://www.gplivna.eu -
How to do security for query VIEW - BI 7
Hi,
I have created several query VIEWs and for some reason users can change the query VIEWs i created.
How can i do security for VIEW making sure nobody will change them?
I am using BI 7 and portal 7 as well.
Thanks for your help.
CesarHi there, I have the same concern.
I have been trying to play around with object RSZCOMPID, restricting activities on QVW (query views)
Activity 03, 16 ACTVT
InfoArea Z* RSINFOAREA
InfoCube * RSINFOCUBE
Name (ID) of a reporting compo Y, Z RSZCOMPID
Type of a reporting component CKF, REP, RKF, SOB, STR, VAR RSZCOMPTP
Apparently there is a bug, or a higher level more permissive that is constantly allowing the related role to overwrite or create new views.
Furthermore, we cannot troubleshoot with SU53 in the ABAP stack, since RSRT does not offer the creation of views. Only way to test this is either BexAnalyzer (which only saves user views, no tech name), or the Portal >> this is where my issue is.
If anyone has a solution, would be greatly appreciated !
Thanks
Thierry -
How to create an ABAP Query with OR logical expression in the select-where
Hi,
In trying to create an ABAP query with parameters. So it will select data where fields are equal to the parameters entered. The default logical expression is SELECT.. WHERE... AND.. However I want to have an OR logical expression instead of AND.. how can I attain this??
Please help me on this.. Points will be rewarded.
Thanks a lot.
Regards,
Question ManHi Bhupal, Shanthi, and Saipriya,
Thanks for your replies. But that didn't answer my question.
Bhupal,
You cannot just replace AND with OR in an ABAP QUERY. ABAP QUERY is a self generated SAP code. You'll just declare the tables, input parameters and output fields to be displayed and it will create a SAP standard code. If you'll try to change the code and replace the AND with OR in the SAP standard code, the system will require you to enter access key/object key for that particular query.
Shanthi,
Yes, that is exactly what need to have. I need to retireve DATA whenever one of the conditions was satisfied.
Saipriya,
Like what I have said, this is a standard SAP code so we can't do your suggestion.
I have already tried to insert a code in the ABAP query (there's a part there wherein you can have extra code) but that didn't work. Can anybody help me on this.
Thanks a lot.
Points will be rewarded.
Regards,
Question Man -
How to create repository using a view in OBIEE
Hi,
Can any one explain the procedure how to create a repository using a view. For example
test_v
select a.col1,a.col2,b.col1,b.col4,c.col5,c.col6 from table a,table b, table c where a.col1= b.col1 and b.col1 = c.col1
1. Assuming that i have imported only one view.
Thanks and Regards,
Hanuman.Hi,
You can create the vie in the physical layer of your repository, select "Select" from the dropdwan box when you create a new table. Next add the columns. They must have the same names as in your view.
If you don't have any other tables in your repository, created an alias of your view and make a "dummy" join with the original view. Next create your BM and PL.
regards
John
http://obiee101.blogspot.com/
Maybe you are looking for
-
Is there a way to merge 3 or more report output in PDF into one
Hi All, I know about the report sectioning. I am wondering is there any other way to merge 3 or more report output in pdf form to a single document. I have seen that there are many thrid party tools. Wondering is there anything from Oracle reports fe
-
Airport express shows low signal
To import music, as in the cd retrieves info from internet, I need at least 75% signal. Is there an easy way to increasy this signal (I have now less than 50%) without moving my IMAC next to the Airport? Or is spending another 200EUR, in addition to
-
Creating Variables From Text File
Hello a little new to powershell and have banging my head on the wall trying to get this working. I have a text file (where the numbers of lines will change everytime) that will contain AD groups. Lets say it looks like this GroupA GroupB GroupC I'm
-
Set default "Dropdown Lists" to "By value"
Hi , In the WebUI under Personalize / Personalize Settings , the user can setup the parameter "Dropdown Lists" to be "By value". We want to setup that at the system level , so every connection to the WebUI will have the Sort in the Dropdown Lists by
-
Passing EDI filename for 850 from B2B Gateway to BPEL
Hi, Is there any way to pass the EDI filename for 850 from B2B Gateway to BPEL via AQ? we want to store the inbound filename in the database along with the PO. we are using 10g. Thanks, Naveen