Privileges for creating DB objects through portal
All,
I am a portal administrator and want to give portal access to a developer to create their own portal page against their own db schema. They would like to create db objects through the portal interface (i.e. tables).
My question:
What privileges/grants/roles do I need to give them to create db objects? Do I need to give them the DBA role? Do they need "Full Administrator" privileges within portal?
Thanks,
Jon.
Sorry, your question is not very clear. From what I got:
You want the privilege to be able to create DB Objects. For that:
you just need an End-User with "Manage" privilege on any of the "Schema".
Similar Messages
-
Error Individual check for creating the object WBS Element required
Hi Expert,
I've a requirement to create WBS elements using BAPI. And I am using BAPIs in the following manner.
CALL FUNCTION 'BAPI_PS_INITIALIZATION'
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
i_project_definition = g_pdwbs
TABLES
it_wbs_element = it_wbs_element
et_return = it_return
EXTENSIONIN =
EXTENSIONOUT =
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
When I do so I am getting the below errors. Please suggest.
"Individual check for creating the object WBS Element C-497082 required ".
"Individual check for creating the object WBS Element C-497082-0001 required".
Please suggest how to correct this error.Hi Karthikeya,
I think the project profile which you are using has a different mask and the WBS element you are passing is different to the BAPI.
Are you able to create manually from CJ01 using the same WBS element?
Create a project manually and it will give the list of the mandatory fields set in the config. Using that list populate the BAPI struture accordingly.
Hope this helps.
Thanks
Lakshman. -
Minimum privileges for creating table
I wanted to know of the minimum set of privileges for creating a table in Oracle 11g database. First I created a schema and granted the create table privilege to the schema. When I tried to create a table in the schema, it was giving a message of like privileges required on the tablespace. Granting the resource privilege grants the unlimited quota on all the tablespaces including SYSTEM and SYSAUX tablespace which may not be an ideal scenario. So, my query is that what are the minimum set of privileges for creating a table in Oracle 11g database.
I hope, my question is clear.
Please revert with the reply to my query.
RegardsHi,
If you are going to use the read only :
SQL> create user anar identified by anar;
User created.
SQL> grant create session, select any table, select any dictionary to anar;
Grant succeeded.
SQL> conn anar/anar
Connected.
SQL> create table test(id number);
create table test(id number)
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> desc test.test
Name Null? Type
ID NUMBER
SQL> insert into test.test values (1);
insert into test.test values (1)
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> update test.test set id = 15;
update test.t set id = 15
ERROR at line 1:
ORA-01031: insufficient privileges
Thank you -
Privilege for creating a View from a Stored Procedure
Hi,
I need to create a view from a procedure. I could do it from an anonymous block whereas I am unable to do that from a Stored Procedure. Should I need a specific privilege for performing this operation? If so what would be the reason behind it? Will that privilege be given in production databases?
Code to replicate:
CREATE TABLE t11 AS SELECT * FROM DUAL;
CREATE OR REPLACE PROCEDURE p_etl_test_view
AS
BEGIN
EXECUTE IMMEDIATE 'CREATE OR REPLACE VIEW v_t11 AS SELECT * FROM t11';
END;
PROCEDURE P_ETL_TEST_VIEW compiled
Elapsed: 00:00:00.131
BEGIN
EXECUTE IMMEDIATE 'CREATE OR REPLACE VIEW v_t11 AS SELECT * FROM t11';
END;
anonymous block completed
Elapsed: 00:00:00.069
BEGIN
p_etl_test_view;
END;
Error starting at line 13 in command:
BEGIN
p_etl_test_view;
END;
Error report:
ORA-01031: insufficient privileges
ORA-06512: at "OCCSS_ENTMT_HK_DEV_01.P_ETL_TEST_VIEW", line 4
ORA-06512: at line 2
01031. 00000 - "insufficient privileges"
*Cause: An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action: Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Elapsed: 00:00:00.100
The privileges I am having:
SELECT *
FROM dba_sys_privs
WHERE grantee = 'OCCSS_ENTMT_HK_DEV_01'
OR grantee IN (SELECT granted_role
FROM dba_role_privs
where grantee = 'OCCSS_ENTMT_HK_DEV_01')
ORDER BY 1;
GRANTEE
PRIVILEGE
ADMIN_OPTION
EXP_FULL_DATABASE
ADMINISTER RESOURCE MANAGER
NO
EXP_FULL_DATABASE
ADMINISTER SQL MANAGEMENT OBJECT
NO
EXP_FULL_DATABASE
BACKUP ANY TABLE
NO
EXP_FULL_DATABASE
CREATE SESSION
NO
EXP_FULL_DATABASE
CREATE TABLE
NO
EXP_FULL_DATABASE
EXECUTE ANY PROCEDURE
NO
EXP_FULL_DATABASE
EXECUTE ANY TYPE
NO
EXP_FULL_DATABASE
READ ANY FILE GROUP
NO
EXP_FULL_DATABASE
RESUMABLE
NO
EXP_FULL_DATABASE
SELECT ANY SEQUENCE
NO
EXP_FULL_DATABASE
SELECT ANY TABLE
NO
OCCSS_ENTMT_HK_DEV_01
CREATE DATABASE LINK
NO
OCCSS_ENTMT_HK_DEV_01
CREATE TABLE
NO
OCCSS_ENTMT_HK_DEV_01
DEBUG CONNECT SESSION
NO
OCCSS_ENTMT_HK_DEV_01
SELECT ANY DICTIONARY
NO
SCB_SCHEMA_ROLE
ALTER SESSION
NO
SCB_SCHEMA_ROLE
CREATE CLUSTER
NO
SCB_SCHEMA_ROLE
CREATE DIMENSION
NO
SCB_SCHEMA_ROLE
CREATE INDEXTYPE
NO
SCB_SCHEMA_ROLE
CREATE JOB
NO
SCB_SCHEMA_ROLE
CREATE MATERIALIZED VIEW
NO
SCB_SCHEMA_ROLE
CREATE OPERATOR
NO
SCB_SCHEMA_ROLE
CREATE PROCEDURE
NO
SCB_SCHEMA_ROLE
CREATE SEQUENCE
NO
SCB_SCHEMA_ROLE
CREATE SESSION
NO
SCB_SCHEMA_ROLE
CREATE SYNONYM
NO
SCB_SCHEMA_ROLE
CREATE TABLE
NO
SCB_SCHEMA_ROLE
CREATE TRIGGER
NO
SCB_SCHEMA_ROLE
CREATE TYPE
NO
SCB_SCHEMA_ROLE
CREATE VIEW
NOBoopathyVasagam wrote:
Thank you for your answer. So should I issue the below statement? (Since I dont have dba privs i couldn't test this)
GRANT CREATE VIEW to P_ETL_TEST_VIEW;
I doubt that above will prevent the error from being thrown.
prior to running anonymous block again; just do as below
SET ROLE NONE;
doing so should result in same error being thrown when invoking
BEGIN
p_etl_test_view;
END; -
Create SE61 objects through programs.
Hi,
Is there any way to create an SE61 object (Dailog Text) through a program. I have more than 100 objects to be created. Is there any possibilty that I can upload my documentation through a file and create SE61 object for the same?
Please help me in this regard.
Regards,
Kishore.Hi
I recommend you use the API JAXB. Is much simpler.
here a link: http://www.oracle.com/technetwork/articles/javase/index-140168.html
here a example: http://download.oracle.com/javaee/5/tutorial/doc/bnbay.html#bnbbc -
Are there any shortcuts for creating Value Object Classes?
Hi,
I'm using a Remote Object to connect to my server
(pyAMF/Django). I'm getting stuck with the creation of Value Object
Classes. It doesn't seem very DRY to have a class on my server
representing the data model and then have to recreate that class
and all its properties in my Flex app.
Are there any shortcuts for creating client side VOs from
server side data?
I was thinking about declaring an empty VO class in Flex, and
then dynamically assigning/casting my Proxy object to that class.
It seems like that approach may cause problems for the Flex
compiler though.
Any hints?
Thanks!quote:
Originally posted by:
tptackab
Oh man, do I feel your pain. I'm not sure what middle-tier
technology you're using, but I'm using Java (w/Spring) and I
absolutely hate having to create and maintain two sets of VO (aka
data transfer - DTO) object for Java and Flex.
One thing that has helped me in that area is a free tool from
Farata Systems called
DTO2Fx. If you're using Java and Eclipse, it's a great time saver.
You simply install a (very lightweight) Eclipse plugin, add a
single annotation to your Java VO classes, and it automatically
generates your Flex VOs. It even creates a base and extended
version of each VO on the AS3 side so you can add code to the
extended VO without fear of having your changes overwritten when it
regenerates your Flex VOs.
Here's a like to thier
PDF that
gives instructions and a download link. I had it up and running in
my application in less than 30 minutes!
I'm using Python/Django serverside (PYAMF is my AMF
serializer). -
Unix: Any support for creating com objects?
I'm looking into migrating a CF 8 server from Windows to
Unix. I see in the documentation for CreateObject that com objects
are not supported on Unix, "Note: On UNIX, this function does not
support COM objects."
Obviously, this won't work on Unix: Note:
<cfset image = CreateObject( 'com', 'ImageStoreCom.Image'
)>
But what about this, can I create a remote com object?:
<!-- assume '172.0.0.1' is a windows machine with a
registered com object on it -->
<cfset image = CreateObject( 'com',
'ImageStoreCom.Image', 'remote', '172.0.0.1' )
Finally, if the example above is out of the question, are
then any techniques for exposing a com object to CF on a Unix box?
I'm wondering if maybe I could write a Java wrapper for the com
object and expose it that way?
Thanks for your help,
DJ<ShotInTheDark>You might try wrapping your COM object
in a .NET class then accessing your .NET class
remotely.</ShotInTheDark>
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=dotNet_02.html#1160020 -
Create UDO object through DI API
Hi folks,
I want to create an UDO object directly from the code. Deep inside, I have an UDO that wraps an authorization document.
How can I create an object from my AddOn and add it in SAP BO.
Thanks in advance!
Oscar S.M.example is for master data and masterdata lines UDO. For other types is almost same.
Dim oUserObjectMD As SAPbobsCOM.UserObjectsMD
oUserObjectMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)
oUserObjectMD.CanCancel = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD.CanClose = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD.CanDelete = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD.CanFind = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tYES
oUserObjectMD.ChildTables.TableName = "LINES"
oUserObjectMD.Code = "DATA"
oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tNO
oUserObjectMD.Name = "Data"
oUserObjectMD.ObjectType = SAPbobsCOM.BoUDOObjType.boud_MasterData
oUserObjectMD.TableName = "DATA"
lRetCode = oUserObjectMD.Add()
If lRetCode <> 0 Then
oCompany.GetLastError(lRetCode, sErrMsg)
MsgBox(sErrMsg)
End If
oUserObjectMD = Nothing
GC.Collect() -
E-Recruiting EHP4 WebDynpro link for create internal application and portal
Hallo there,
we have installed ehp4 with web Dynpro and I am searching the link for creating an *internal* application.
The external Aplication I found in the se80 ERC_C_APPL_MGMT_UI. But this link is only for external applications.
The other Links I try to find is for the portal. I need it in the ESS and the MSS.
I didn't find them in the package PAOC_RCF_UI_SELF_SERVICES.Hello,
For creating manual internal and external applications, the WebDynpro application is the same - ERC_A_APPL_MGMT. The component is the same ERC_C_APPL_MGMT_UI as you have said in your e-mail. In this component you can also check the view V_APPL_DATA and see that both fields for internal and external are available. The fields are determined at runtime based on whether you have selected 'Internal' or 'External' link in the portal. In the recruiter portal role, when configuring the pages for internal or external you use Application Parameter IS_INTERNAL. If IS_INTERNAL=X then this parameter will be passed to the component mentioned above and the system will know that it should display internal candidate fields. If IS_INTERNAL=' ' then system will display for external and this is the default.
You can click package PAOC_RCF_WD_UI > Web Dynpro > Web Dynpro Applicat and right click ERC_A_APPL_MGMT to test. When the page opens, you can add parameter &IS_INTERNAL=X to the URL and you will see it will change to internal application page.
Hope this helps.
Regards, -
"You Can" section blank for creating callable objects
I was trying out the Search SAP Webpages Process in Guided procedures.
I get to see the Guided Procedures Role,
But in the You Can section below the gallery where we can make callable objects, its blank. I cannot see anything. Am i missing something here?Hello,
this is because you do not have permissions for GP designtime. The easiest way is to go to you user administration (http://server:port/useradmin) and modify the role for your user. Just search for GP* and add them to the user and you should have the ability to create callable objects and processes.
Regards
Abdul -
Insufficient privileges for creating a table in a procedure
Hello,
I have a problem with creating a table from within a procedure. The error is
-1031 : ORA-01031: insufficient privileges
All objects are owned by the same user, and the procedure is run under that user. This user has CREATE ANY TABLE with Admin Option rights.
I am working with Oracle 8i.
Can anybody tell me how I can fix this?
Thanks, WouterDoes the user have the CREATE ANY TABLE privilege granted directly to it, or through a role? Stored procedures by default don't know about any privileges granted through a role.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Help for creating a report in portal.
Hi,
I am trying to create a report in the portal for many users, but
I only want the login user to see his owned data in the
database. There is an attribute called user_ID in the table. May
I use 'PORTAL30.wwctx_api.get_user' function to get the user_ID
and pass it to the report to show (only) his data? If it is
possible, how to do it? Appreciate for any suggestion!
DongHi ,
You can create a report and add it as a portlet and in the
report You write yr query as ...select ..... from yr_table where
user_name ='PORTAL30.wwctx_api.get_user' be sure to change
PORTAL30 TO appropriate name of yours..get_user gives you the
name of the logged in user ...You can also get his id
similarly ..You can also have a look at the API
http://www.orafaq.com/faqscrpt.htm/#GENPLSQL for more details..
Vishnu -
Support for creating entity instances through rules
Hi,
Is there support to generate an instance of an entity purely through rules? For example, if I have an entity called "VerificationItems", can I write a rule in OPA that will one instance of this entity per verification item that the applicant needs to produce (like one instance for address proof, one instance for SSN etc).
Thanks
SamHi Sam,
Thanks! No problem. I understand completely your perspective, especially about the integration stuff.
In case more detail helps:
Each "action" we have has a clear naming structure and actually they all get aggregated up to global in the end using Exists() if the action is on a child entity. They are called action_1 to action_N where N is the total actions in the active delivery. The rule developers update this each time a release is completed.
N is a value set in the rulebase that the calling system can have access to, e.g. N=20. The calling system would then know to look in the response field the value of action_1 through to action_20, and do some further processing based on this. So if action_7 meant at "at least one address needs verifying", it would then look at the address instances returned in the response, and see which one(s) have address_action_7 also set. Both systems are aware of what the actions "are", but OPA contains all of the legal / business rules as to when that action should be raised, and the calling system interprets this and sorts out / transforms the data.
This works well and in terms of performance is optimised, but that said we will be looking at 10.4 and seeing what advantages it could bring over this approach.
Good luck with the implementation!
Cheers,
Ben -
String contains class name: how to use it for creating new objects
Hi All
I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example:
String s = "MyClass" ;
MyClass mc = new s() ; // or: s mc = new s() ;
if ( mc instanceof s ) { ..... }
Is something like this possible ?
Thnx in advance
LuCajeanluca wrote:
I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example:
Is something like this possible ?AFAIK, it is only possible in a very limited way as noted above and is nearly always not recommended and definitely not necessary. The variable name has little importance, but OTOH the object reference has great importance. Instead learn about arrays, Lists, and Maps. -
How to create object through transaction snro
Hi ,
I want to create an object through Snro transaction.
I dont know how to use this transaction.
Please Help.
Thanks in advance.
NikitaNikita,
Based on the transaction code, respective function consultant will create number range.
If u want a number series for some other purpose in ur program u can create object in snro as below.
1. Enter a object name and click 'CREATE' button
2. In the next screen give relevant description
3. In 'Number length domain' field u can specify the length of number .. example if u give char10, then it will be a ten digit number series.
4.Enter warning percentage.. the purpose is to throw warning message 10 % before when ur number series about to exhaust.
5. After entering those details --> press save button.
6. Again come to main screen (SNRO initial screen) then click number raneg tab inthe application tool bar.it will take u to next screen.
7. In that click internal change push button
8. IN the resulting screen enter ur number range series,
example
01 00000001 09999999
02 10000000 19999999 etc
9. click save button..NOw ur number series is ready for use.
Regards,
Aswin.
Maybe you are looking for
-
Unable to edit or add in contacts list ?
Why am I unable to add or edit in my contacts list ? Will I need to back up on desktop manager, wipe phone and start over?
-
How to send a pdf/tiff file to spool
Hi all, can anyone tell me how to send a pdf file to spool. There will be forms attached to activity(the forms can be pdf/tiff format). Thank You, Vichu
-
Recording Narration With Computer Mic?
Hey, I am trying to record a narration. I bring up the window, but it does not seem to register my computer mic, although my computer mic is working. Do you have to attach another mic to the computer to record? The screen just doesn't light up. I can
-
Hi there, SRM 5.0. Can anybody guide me for whats the standard table which holds the Product category and vendor info. there are seperate table to hold product cat and Vendor (VENMAP,BUT001) but which is the table which holds both the data in one tab
-
How to open battery menu bar extra in mac air
How do u open battery menu bar extra?