How to view the privilages inside the role
Hi,
How can i view the definition of a role on sqlplus screen
Thanks
Bcj
Want to try something neat -- at least I think so. Put this in a sql script and run it against a user who has table privileges granted to him and through a role, and through roles two levels deep.
set termout on
set feedback off
set verify off
set linesize 128
set pagesize 35
Accept USER_ID CHAR Prompt 'Enter User ID: ';
COLUMN table_name FORMAT a41 HEADING 'Resource'
COLUMN privilege FORMAT a11 HEADING 'Privilege'
COLUMN grantable FORMAT a9 HEADING ' '
COLUMN via_role FORMAT a60 HEADING 'Via Role?'
BREAK ON table_name SKIP 1 NODUPLICATES
TTITLE Center 'Tables and Proc. Priveleges Granted to &USER_ID..' skip 2
SELECT LOWER(y.owner || '.' || y.table_name) table_name,
y.privilege,
DECODE(y.grantable,'NO','No Grant','Grantable') grantable,
x.role_granted as via_role
FROM (SELECT CASE SIGN(LEVEL - 1)
WHEN 0
THEN granted_role
ELSE granted_role||' ['||grantee||']'
END as role_granted,
granted_role
FROM dba_role_privs
CONNECT
BY PRIOR granted_role=grantee
START WITH grantee = UPPER('&USER_ID')) x,
dba_tab_privs y
WHERE y.grantee = x.granted_role
UNION ALL
SELECT LOWER(owner || '.' || table_name) table_name,
privilege,
DECODE(grantable,'NO','No Grant','Grantable') grantable,
FROM dba_tab_privs
WHERE grantee = UPPER('&USER_ID')
ORDER
BY 1, 2
TTITLE OFF
BTITLE OFF
REPFOOTER OFF
TTITLE OFF
BTITLE OFF
REPFOOTER OFF
SET FEEDBACK ON
SET PAGESIZE 40
SET LINESIZE 96
SET VERIFY ON
SET UNDERLINE '-'
SET HEADING ON
SET TERMOUT ON
Similar Messages
-
How to capture the role of the user logged in CRM
Hi
How to capture the role of the user logged in CRM so as to restrict the Account group selection ; While creating a sales Order .
Can we deternine the profile in the related view .If so how , and what tables can we use to do so.hi,
I think you should check CRM table AGR_USERS.
Regards
Michael -
Hi,
I have loaded the data into an ODS from an External Flat file and executed the job. Can anyone guide me how to view the loaded data in the ODS ?
ThanksHi Madhu,
You can simply Goto Transaction LISTCUBE and give the ODS name -> Execute.
Regards
Hemant -
How to view the sql query?
hi,
how to view the sql query formed from the xml structure in the receiver jdbc?You can view SAP Note at
http://service.sap.com/notes
But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
Reason and Prerequisites
You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
When you want to use a parameter documented here, please be aware to which category it belongs!
Solution
The following list shows all available parameters of category 1 or 2. Please note:
Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
The default value of a parameter is always chosen that it does not change the standard functionality
JDBC Receiver Adapter Parameters
1. Parameter name: "logSQLStatement"
Parameter type: boolean
Parameter value: true for any string value, false only for empty string
Parameter value default: false (empty String)
Available with: SP9
Category: 2
Description:
When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
This should be used only during the test phase and not in productive scenarios.
Regards,
Prateek -
How to view the Users in the Portal Activity Report
Hello,
Can anyone tell me how to view the Report of users who have logged in a specific time. For Example I would like to view the users who have logged in between 9.00 am and 9.15 am. Is it possible to view mentioning the country name?
Please explain me in detail how to view the Report.
Thnx in Advance
cheers,
Muralihi,
You can certainly do it for hourly basis but i am not sure whether it could be done quarter an hour basis. Also The portal nodes within a cluster can be in different time zones, yet the activity data from all nodes are aggregated together and reported together. To enable the reporting of hourly data from different time zones, portal activity reports display hourly data based on the GMT time zone.
Do see the documentation
http://help.sap.com/saphelp_nw04/helpdata/en/fb/144120ea5b4e9c9385d493a578d6c9/frameset.htm
Weblog :Portal SP9: Portal Activity Report
Regards,
Ganesh N -
How to View the Scheduler in ODI Console
Hi
In ODI Studio, we may Schedule a Scenario and also, we may view all Schedules process from the Agents (View Schedule option).
My colleagues are going to use ODI Console, but we cannot find out HOW to View the Schedule in ODI Console.
In Oracle documentation about FDMEE, we can read the following: If you want to cancel a specific instance of a schedule, use the ODI Studio or ODI Console... see the PDF document in attachment.
Regards
ClaudeTo display the schedule for one agent:
In Topology Navigator expand the Agents node in the Physical Architecture accordion.
Select the Physical Agent you want to update the schedule.
Right-click and select View Schedule.
The Schedule Editor appears, displaying the schedule for this agent.
Check: http://docs.oracle.com/cd/E17904_01/integrate.1111/e12643/running_executions.htm#ODIDG634
HTH -
Jasmine -
HOw to view the records in a structure qaqee ?
hi every one ,
we can view the tble through SE16
HOw to view the records in a structure qaqee ?
Thanks in advanceHello,
Please check the link
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/90/8d7301b1af11d194f600a0c929b3c3/content.htm
You can view the struture in SE11 t-code for its components.
Regards,
Shailesh -
How to get the role name in which query is published ?
Hi Experts,
Is there any table where i can get the name of the role in which a particular query is published. I know that if i have a role , i can check in pfcg giving that role name and in menu tab i can see all the queries published under that role. But if i know query but not role how to get the role name . Is there any table or functon modules or programs to get the information.
Thanks & Regards
Vamsi KiranCheck this table
AGR_HIER -
How to view the source code for Native Method
hi
i am using some native methods in to my code ;
can anybody tell me how to view the source code for the same ;
nikBuy/acquire a C/C++/assembly code disassembler and run the shared library through it.
-
How to view the purchase order output
Hi all,
how to view the purchase order output in the transaction me23n?
How to obtain the purchase order output form?
Please help..HI,
goto NACE tcode then select the purchase order type and go to output types u cna use standard one NEU and provide the sapcript name and form name default will be there with MEDRUCK and print program.
then in ME23n click on messages there create ur message type NEU and save it
then print the purchase order...
hope u get solved with this
Regards
Syed A -
How to view the table at the application level
Dear All,
How to view the table in the Data Dictionary at the application level, If a table is created at the database level by using CREATE statement.
code/
create table zmard as select * from sapone.mard where 1 = 2
/code
I would like to view the table above, which is created at the Oracle database level in the Data Dictionary.
can anyone guess the solution.
Best wishes
MaheshHi
U should create a program using SQL native in order to select and show the data.
By SE11 or directly in the program u can define a structure like your table:
DATA: BEGIN OF W_ZMARD,
FIELD,
END OF W_ZMARD.
EXEC.
OPEN CURSO FOR SELECT * FROM ZMARD
ENDEXEC.
DO.
EXEC.
FETCH NEXT CURSOR INTO :W_ZMARD
ENDEXEC.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
WRITE: / W_ZMARD-FIELD,
ENDDO.
EXEC.
CLOSE CURSOR
ENDEXEC.
I don't know if it's possible to create a view in SE11, because it's needs a table just defined in SE11, u can create a new view ZMARD based on MARD but I don't believe it'll use your table.
Max -
Hi
Can anyone explain me like how to view the Customer and vendor invoices through T.Code or through path.
Thanks & Regardshi,
you can view the customer & vendor invoice by giving the FI document number in FB03. Then you can Go for Environment - Document Environment - Original Document. This will take you to the Customer invoice which was raised in the SD module. or vendor invoice which was raised in the MM module.
you can follow the same process from the FI report : FK10N for vendors & FD10N for Customers.
hope its useful.
regards,
R.Ramakrishnaraj -
How to view the physical size of objects
Hi
Please advise how to view the physical size of objects like tables, indexes, materialize views etc.
Wishes
JawadTo see the physical size of objects like tables, indexes, use
USER_SEGMENTS where SEGMENT_TYPE=table/index/partition etc.
But for views/packages/java/trigger, you can only see rough estimate in USER_OBJECT_SIZE -
Hi i am using oracle 10g how to view the content of the stored procedure or trigger ?
Hi i am using oracle 10g .How to edit the content of the stored procedure or trigger ?
jklopkjl wrote:
Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
query ALL_SOURCE
SQL> desc all_source
Name Null? Type
OWNER VARCHAR2(30)
NAME VARCHAR2(30)
TYPE VARCHAR2(12)
LINE NUMBER
TEXT VARCHAR2(4000) -
How to view the tables/views available in Oracle
HI,
I am creating DB connection and importing the data from Oracle TABLES/ Views. I just want know how to view the tables/views available in Oracle. (I have the login details). Can I view thru TOAD? Pl let me know the best way and suggestions/ views / Links/ whitepagers.
Regards,Hi,
I don't remember exacly: RSA1 -> source system -> "replicate datasources". Works this also in a DB-source system. I think so.
=> you get all tables that your user has authorisation.
This function execute for example (in oracle there are same information tables: dba_tables, user_tables ...) following select in the database:
select TABLE_NAME from DBA_TABLES;
Sven -
Hi I would like to ask how to view the current settings of the sequence i am already working in, the same information that appears when you first open a new sequence
eg.
General
Editing mode: QuickTime DV PAL
Timebase: 25.00fps
Video Settings
Frame size: 720h 576v (1.4587)
Frame rate: 25.00 frames/second
Pixel Aspect Ratio: D1/DV PAL Widescreen 16:9 (1.4587)
Fields: Lower Field First
Audio Settings
Sample rate: 48000 samples/second
Default Sequence
Total video tracks: 3
Master track type: Stereo
Audio Tracks:
Audio 1: Standard
Audio 2: Standard
Audio 3: Standard
I have forgotten which setting I chose for my current sequence and have tried to look under project settings and also sequence settings
but the info that you see when you first open a new sequence doesn't show, especially if the editing mode is PAL or NTSC etc.
How can I find out this information that my current sequence is on?
ThanksThanks for your reply
Is there a way to see what preset I chose when i first chose the sequence? As under 'sequence settings' i don't see this info.
e.g
DV PAL "Widescreen 48kHz"
As i do not remember and fear it may ruin the HD video I am currently editing.
Thanks
Maybe you are looking for
-
Some error when running WD Application accessing ABAP Functions
Dear friends, I try to deploy and run the Example Application "TutWD_FlightList_Init", but it's always display the error like the following (see at the bottom of this message). By the way I'll give your more informations like this: 1) My NWDS and SAP
-
White widget text no longer white
I'm experiencing a weird problem with my widgets. Anywhere that white text should appear, it now appears black with a faint outline where the normally white text is antialiased against the darker background color. This affects all the widgets with wh
-
Hello, I have three email ids with hotmail.com. I am not able to sign in to my email which I opened last, a few days back. Until yesterday I could log in and see the inbox etc of the said id. But now when I try to sign in, it gives error message ERRO
-
Problems about 8i on solaris2.6 $ORACLE_HOME/rdbms/lib/ins_r
When i tried to install O8i for solaris (CD from OTN )on Sun Solaris 2.6,I've met such problems: Error in invoking target install of makefile $ORACLE_HOME/rdbms/lib/ins_rbms.mk C Complier used:/usr/ccs/bin/cc,make I appreciate your help null
-
GUID format needed to make bootable HD for intel iMac?
I have one brand new 1TB hard drive, and an old 250GB. Both Lacies. I have a newish intel iMac and an old G4 tower. Am I right in thinking that, in order to make a bootable clone for the iMac, I need to format the 1TB as GUID? Will I then not be able