Doubt on tables

Dear experts
i created a data base table from my user(login)..if other user wants to enter data into my table it has to show some message,i.e  other user should not be allowed to work on my table..... How?????????Plz help me 
thanks in advance
somesh
Edited by: venkata  someshwar on Jun 12, 2008 11:52 AM

hi Someshwar,
While creating the table if u want to that tabel to be in limited to only some users then  u have set  in the delivary and miantainace tab as delivary and maintainance allowed with restrictions.
reward if usefull,
Thanks,
Kalyan.

Similar Messages

  • Doubt on Table Partitions

    hello,
    i am junior dba our company deals with health care products,
    in our project we have a USER REGISTRATION table,in which every user should
    register in that table before joining in the hospital.
    That table contains lakhs of records ,and we made date wise partitions on that table.
    Now my doubt is, all the transactions that are under the particular month will store
    in the appropriate partition.
    for example:
    All the data in the month (MARCH) will store in the (MARCH)partition
    my table contains USERREGISTEREDDATE field default is SYSDATE.
    Now i wan't to change the USERREGISTEREDDATE field which is
    stored in the (MARCH)partition to APRIL ,it is not allowing to change the date,
    because registrations that are done under MARCH are stored in that (MARCH)partition
    can u please give solution to me
    regards
    lakshmi

    Migration of rows to new partitions based on key value changes can be controlled by application of the ENABLE/DISABLE ROW MOVEMENT clause in the CREATE and ALTER TABLE statements.
    ALTER TABLE tableName ENABLE ROW MOVEMENT;
    ~ Madrid.

  • Doubt in table control

    I have a table control on a custom screen containing several rows of data depending on the user input on the selection screen . This table control has 5 columns .
    The first column name is KEY . it contains value of a number of fields concatenated together forming a key .
    For eg : the fields are matnr mblnr xblnr , so the value in this column would be something like : value of all 3 fields together without any space . My problem is that i do not know the number of these fields till run time , so i do not know whether the key field will contain data from 5 fields or 4 fields ..
    My question is this : I want to make the column heading dynamic for this field ..for eg if there is data for 2 fields like matnr and xblnr ,then the heading shud be material number - xblnr or if there are 4 fields ..then the heading shud be the description of those 4 fields ..
    Is this possible . Can i make the column header of a table control dynamic .
    Kindly help me out as it is urgent ..
    I will duly reward all ..
    Thanks in advance
    Ankit

    Hi Ankit,
    I dont think its possible in Table Control to change the column headings dynamically.
    But this is possible in ALV. You just need to put a If condition in the field catalog.
    Will suggest you to go for ALV.
    Best regards,
    Prashant
    Pls. mark points for helpful answers

  • Doubt on Table Filter

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my project.
    In one of my pages,I display a table with 3 columns with one of the columns displaying a dropdown[selectOneChoice] and other 2 columns with input texts[Ex:EmpName,Salary,Sex[Male/Female] ].
    I have filter enabled in my table. For the dropdowns I display Male/Female in U.I and store M/F in DB.
    But the problem is for the filter, it works only if I give M/F..but it should work for Male/Female as this is data user sees.
    Please advice on how to achieve this.
    Regards,
    Praveen

    its better if you do it programatically like
    http://fusionstack.blogspot.com/2009/08/adf-table-and-qbe.html

  • Doubt in tables for Graphs and Charts

    Hi all
    I have finished with the creation of bar graph and pie graph for anothe application but iam unable to get the tables that displays the data for the graphs... Also the pie graph and bar graph are coming at a stretch i donot have the option of selecting the Bar graph and Pie graph...
    Pls help me out in fixing this issue
    Ganesh

    Hi all
    I have finished with the creation of bar graph and pie graph for anothe application but iam unable to get the tables that displays the data for the graphs... Also the pie graph and bar graph are coming at a stretch i donot have the option of selecting the Bar graph and Pie graph...
    Pls help me out in fixing this issue
    Ganesh

  • Doubt in Table maintenance  Generator

    Hi all
    I have created one table.  That table contains following fields
    MANDT     MANDT
    ALERTID     CHAR6
    COUNTRY     LAND1_GP
    IDNO     INT1
    ROLE     CHAR30
    MODUL     CHAR2
    LASTCREATEDON     DATE
    LASTCREATEDBY     CHAR12
    LASTCHANGEDON     DATE
    LASTCHANGEDBY     CHAR12
    when i creating table maintenance generator, the following log occured
    " Field ZMMIN_ALERT_ROLE-ROLE shortened (new visible length: 000015)"
    System Response
    The generation continues, but field ZMMIN_ALERT_ROLE-ROLE is a rollable field with visible length 000015 on screen 0110.
    meanwhile, i want to change field caption in sm30 for that table?

    Hi,
    Delete the table maintance generator once and regenerate the same.
    for changing caption: you have to follow the below procedure:
    In the table maintanance screen:
      click on 'OVER VIEW CREEN'.
                       click on ELEMENT LIST
                             click on 'TEXT I/O TEMPLATES'
                  here enter the title what ever you want. this will be reflected in the SM30.
    i hope your problem will be solved,
    Reward me if i gave right solution.
    Thanks
    Murali

  • Doubts in table control.

    Hi All.
    I need to create ALV report with check box and add push buttons on appilcation toolbar like selectall, deselect.
    If press selectall all check box need to be checked, if I press deselect all check boxes need to deselected .how to do the logic, please help me resolve this problem.
    Regards.
    Jay
    Edited by: Jay on Sep 17, 2008 2:04 PM

    Hi,
    In ur internal table there must be a field of type C let it be line_sel, if it   holds value X, record is selected and vice-versa.
    When u press select all button.
    loop at itab where line_Sel <> 'x'.
    itab-line_sel = 'x'.
    modify itab index sy-tabix.
    endloop.
    and vice-versa for deselect

  • Doubt in Table Function?

    Hi,
    I created a Table funtion.
    Its working fine.
    After processing every record, I am piping the record.
    Can we pipe bulk records (for ex: 50 records) ?
    Is there any advantange in pefromance?
    Thanks in advance.
    Thank you,
    Regards,
    Gowtham Sen

    U can check this too --
    SQL> CREATE OR REPLACE TYPE myrec AS OBJECT
      2  ( col1   VARCHAR2(10),
      3    col2   VARCHAR2(10)
      4  )
      5  /
    Type created.
    SQL>
    SQL> CREATE OR REPLACE TYPE myrectable AS TABLE OF myrec
      2  /
    Type created.
    SQL>
    SQL> CREATE OR REPLACE FUNCTION pipedata(p_str IN VARCHAR2) RETURN myrectable PIPELINED IS
      2    v_str VARCHAR2(4000) := REPLACE(REPLACE(p_str, '('),')');
      3    v_obj myrec := myrec(NULL,NULL);
      4  BEGIN
      5    LOOP
      6      EXIT WHEN v_str IS NULL;
      7      v_obj.col1 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
      8      v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
      9      IF INSTR(v_str,',')>0 THEN
    10        v_obj.col2 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
    11        v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
    12      ELSE
    13        v_obj.col2 := v_str;
    14        v_str := NULL;
    15      END IF;
    16      PIPE ROW (v_obj);
    17    END LOOP;
    18    RETURN;
    19  END;
    20  /
    Function created.
    SQL>
    SQL> create table mytab (col1 varchar2(10), col2 varchar2(10));
    Table created.
    SQL>
    SQL> insert into mytab (col1, col2) select col1, col2 from table(pipedata('(1,2),(2,3),(4,5)'));
    3 rows created.
    SQL>
    SQL> select * from mytab;
    COL1       COL2
    1          2
    2          3
    4          5Regards.
    Satyaki De.

  • Doubts in Table Maintenance.

    Hi All.
    I have to create the entries in Ztable maintenance.
    Fields as follows in table
    PERSK, ZDIST, ZCOT.
    While creating new entries in table, need to populate search help for the field PERSK.
    Search help of PERSK is need to get values  if PA0001-WERKS = u2018EAAAu2019.
    How to do this?
    Shall I use table events?
    If yes How to do the code in routine in table events?
    Please guide me.
    Thanks.
    Regards.
    Jay

    Hi,
    It is possible with a minor change .....
    In the table declare the field PERSK...
    In the Data Element part declare a custom Data Element with domain PERSA, and maintain other attributres as instructed to u.
    After all fields are ready, assign Foreign Key relationship with table T500P for the field PERSK.
    Regards,
    Pulokesh

  • Doubt about table locks

    i have a master table from which many other child tables take data for various summarizations. I have a cron tab in unix which calls oracle stored procedures to populate each of these tables in a sequential manner. For example table 1 starts getting populated at 6 am and is reading data from master table and the process goes on till 8 am. If another table 2 starts getting populated at 7 am and has to get data from the same rows as table 1 is reading . Will table 2 be able to access the mater table entirely without missing any rows?
    Thank you

    Given we have no version number and no code we have no way of knowing what you are or are not doing. Not even whether foreign key constraints exist. Thus no help is possible based on what little you've posted.
    The one bit of advice I will give is that I have not found a valid reason to use a *NIX cron job in a decade. Assuming a currently supported version of the product throw it away and use DBMS_SCHEDULER.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Doubt in table control in wd abap

    Hi experts,
        In webdynpro abap i can able to insert a single row in a table control, but how i can able to insert multiple lines in the webdynpro. If possible send me a piece of code to implement this. It will be very helpful for me.
    Regards...
    Arun.

    Hi,
      Let you internal table be lt_user , LV_USERNODE be the corresponding context node where you want the binding.You need to append empty rows if you need to have multiple rows where user can enter values.
    Like follows
    DO 5 TIMES.
    Append ls_user to lt_user.   ( here ls_user in initial )
    ENDDO
    CALL METHOD LV_USERNODE->BIND_TABLE
      EXPORTING
        NEW_ITEMS            = lt_user
       SET_INITIAL_ELEMENTS = ABAP_TRUE
       INDEX                =
    Thanks
    Anzy

  • Doubt in  Table Maintanace

    Hi,
      Any one plz tell me what is the exact use of table maintenance, wht is the functionality.
    I am new for data dictionary

    We can use table maintenance for making the creation,deletion,changing the entries easily.
    We can even make use of the validations required for some fields thro' table maintenance,while creating the entry.
    If some fields need to be populated automatically while creating an record in a database,we can make use of table maintenance for this purpose.
    When the extended table maintenance is called, a work area is fetched from the database into an internal buffer for processing on the screen. Either all entries in the database are fetched into the work area, or the selection can be restricted in a view definition or in the calling program.
    Field contents are maintained in an internal buffer, so the database is not automatically accessed after each individual record has been maintaIned. Changes made are only copied from the internal buffer to the database when save is chosen. This buffering gives the maintenance procedure a transaction orientation. This gives you the possibility of discarding changes before the database access (user-controlled "rollback") and allows consistency checks for all changed data, before it is written to the database.
    FOR MORE DETAILS ON TABLE MAINTENENCE VISIT:
    http://help.sap.com/saphelp_erp2005/helpdata/en/69/c251474ba111d189750000e8322d00/frameset.htm

  • Doubt on Table Constraints

    I have a table say OLD_TABLE. Now I want to create another table say NEW_TABLE which should be EXACTLY the same as OLD_TABLE. When I say "EXACTLY" the same I mean the data type of all the columns, Constraints (if any), primary key and foreign keys (if any) and every other thing must be the same as OLD_TABLE. Only the rows (or data) will differ between OLD_TABLE and NEW_TABLE and nothing else.
    What query should I ues to acheive this? Pls advice!
    Edited by: TuX4EvA on Dec 18, 2009 2:00 AM

    You may want to have a look at DBMS_METADATA package.
    As an example:
    sql> set long 4000
    sql> select dbms_metadata.get_ddl('TABLE','EUL_GW_COLS','ODM_USER') from dual;
    DBMS_METADATA.GET_DDL('TABLE','EUL_GW_COLS','ODM_USER')
      CREATE TABLE "ODM_USER"."EUL_GW_COLS"
       (    "C_O_SCHEM_NAME" VARCHAR2(64) NOT NULL ENABLE,
            "C_O_OBJ_NAME" VARCHAR2(64) NOT NULL ENABLE,
            "C_COL_NAME" VARCHAR2(64) NOT NULL ENABLE,
            "C_SQL_DERIVATION" VARCHAR2(240),
            "C_DATATYPE" VARCHAR2(70) NOT NULL ENABLE,
            "C_NULL_INDICATOR" VARCHAR2(10) NOT NULL ENABLE,
            "C_HIDDEN" VARCHAR2(1) NOT NULL ENABLE,
            "C_LENGTH" NUMBER(22,0),
            "C_DECIMAL_PLACES" NUMBER(22,0),
            "C_DISP_NAME" VARCHAR2(100),
            "C_HEADING" VARCHAR2(240),
            "C_DESCRIPTION" VARCHAR2(240),
            "C_DISP_SEQ" NUMBER(22,0),
            "C_DISP_LENGTH" NUMBER(22,0),
            "C_CASE_DISPLAY" VARCHAR2(10),
            "C_CASE_STORAGE" VARCHAR2(10),
            "C_ALIGNMENT" VARCHAR2(10),
            "C_FORMAT_MASK" VARCHAR2(100),
            "C_C_LOV_SCHEM_NAME" VARCHAR2(64),
            "C_C_LOV_OBJ_NAME" VARCHAR2(64),
            "C_C_LOV_COL_NAME" VARCHAR2(64),
            "C_DEF_ROLLUP_FUNC" VARCHAR2(70),
            "C_DISP_NULL_VALUE" VARCHAR2(240),
            "C_ORD_CLAUSE_POS" NUMBER(22,0),
            "C_ORD_DIRECTION" VARCHAR2(10),
            "C_PLACEMENT" VARCHAR2(10),
            "C_CONTENT_TYPE" VARCHAR2(100),
             CONSTRAINT "EUL_GW_COLS_UNQ" UNIQUE ("C_O_SCHEM_NAME", "C_O_OBJ_NAME", "C_COL_
    NAME")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"It will give you the exact DDL to create the same table with all the constraints in place including primary keys, foreign keys and not nulls.
    You will only need to replace the names for anything suitable to you.
    LW

  • Doubt in table connection

    Hi  all,
             I have a small problem, i have 2 'Z' tables with same fields. but some records are different from the both. i want to write mismatched records. How to do that?
    Ex: ztab1 & ztab2 have matnr field but in ztab1 have a,b,c records. in ztab2 have a, b,c, ab, bc, cd, ef.  i want to print only ab, bc, cd, ef. plz give soln.
    Gowri

    data:
    itab1 like table of ztab1 with header line,
    itab2 like table of ztab2 with header line,
    w_lines1 type i,
    w_lines2 type i.
    select * from ztab1 into itab1.
    select * from ztab2 into itab2.
    sort itab1 by matnr.
    sort itab2 by matnr.
    describe table itab1 lines w_lines1.
    describe table itab2 lines w_lines2.
    if w_lines1 GE w_lines2.
    loop at itab1.
    read table itab2 with key matnr = itab1-matnr binary search.
    if sy-subrc ne 0.
    write:/ itab1-matnr.
    endif.
    endloop.
    else.
    loop at itab2.
    read table itab1 with key matnr = itab2-matnr binary search.
    if sy-subrc ne 0.
    write:/ itab2-matnr.
    endif.
    endloop.
    endif.

  • Doubt Regarding Table Accessed via DB Link

    I have the following SQL:
    select * from tab1@db_link tab1, tab2
    where tab1.col1=tab2.col2
    and tab1.col2=99;
    Can I ensure that Oracle brings data corresponding to:
    select * from tab1@db_link tab1
    where tab1=99;
    and then joins the data with tab2.
    What could be fastest way to access data in this manner? Basically i need to tune a similar query.

    No not much difference. On both the cases oracle goes for the same plan. Here is a small test case
    select t.*
      from t@to_inlabnew t, t1
    where t.object_id = t1.object_id
       and t.object_type = 'TABLE'
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.03       0.16          0          0          1           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch      171      1.09       1.68          0          6          0        2544
    total      173      1.12       1.84          0          6          1        2544
    Rows     Execution Plan
          0  SELECT STATEMENT   GOAL: ALL_ROWS
       2544   HASH JOIN
       1000    INDEX   GOAL: ANALYZED (FAST FULL SCAN) OF 'T1_IDX' (INDEX)
    199792    REMOTE OF 'T' (REMOTE)
                   [TO_INLABNEW.REGRESS.RDBMS.DEV.US.ORACLE.COM]
                  SELECT "OWNER","OBJECT_NAME","SUBOBJECT_NAME","OBJECT_ID",
                  "DATA_OBJECT_ID","OBJECT_TYPE","CREATED","LAST_DDL_TIME",
                  "TIMESTAMP","STATUS","TEMPORARY","GENERATED","SECONDARY" FROM
                    "T" "T" WHERE "OBJECT_TYPE"='TABLE'
    select t.*
      from (select * from t@to_inlabnew where object_type = 'TABLE') t, t1
    where t.object_id = t1.object_id
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch      171      1.09       1.46          0          6          0        2544
    total      173      1.09       1.46          0          6          0        2544
    Rows     Execution Plan
          0  SELECT STATEMENT   GOAL: ALL_ROWS
       2544   HASH JOIN
       1000    INDEX   GOAL: ANALYZED (FAST FULL SCAN) OF 'T1_IDX' (INDEX)
    199792    REMOTE OF 'T' (REMOTE)
                   [TO_INLABNEW.REGRESS.RDBMS.DEV.US.ORACLE.COM]
                  SELECT "OWNER","OBJECT_NAME","SUBOBJECT_NAME","OBJECT_ID",
                  "DATA_OBJECT_ID","OBJECT_TYPE","CREATED","LAST_DDL_TIME",
                  "TIMESTAMP","STATUS","TEMPORARY","GENERATED","SECONDARY" FROM
                    "T" "T" WHERE "OBJECT_TYPE"='TABLE'

Maybe you are looking for

  • Could Not Sign In. An unknown error has occurred (App Store on iPad)

    Hi, I've just bought an iPad mini today. I have also created an Apple ID which is work fine with FaceTime and iMessage (already test call and sent text). But when I tried to login to App Store it said "Could Not Sign In. An unknown error has occurred

  • Asset report layout problem (S_ALR_87015066, S_ALR_87015065 )

    Hi SAP Gurus, I have a problem with Standard Asset reports S_ALR_87015066, S_ALR_87015065 in saving the layout. I need to save a layout and executed at all times to the user. Please let me know is there any config settings to do this. Thanks in Advan

  • How do u put a software cd in the new imac?

    how do i put a cd in my new imac?

  • Something is eating harddrive on my Mac?.. Time Machine?

    Hello, every day I have less and less disk space on my StartUp disk. Like by two, three gigs or more a day. I'm not downloading anything, just browsing the web... Browsing the web should consume 10s of megs, rather than gigs... And after like, two we

  • Review/Comment Problem

    When I send a pdf for someone to comment, he gets the document and puts his comments onto it. Then he clicks the send button. When he does this, his email address shows up on address line instead of mine. He can change it but when he does this and se