Hide tables to "SELECT ANY TABLE" granted users

Hi everybody
Where I work, I need to create a manteniance table with reserved data and we have several users granted with "SELECT ANY TABLE". I would like to hide that table to everyone else that the owner. Is it possible?
Bye Alessandro

Are you jokeing? Do it for yourself but don't give such suggestion please! Do you imagine what could happen if someone thinks it's right? Keep disastrous ideas for your own please.
SQL> set hea ON feed ON ver ON
SQL> ttitle ON
SQL>
SQL> drop user eavesdropper cascade;
Utente eliminato.
SQL> drop table reserved cascade constraints;
Tabella eliminata.
SQL>
SQL> create table reserved (
  2          username varchar2(30) not null,
  3          password varchar2(30) not null,
  4          constraint reserved_PK primary key (username)
  5  );
Tabella creata.
SQL>
SQL> insert into reserved values ('administrator of the bank','password of the administrator');
Creata 1 riga.
SQL> commit;
Commit completato.
SQL> select * from reserved;
Mar Nov 14                                                           pagina    1
                             select * from reserved
USERNAME                       PASSWORD
administrator of the bank      password of the administrator
Selezionata 1 riga.
SQL>
SQL>
SQL> create user eavesdropper identified by eavesdropper;
Utente creato.
SQL> create synonym eavesdropper.reserved for reserved;
Sinonimo creato.
SQL> grant resource, connect, select any table to eavesdropper;
Concessione riuscita.
SQL> revoke all on reserved from eavesdropper;
Revoca riuscita.
SQL> conn eavesdropper/eavesdropper@svi3;
Connesso.
SQL> select * from reserved;
Mar Nov 14                                                           pagina    1
                             select * from reserved
USERNAME                       PASSWORD
administrator of the bank      password of the administrator
Selezionata 1 riga.
SQL>Message was edited by:
alessandro.miami

Similar Messages

  • How to hide tables in answers

    Hi,
    Is it possible to hide tables from users in answers. I would like to restrict the view to enable users to only view certain fact and dimension tables.
    Can anyone help?
    Thanks

    hey,this might help you http://varanasisaichand.blogspot.com/2010/08/dataobjectcolumn-level-security-in.html
    Coming to answers you cant hide them as such,but you can change the permissions accordingly.
    Cheers,
    KK

  • How to avoid a table to be selected by a user with 'select any table' grant

    Hello,
    I want a table to be non selectable for a particular user even if that user has a 'select any table' grant.
    either the query can return no rows or an error message, it doesn't matter.
    how can I achieve this with a standard database configuration? I mean I am not allowed to use any tool of Oracle like vault etc..
    thanks in advance...

    Fine-grained access control (aka VPD, more or less) is part of Enterprise Edition. It is not a separate tool. See Oracle Database Editions
    You can read about it here Using Oracle Virtual Private Database to Control Data Access
    The main thing to understand is the predicte-generating function, and all the opportunities there. This example is from a presentation I once gave to a local Oracle users group.
    The policy (not shown) specifies FGAC_PKG.FGAC_PREDICATE_FNC as the predicate-generating function. If the user has role FGAC_DEMO_ALL_COMPANIES_ROLE then his view is not restricted; if his username does not appear in the COMPANY_AUTHORIZATION table he will get an error when querying the protected table; otherwise he will be restricted to see only the companies he is authorized for. So this has some elements that may be useful to you.
    CREATE OR REPLACE PACKAGE BODY FGAC_DEMO_SCHEMA.FGAC_PKG AS
    FUNCTION  FORCE_FGAC_ERROR_FNC (in_object VARCHAR2) RETURN NUMBER IS
        e_not_authorized exception;
        PRAGMA exception_init(e_not_authorized, -20667);
    BEGIN
        RAISE e_not_authorized;
        RETURN (-1);  -- will NEVER get here (have already raised an error)
    EXCEPTION
       WHEN e_not_authorized  then
         RAISE_APPLICATION_ERROR (sqlcode,
                                  sqlerrm||'Access to '|| in_object ||
                                  ' requires access to at least one company, but none have been authorized.' );
    END FORCE_FGAC_ERROR_FNC;
    FUNCTION FGAC_PREDICATE_FNC (in_schema VARCHAR2, in_object VARCHAR2)
       RETURN VARCHAR2
    IS
       out_predicate   VARCHAR2 (400);
       c_filter_predicate constant varchar2(400) :=
          'COMPANY_ID IN (SELECT COMPANY_ID FROM COMPANY_AUTHORIZATION '||
          'WHERE USER_NAME = USER)';
       c_bypass_filtering_role VARCHAR2(30) := 'FGAC_DEMO_ALL_COMPANIES_ROLE';
       v_authorization_count NUMBER;
       c_error_predicate constant varchar2(400) :=
          'FGAC_DEMO_SCHEMA.FGAC_PKG.FORCE_FGAC_ERROR_FNC('''||
               in_schema||'.'||in_object||''') = 0';
    BEGIN
      IF DBMS_SESSION.is_role_enabled (c_bypass_filtering_role) THEN
          out_predicate :=  NULL;
      ELSE
         SELECT COUNT(*) INTO v_authorization_count
            FROM COMPANY_AUTHORIZATION
            WHERE USER_NAME = USER;
         IF  v_authorization_count = 0 then
           out_predicate :=  c_error_predicate;
         ELSE
          out_predicate :=  c_filter_predicate;
        END IF;
      END IF;
      RETURN out_predicate;
    END FGAC_PREDICATE_FNC;
    END FGAC_PKG;

  • Making new user & granting select any table privilages

    I want to make a new user account who have only select all tables privilages, i am trying this but it not working, please make correction...
    SQL> create user aaa identified aaabbbccc;
    SQL> grant connect, select any table to aaa;
    But its not working.......Plz forward the right commands...

    When you create new user, it has PUBLIC role privilegesPeter, what do you mean exactly ? The following is an extract from 10.2 documentation :
    When you create a user with the CREATE USER statement, the user's privilege domain is empty. To log on to Oracle Database, a user must have the CREATE SESSION system privilege. Therefore, after creating a user, you should grant the user at least the CREATE SESSION system privilege.

  • Grant select privilege to specific columns on a table to user in Oracle 9i

    Can anyone tell me how to grant select privilege to a user for specific columns in a table?
    I have tried the following statement
    GRANT SELECT (EMP_ID) ON EMP TO USER1
    But it's not working and I am getting this error "Missing ON Keyword".
    Please anyone tell me how to grant select privilege for specific columns.
    Edited by: 899045 on Nov 24, 2011 7:03 AM

    899045 wrote:
    Can anyone tell me how to grant select privilege to a user for specific columns in a table?
    I have tried the following statement
    GRANT SELECT (EMP_ID) ON EMP TO USER1
    But it's not working and I am getting this error "Missing ON Keyword".
    Please anyone tell me how to grant select privilege for specific columns.
    Edited by: 899045 on Nov 24, 2011 7:03 AMFrom the 9.2 SQL Reference manual, found at tahiti.oracle.com (http://docs.oracle.com/cd/B10501_01/server.920/a96540/statements_912a.htm#2062456)
    *"You can specify columns only when granting the INSERT, REFERENCES, or UPDATE privilege. "*

  • Unable to revoke "select any table" system priv

    I created a new user and unable to revoke select any table permissions. It appears that any new oracle user i create has the select any table permissions. I want to only alow this new user to select from 5 tables and not others. It seems as though there is a global setting on the database to allow select from any table. I can't change that if thats the case but i would like to create this restricted user.
    How can I modify permissions on my new oracle user to not allow select any table?
    Any help would be appreciated

    My thanks again to all that took the time to post!
    I ran those statements and the select that Aman had posted. The output surprised me and probably will lead to identifying the problem.
    As you can see below the SELECT ANY TABLE privilege is under the sessioni_privs. however im also confused why the "revoke select any table from ITEAMS;" didnt work. here is the output from the suggestions in your posts.
    SQL> connect iteams
    Enter password:
    Connected.
    SQL> show user
    USER is "ITEAMS"
    SQL> select * from dba_sys_privs where grantee = 'ITEAMS';
    GRANTEE PRIVILEGE ADM
    ITEAMS CREATE SESSION NO
    SQL> select * from session_privs;
    PRIVILEGE
    CREATE SESSION
    UNLIMITED TABLESPACE
    SELECT ANY TABLE
    SQL> connect sys as sysdba
    Enter password:
    Connected.
    SQL> show user
    USER is "SYS"
    SQL> revoke select any table from ITEAMS;
    revoke select any table from ITEAMS
    ERROR at line 1:
    ORA-01952: system privileges not granted to 'ITEAMS'
    SQL> select * from user_tab_privs_made where grantee='ITEAMS';
    no rows selected
    So if the SELECT ANY TABLE is within the session_privs as seen above. How can i reovke that priv?

  • Problem with MySQL - WLS61:General error: select command denied to user: 'foo@lion.e-pmsi.fr' for table 'finess'

    Hi
    I've been trying to adapt and deploy an enterprise appliaction developped and deployed
    before under JBoss.
    My database is MySQL and I use Together Control Center for development and hot deployment.
    After having modified a lot of things (the seamless protability seems always sor
    far :), now I get some strange error when deploying from withing Together Control
    Center 6.0:
    WLS61:General error: select command denied to user: '[email protected]' for table
    'finess'
    Off course the user foo has all possible and imaginable rights.
    Does anybody have an idea on how to get around it ?
    Thanks
    Alireza

    Found the answer... email that went to junk mail. Hope this helps others!
    Hello Subscription User,
     Thanks for choosing ClearDB for your database needs. We appreciate your business and 
     your interest in our services. Our commitment to all of our customers is that we 
     provide a high quality of service on all of our database systems. Part of that 
     commitment includes the enforcement of database size quotas in order to ensure 
     the highest quality of service for our customers.
     As such, we're sending you this automated message regarding one of your databases:
     Database: wp____
     Tier/Plan: Mercury
     Tier size quota: 20 MB
     This database has either reached or has exceeded its maximum allowed size for the 
     'Mercury' plan/tier that it currently belongs to. As such, our systems were forced to 
     place a read-only lock on it. We kindly encourage you to upgrade your database 
     to a larger tier/plan so that we can restore write privileges and enable complete 
     access to it from your account.
     If you feel that you have received this notification in error, please feel free 
     to contact us by replying to this email along with information that you feel may 
     assist us in assessing the situation with your database.
     Thanks again for choosing ClearDB,
     The ClearDB Team

  • Query to find who has select any table privs?

    HI.
    Whos has select any table privilege?
    I can find this for specific table, but i need to query it database wide.
    Is it object_privs? I am not sure which view.
    Thanks
    10.2.0.4
    Linux 4

    Hello,
    Select any privllege is a system privillege.
    you can use following query for finding who all has the select any table
    select GRANTEE,privilege from sys.dba_sys_privs where privilege='SELECT ANY TABLE';
    Anil Malkai

  • How to bind the data from user table into user report

    Hi All,
      Please assist me to bind the data from user table into user report. I did create an user table with data and create a user report template (using Query Print Layout). How can I display my data into report format which I created before? Any sample program or document I can refer?
    Platform: SAPB1 2005A
    Add On Language: VB.Net 2003
    Thanks.
    rgds
    ERIC

    Hi Ibai,
      Thanks for your feed back. I give you an example.
    Let say now i wanna print employee list, so i will go
    1. Main Menu -> Reports -> HR -> Employee List
    2. Choose the Selection Criteria -> OK
    3. Matrix will display (Employee List)
    4. I can print the report click on print button
    5. Printing report
    My target
    1. Main Menu -> Eric_SubMenu -> Employee List
    2. Matrix will display (Employee List)
    3. Print button
    4. Print report
    My problem
    Now I would like to use my own report format. My own report format means I wanna add on my logo or do some customization within the employee report. So how I am going to do? I only able to display the employee list in matrix. How do I create a new report format and display it.
    Thanks.
    rgds
    ERIC

  • Table for user status field in CJ20n transaction project defination

    HI ALL,
    what is table for user status field in CJ20n transaction project defination creation. This field is in Basic Data tab.
    Thanks.

    Hi,
    Check following tables for Usre status:
    TJ30 - User status
    TJ30T - Texts for user status
    TJ20 - Status profile
    JEST - Object status
    JSTO- WBS status profile.
    Check this code:
    REPORT zps_get_userstatus .
    PARAMETERS: p_posid LIKE prps-posid.
    *-- Constants
    CONSTANTS: gc_yes(1)     TYPE c                 VALUE 'X',
               gc_no(1)      TYPE c                 VALUE ' '.
    *-- Variables
    DATA: l_objnr LIKE prps-objnr.
    *-- Internal tables
    DATA: BEGIN OF lit_jest OCCURS 0,
           objnr LIKE jest-objnr,
           stat  LIKE jest-stat,
         END OF lit_jest.
    DATA: BEGIN OF lit_jsto OCCURS 0,
           objnr LIKE jsto-objnr,
           stsma LIKE jsto-stsma,
          END OF lit_jsto.
    DATA: BEGIN OF lit_status OCCURS 0,       "Combination of JEST & JSTO
              objnr LIKE jest-objnr,
              stsma LIKE jsto-stsma,
              stat  LIKE jest-stat,
            END OF lit_status.
    DATA: BEGIN OF lit_usrsta OCCURS 0,       "Uer status for all wbs
             objnr LIKE jest-objnr,
             stsma LIKE jsto-stsma,
             stat  LIKE tj30t-estat,
             txt04 LIKE tj30t-txt04,
           END OF lit_usrsta.
    DATA: BEGIN OF lit_usrtxt OCCURS 0,       "User Status text - TJ30T
            stsma LIKE tj30t-stsma,
            stat  LIKE tj30t-estat,
            txt04 LIKE tj30t-txt04,
          END OF lit_usrtxt.
    * get WBS object number
    SELECT SINGLE
         objnr FROM prps
               INTO l_objnr
               WHERE posid = p_posid.
    * get WBS active status from table JEST
    SELECT
          objnr
          stat
               FROM jest INTO TABLE lit_jest
               WHERE objnr =  l_objnr AND
                     inact <> gc_yes.
    * get WBS status profile from table JSTO
    SELECT
          objnr
          stsma FROM jsto
                INTO TABLE lit_jsto
                WHERE objnr =  l_objnr.
    * combine JEST and JSTO table for user status
    LOOP AT lit_jest.
      IF lit_jest-stat CP 'E++++'.
        READ TABLE lit_jsto WITH KEY
                            objnr = l_objnr.
        IF sy-subrc = 0.
          lit_status-objnr = lit_jest-objnr.
          lit_status-stsma = lit_jsto-stsma.
          lit_status-stat  = lit_jest-stat.
          APPEND lit_status.
        ENDIF.
      ENDIF.
      CLEAR: lit_jsto, lit_status.
    ENDLOOP.
    *  get text for user status
    SELECT DISTINCT
             stsma
             estat
             txt04 FROM tj30t
                   INTO TABLE lit_usrtxt
                   FOR ALL ENTRIES IN lit_status
                   WHERE stsma = lit_status-stsma AND
                         estat = lit_status-stat  AND
                         spras = sy-langu.
    Let me know if you have any question.
    Regards,
    RS

  • In which table deleted user information is stored

    Hi all,
    I have made one user ZTEST in sap through SU01. Its details has been stored in USR01 .
    When i deleted this user than the details of this user has been deleted from the tables USR01.
    After deletion on which table deleted user information is stored.
    Any BAPI is available which sgives the deleted table list .
    Thanks & regards

    Hi
    You can get current database status using the following BAPIs-
    BAPI_USER_EXISTENCE_CHECK
    BAPI_USER_GETLIST
    BAPI_USER_GET_DETAIL
    Also check the report RPUAUD00 in which you can find out new infotype creation/modification etc.
    Regards

  • In which table deleted user list is stored

    Hi all,
    I have made one user ZTEST in sap through SU01. Its details has been stored in USR01 .
    When i deleted this user than the details of this user has been deleted from the tables USR01.
    After deletion on which table deleted user information is stored.
    Any BAPI is available which sgives the deleted table list .
    Thanks & regards

    Hi Lolo,
    There is no table available in SAP to view the deleted user information. But you can connect to SQL & see the deleted user information.
    I think the command " SQL>show recyclebin;" will show you the deleted user information.
    Regards,
    Mahesh Gattu

  • Invalid table name "USERS" specified at position 21

    hi i'm getting this error when i try to execute sql statement like this:
    * @jc:sql statement="SELECT username FROM users WHERE username = {user}"
    public String checkLogin(String user) throws SQLException;
    and using it:
    try {
    String answer = shop.checkLogin(message1);
    } catch(SQLException ex) {
    ex.printStackTrace();
    the full exception is here:
    java.sql.SQLException: Invalid table name "USERS" specified at position 21.
    at com.pointbase.net.netJDBCPrimitives.handleResponse(Ljava.io.DataInput
    Stream;)V(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(Ljava.io
    .DataInputStream;)I(Unknown Source)
    at com.pointbase.net.netJDBCConnection.prepareStatement(Ljava.lang.Strin
    g;)Ljava.sql.PreparedStatement;(Unknown Source)
    at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ZLjava.lang
    .String;II)Ljava.sql.Statement;(ConnectionEnv.java:1190)
    at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ZLjava
    .lang.String;II)Ljava.lang.Object;(ConnectionEnv.java:932)
    at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ZLjava
    .lang.String;)Ljava.lang.Object;(ConnectionEnv.java:920)
    at weblogic.jdbc.wrapper.Connection.prepareStatement(Ljava.lang.String;)
    Ljava.sql.PreparedStatement;(Connection.java:359)
    at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(Ljava.lang.Strin
    g;)Ljava.sql.PreparedStatement;(JTSConnection.java:544)
    at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getStatement_v2(
    Ljava.lang.reflect.Method;[Ljava.lang.Object;ZLjava.lang.String;)Ljava.sql.Prepa
    redStatement;(DatabaseControlImpl.jcs:1676)
    at com.bea.wlw.runtime.core.control.DatabaseControlImpl.invoke(Ljava.lan
    g.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(DatabaseControlImpl.jcs:
    2567)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Obje
    ct;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:377)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object
    ;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.O
    bject;)Ljava.lang.Object;(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runt
    ime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.
    java:396)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runt
    ime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Inv
    ocable.java:248)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(Lcom.bea.wlw.ru
    ntime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(J
    csContainer.java:85)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.w
    lw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResu
    lt;(BaseContainerBean.java:224)
    at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(Lcom.bea.wlw.r
    untime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(
    SLSBContainerBean.java:103)
    at com.bea.wlwgen.StatelessContainer_ly05hg_ELOImpl.invoke(Lcom.bea.wlw.
    runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;
    (StatelessContainer_ly05hg_ELOImpl.java:45)
    at com.bea.wlwgen.GenericStatelessSLSBContAdpt.invokeOnBean(Ljava.lang.O
    bject;Lcom.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispa
    tcher.InvokeResult;(GenericStatelessSLSBContAdpt.java:62)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(Lcom.bea
    .wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(B
    aseDispatcherBean.java:153)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(Lcom.bea.wlw.
    runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(BaseDi
    spatcherBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(Lcom.bea.wlw.
    runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(SyncDi
    spatcherBean.java:168)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Lco
    m.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Respon
    se;(SyncDispatcher_k1mrl8_EOImpl.java:46)
    at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Lcom.be
    a.wlw.runtime.core.dispatcher.DispFile;Lcom.bea.wlw.runtime.core.request.Request
    ;)Lcom.bea.wlw.runtime.core.request.Response;(Dispatcher.java:161)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(Lcom.bea
    .wlw.runtime.core.request.Request;)Ljava.lang.Object;(ServiceHandleImpl.java:436
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl._invoke(Lcom.bea.wlw
    .runtime.core.request.ExecRequest;)Ljava.lang.Object;(WlwProxyImpl.java:326)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(Ljava.lang.Ob
    ject;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(WlwProxyIm
    pl.java:315)
    at $Proxy16.sprawdzLogin(Ljava.lang.String;)Ljava.lang.String;(Unknown S
    ource)
    at shop.ShopController.Login(Lshop.ShopController$LoginForm;)Lcom.bea.wl
    w.netui.pageflow.Forward;(ShopController.jpf:111)
    at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.
    lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.l
    ang.Object;)Ljava.lang.Object;(Unknown Source)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[
    Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    can someone tell me why is this happening, i'm getting this error even though mysql server is shut down
    thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Is the users table is in pointbase db or sql server, in the exception it looks like it is looking up in pointbase db for users table. check you connection @jc:connection data-source-jndi-name of your database control.

  • How to hide table control in a screen

    Hi, Gems,
    I want to hide the table control.Using "loop at screen" I am able to hide all other components except table control.
    Can anyone tell me how to hide table control in a screen?
    Any help will be appreciated.
    -Thanks
    Surajit.

    Hi,
    In the PBO (in a module outside to the LOOP...ENDLOOP), use this
    MODULE status_0100 OUTPUT.
    IF sy-ucomm EQ space.   "Give the function code on which you want to make your table control go invisible
                                              "Give a space if you want your table control to remail invisible on display of the screen
        CLEAR: t_header[].
        LOOP AT tabcontrol1-cols[] INTO wa_control1.
          wa_control1-invisible = '1'.
          MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
        ENDLOOP.
    ENDMODULE. 

  • How to hide table header for empty table

    Hi,
    I wanna to hide table header for all tables which doesn't contain any data in my Adobe form. How can I do this? Helpful answers will be rewarded .

    HI Aliaksandr,
    You can use javascript to do this dynamically.
    For example, i used Adobe Designer 7.1 to add a table to a subform.
    Now, i have the object hierchy as:
    Level 1 - form1
    Level 2 - form2
    Level 3 - Table1
               -->HeaderRow
                    --> Cell1
                    --> Cell2
               -->Row1
                    --> Cell1
                    --> Cell2
    Now, i sleect the Table1 element, and write the javascript which is executed on Initialization, as
    if(this.Row1.Cell1.rawValue == "")
    this.HeaderRow.presence = "hidden" ;
    This will check that if the first row is empty, it will hide the header from the layout.
    You can use something similar for your requirement.
    Hope this helps,
    Siddhartha Jain

Maybe you are looking for

  • Save SSRS Report as pdf using Reporting Services

    I've been trying to convert a SSRS Report to PDF and save to my local drive using the Reporting Web Services. Though I'm able to generate the corresponding pdf file but the contents of the file are missing. I've checked that the report I'm trying to

  • How to make a border around text?

    In my latest FCE project, I made a solid color matte clip (dark blue) to set below my titles to give the text a colored background (these titles are not overlaid on video clips, so without the colored matte, the background would be the default black

  • IMovie '09 just won't work

    I was working on a video in iMovie '09 and it stopped responding. So I forced closed and opened back up and since then (about 2 weeks ago) it just doesn't work, and by that I mean I can click nothing, nothing is responding but when I go to force clos

  • HT4972 iphone updation

    i can't update my iphone 3gs software 5 to 5.1, its shows an error (There was a problem downloading the software for the iphone, an unknown error occured (-23) ) when i restore the iphone its shows the same error, what should I do ?? I am inserting t

  • So I have a tmobile iphone 5s and it's stuck on the white screen with black logo I tried restoring it with iTunes

    MMy phone been stuck in recovery mode tried to restore it nothing worked what can I do its at mobile iphone 5sSo I have a tmobile iphone 5s and it's stuck on the white screen with black logo I tried restoring it with iTunes & iTunes is just telling m