How to give privileges to workspaces

I stumble upon a problem when importing spreadsheets file in APEX 3.0/Oracle 10G.
In one workspace everything is fine, while in another the schema list which defines
where the table holding the loaded date is created is ... empty.
Looking at tablespace privileges I see that the second workspace doesn't have
the create table privilege. Alas I don't see any way to add any privilege in the administration
application (page 4050 : manage workspace/workspace details), as the privilege list in the workspace detail screen has no button to edit the list.
What should I do ?

ybe - please tell us your first name...
Workspaces do not have privileges. Tablespaces do not have privileges. Users (schemas) have privileges. You need to connect to the database as SYS or SYSTEM and grant create table privilege to the schema that needs it.
Scott

Similar Messages

  • How to do Privileges in oracle??? help me

    hi
    i have build a system using oralce form builder and there are some users who use the system....
    i just wana know how to give Privileges to users in oracle..?
    give me the main idea about applying that?
    Thanks in Advance.
    qewani

    Sorry for not being more clear, abc_admin, abc_user, and abc_read_only are not table names they are user roles and the abc part is an example name of an application and is also the name of the schema owning the application tables as a whole.
    For example in the database:
    grant select, insert, update, delete on abc.table1 to abc_admin;
    grant select, update on abc.table1 to abc_user;
    grant select on abc.table1 to abc_read_only;
    grant abc_admin to user1;
    grant abc_user to user2;
    grant abc_read_only to user3;
    In the When-New-Form-Instance trigger of the main form into application:
    Declare
    v_count number;
    Begin
    Select count(*)
    into v_count
    from user_role_privs
    where granted_role in ('ABC_ADMIN', 'ABC_USER', 'ABC_READ_ONLY');
    if v_count < 1 then
    if handle_alert('abc_ok_alert', 'Unauthorized user - exiting application.') > 0 then
    exit_form(no_validate);
    end if;
    else
    enable menu items according to privileges
    end if;
    end;

  • How can I change my workspace in WSED

    Hi all,
    When we start Websphere (below version 6.0) it gives an option to change my workspace...But if we check a check box there to make the current work space as our default workspace,the next time we dont get that option...In that situation How can we change my workspace to sumwhere else...plz help....tnx in advance
    shuvadip

    double-post
    http://forum.java.sun.com/thread.jspa?threadID=734402

  • Grant privileges to Workspace

    Hi friends:
    I installed an Oracle Apex on my server.
    I create a workspace in rutime environment, so I am able to see it, in the administration pages.
    I already create and assigned a developer user (with an admin role) to these workspace.
    I sucessful loggin with these user and these workspace into developer site pages.
    But I was trying to use SQL workshop and I got the same error no matter which sql I use, even select sysdate from dual;
    ORA-01403: no data found
    I think it's omething with a user privileges or workspace privileges.
    Any idea please.
    Abdel Miranda
    AEMS Global Group
    Panama

    I am newbe in Oracle Apex Administration 8meaning also installing and setting it up).
    So, I only have configure on Apex installation: one workspace (wich I create by sqlplus method) and one developer user with an admin priviledge asociated to the only workspace.
    I don't know how to test with a admin user, the sql command to see if I get the same error.
    When I connect to the developers page, but using the admin credential, it redirect me inmediatly to the admin pages.
    And i can't find the sql option in those set of admin pages.
    How can I test the sql commands with admin credentials?
    Best regards
    Abdel Miranda
    AEMS Global Group
    Panama

  • How can we change my workspace in WSED

    Hi all,
    When we start Websphere (below version 6.0) it gives an option to change my workspace...But if we check a check box there to make the current work space as our default workspace,the next time we dont get that option...In that situation How can we change my workspace to sumwhere else...plz help....tnx in advance
    shuvadip

    ok...tnk u 4 ur responsePlease don't use text shorthand when composing your questions. It appears unprofessional and can make deciphering your words quite difficult.
    Besides checking the IBM forums, you should google for an answer before you post Java-related questions to this website.
    http://www.google.co.uk/search?hl=en&q=start+WSAD+different+workspace&btnG=Google+Search&meta=
    The first result contains the answer.
    Message was edited by:
    jennyFromTheBronx

  • How can give only select privilge to user

    hi all
    how can give only select privilge to user
    "connect" have many sytem privilge such as
    alter session,
    create cluster,
    create database link,
    create sequence,
    create session,
    create synonyms
    create table,
    create view,
    "resource" have many sytem privilge such as
    create cluster,
    create indextype,
    create operator,
    create procedure,
    create sequence,
    create table,
    create trigger,
    create type
    i want give only select privige to user

    afzal wrote:
    hi all
    how can give only select privilge to user
    "connect" have many sytem privilge such as
    alter session,
    create cluster,
    create database link,
    create sequence,
    create session,
    create synonyms
    create table,
    create view,
    "resource" have many sytem privilge such as
    create cluster,
    create indextype,
    create operator,
    create procedure,
    create sequence,
    create table,
    create trigger,
    create type
    i want give only select privige to userFirst of all, SELECT privilege is OBJECT type of privilege. It is not a SYSTEM privilege.
    Some of the examples for granting this priv I have mentioned below:
    Examples
    Suppose you own emp table. Now you want to grant select privilege on this table to other user “SAMI”.
    grant select on emp to sami;Suppose you want to grant select privilege on emp to all other users of the database. Then
    grant select on emp to public;

  • How to give Authorization?

    I have created a 'Z' application which consists of create, change and display User interface.Whenever the user selects craete all fields go editable, change will have some fields editable and display all uneditable.I used only one view and i handled all three modes using invisible and enable property.
    Now i want to allow only certain users to access create and change but display for all users.How to give this kind of autorization in webdynpro????
    Please explain me about authorization in webdynpro taking my scenario?

    Hello,
    I hope you are aware of authority checks in ABAP in general. In your scenario, what you can do is: create one context attribute IS_AUTHORIZED of type WDY_BOOLEAN.
    And in WDDOINIT of the component controller or view controller,
    do the authorization check using AUTHORITY-CHECK stmt and if the check fails i.e. sy-subrc is not equals to 0, then
    set the attribute  IS_AUTHORIZED to false. Otherwise set it to true.
    And you have to bind the enabled property of the buttons to this context attribute IS_AUTHORIZED.
    Please refer to the following code sample:
        DATA lo_nd_selection_type TYPE REF TO if_wd_context_node.
        DATA lo_el_selection_type TYPE REF TO if_wd_context_element.
        lo_nd_selection_type = wd_context->get_child_node( name = wd_this->wdctx_flex_config ).
        lo_el_selection_type = lo_nd_selection_type->get_element( ).
      AUTHORITY-CHECK OBJECT <objectName>
      ID <name1> FIELD <f1>
      ID <name2> FIELD <f2>.
      IF sy-subrc <> 0.
    * Prohibhit the user from modifying config
        lo_el_selection_type->set_attribute(
          name =  `IS_AUTHORIZED`
          value = abap_false ).
      ELSE.
        lo_el_selection_type->set_attribute(
          name =  `IS_AUTHORIZED`
          value = abap_true ).
      ENDIF.
    Hope this helps!
    Regards,
    Srilatha

  • How to give backgound color

    H All :
    I am using collection in my application for textbox
    HTMLDB_ITEM.TEXT(2,null,30,500,''style="background-color: RED"'')
    i am using this which give me the red in color background effect
    i am using
    HTMLDB_ITEM.DISPLAY_AND_SAVE(2,null,30,500)
    how to give a background or a fore ground color this item
    please suggest
    Thanks
    Sudhir

    It's actually quite easy.
    What you have to do is write a custom tree cell renderer which extends DefaultTreeCellRenderer. In that class, your getTreeCellRenderer() method should do something like the following:
    public Component getTreeCellRendererComponent(
        JTree tree, Object value, boolean selected,
        boolean expanded, boolean leaf, int row, boolean hasFocus )
            Component treeCellRenderer =
                  super.getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, hasFocus);
            if (selected) {
                setForeground(Color.WHITE);
                setBackground(BACKGROUND_SELECTION_COLOR);
            } else {
                treeCellRenderer.setForeground(Color.RED);
            return treeCellRenderer;
    Then you'll need to make sure that you call myTree.setCellRenderer(new CustomTreeCellRenderer());
    cheers,
    Greg

  • How to give the no of lines per a page in alv report

    hi
    could u plz inform me
    how to give the no of lines per page in alv report
    in ordinary report we can give line-count na
    how can we give in alvs.
    thanx
    kals.

    Hi Kalyan,
    There is another Forum(Abap Development) where u can post abap related stuffs and u can also get quick answers there..
    Cheers...
    Santosh

  • How to give no of lines per page in alv report

    hi
    could anybody tell me
    how to give no of lines per page in alv report
    i need bottom of page too
    if possible plz send the code too
    it ll be very helpful to me
    thanx
    kals.

    Hi,
    This is possible, using some of the events in the ALV.
    You could use AFTER_LINE_OUTPUT event and call you form after say, a certain line count is reached on the list output.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-name.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-form.
      APPEND gw_event TO gt_events.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                it_events                = gt_events[]
    and define the form for each event as follows - this would be a dynamic call by the ALV.
    *&      Form  after_line_output
    *       Form for the After Line Output Event in the internal table
    *      --> rs_lineinfo
    FORM after_line_output USING rs_lineinfo TYPE slis_lineinfo.
      IF sy-linno eq v_linno.          "Defaulted value for line count
        perform write_footer.
        NEW-PAGE.
      ENDIF.
    ENDFORM.                    " after_line_output
    For lines per page:
    rs_lineinfo-tabindex would give you the index of the current line in the list, which you could use to read the t_outtab table, and reduce the line count of items displayed on the earlier page.
    There are a few other events too, like BEFORE_LINE_OUTPUT and END_OF_LIST which you can use as required and print the data.
    Regards,
    Anil.

  • How to create a new workspace and change the name of the existing

    Hi,
    can any one help me how to create a new workspace in application express 3.1 on XE DB and how to change the name of a existing workspace.
    thanks
    Jana

    Jana,
    This is discussed at length in the User's Guide. See the section "Creating Workspaces".
    To rename a workspace using the admin application, edit the workspace attributes and type a new name in the field where the old name appears, then Apply Changes.
    Scott

  • How to give constant space in sap scripts.

    Dear experts,
    In my requirement I am printing invoice line item details. In my program,I am printing 8 columns. How to give the constant space in my output.
    My issue.: here am fetching Internal Excise Document Number (DOCNO) item number (zeile) plant (werks) quantity (menge) storage location (lgort) and so on.
    when i am fetching the values from the table, the values are different from each and every rows. so nothing would be aligned properly into the column. For example, if the  doc no is having 10 char,from item no all the values of the column is getting moved to right side. in my second row doc no is having only 2 chars. in this case every column value is moving left side. its looking like realigned and not good.
    How do i give constant space for each and every column. so if the values are more or less it could not be moved to any side.
    please hellp me to solve this issue.
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Thanks in advance.
    Regards,
    Sandy.
    Edited by: Alvaro Tejada Galindo on Sep 28, 2011 3:40 PM

    Hi,
    check out ur tab positioning in paragraph format...any misalignment is their or not.
    second thing you can do is checkout your printer i.e zebra printer or .matrix etc. your using sometimes misalignment happens
    in printer..or print some sample values for verifying the root cause .
    regards,
    KRISHNA

  • How to give a message in the UI page if there is an error in AppImpl method

    How to give an error message in the jsf page if the AppImpl method fails ?
    Use case : I have a create form and a submit button which binds with a client interface method in Application Impl class. If the method fails due to some exception , how can I notify the users with proper error message ?
    Thanks
    Suneesh

    Hi,
    As the previous reply (casting the result) is the best solution here (separating model and view logic) but sometimes we do a shortcut.
    may be it is not the best approach but it comes handy most of the time, this approach is also error-proven. we used it more than 2 years in large applications.
    add the following code whenever you want to add message in UI be aware that we have add it in a jar and add that library to the model projects
    FacesContext ctx = getFacesContext();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
    ctx.addMessage(null, fm);
    you just need to add jsf library to the model applications and replace msg with your message.
    regarding throw jboException, it seems good most of the time but sometimes when you are in middle of the transaction it somehow ruin the flow of the transactions.
    Regards.

  • How to give ** bydefault in password in module pool screen .

    Hi experts
    how to give  *******  by default in password in module pool screen .
    Thanks

    Hi ,
        Double click on the field u will get a pop up window
        i.e. attribute window for that field.
        in that window you have a tab called Program at the bottom.
       in program tab you have many checkboxes.
      check the check box with name *Entry.
      and activate.
    what ever you enter now will be in password formate
    Regards
    Ajay

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

Maybe you are looking for