Create table with PL/SQL

<p style="margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">Hi,</font></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">I would like to create a table with PL/SQL statement. I wrote that :</font></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">IF</font><font SIZE="2"> T_Exists </font><font SIZE="2" COLOR="#0000f0">=</font><font SIZE="2"> </font><font SIZE="2" COLOR="#ff0000">'N'</font><font SIZE="2"> </font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">THEN</font></p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"></font><font SIZE="2" COLOR="#008000" face="Courier New">-- Create the table</p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">  CREATE</font><font SIZE="2"> </font><font SIZE="2" COLOR="#0000f0">TABLE</font></font><font face="Courier New" size="2"> T_Name</font></p>
<p style="margin-top: 0; margin-bottom: 0"><font SIZE="2" COLOR="#0000f0" face="Courier New">  (</p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"><font face="Courier New">    EXPLICITKEY </font></font><font face="Courier New"><font SIZE="2" COLOR="#ff0000"> VARCHAR2</font><font SIZE="2" COLOR="#0000f0">(</font><font SIZE="2" COLOR="#800000">25</font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">),</font></p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"><font face="Courier New">    BALANCE </font></font><font face="Courier New"><font SIZE="2" COLOR="#ff0000">     NUMBER</font><font SIZE="2" COLOR="#0000f0">(</font><font SIZE="2" COLOR="#800000">15</font><font SIZE="2" COLOR="#0000f0">,</font><font SIZE="2" COLOR="#800000">2</font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">),</font></p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"><font face="Courier New">    PERIOD01 </font></font><font face="Courier New"><font SIZE="2" COLOR="#ff0000">    NUMBER</font><font SIZE="2" COLOR="#0000f0">(</font><font SIZE="2" COLOR="#800000">15</font><font SIZE="2" COLOR="#0000f0">,</font><font SIZE="2" COLOR="#800000">2</font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">),</font></p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"><font face="Courier New">    PERIOD02 </font></font><font face="Courier New"><font SIZE="2" COLOR="#ff0000">    NUMBER</font><font SIZE="2" COLOR="#0000f0">(</font><font SIZE="2" COLOR="#800000">15</font><font SIZE="2" COLOR="#0000f0">,</font><font SIZE="2" COLOR="#800000">2</font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">),</font></p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"><font face="Courier New">    PERIOD03 </font></font><font face="Courier New"><font SIZE="2" COLOR="#ff0000">    NUMBER</font><font SIZE="2" COLOR="#0000f0">(</font><font SIZE="2" COLOR="#800000">15</font><font SIZE="2" COLOR="#0000f0">,</font><font SIZE="2" COLOR="#800000">2</font></font><font face="Courier New" SIZE="2" COLOR="#0000f0">),</font></p>
<font SIZE="2" face="Courier New"><p style="margin-top: 0; margin-bottom: 0">  </font><font SIZE="2" COLOR="#0000f0" face="Courier New">);</p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"></font><font SIZE="2" COLOR="#0000f0" face="Courier New">ELSE</p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"></font><font SIZE="2" COLOR="#008000" face="Courier New">-- Truncate the table</p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">  DELETE</font><font SIZE="2"> </font><font SIZE="2" COLOR="#0000f0">FROM</font><font SIZE="2"> T_Name</font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">;</font></p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">END</font><font SIZE="2"> </font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">IF;</font></p>
</font>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">But there is an error :</font></p>
<p style="margin-left: 10; margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">PLS-00103: Encountered the symbol &quot;CREATE&quot; when expecting one of the following:</font></p>
<p style="margin-left: 10; margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">begin case declare exit for goto if loop mod null pragma</font></p>
<p style="margin-left: 10; margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">raise return select update while with &lt;an identifier&gt;</font></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">Do you know why ?</font></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">Thank you for you help.</font></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><i><b><font face="Tahoma" size="2">Patrick</font></b></i></p>

Thank you very much. And you're right because there is an error with the table <b>T_Name</b> because it doesn't exit. But <b>T_Name</b> is a variable with the name of the table to manage.
How can I send a variable name of table in the part :
<p style="margin-top: 0; margin-bottom: 0"> </p>
</font><font SIZE="2"><p style="margin-top: 0; margin-bottom: 0"></font><font face="Courier New"><font SIZE="2" COLOR="#0000f0">  DELETE</font><font SIZE="2"> </font><font SIZE="2" COLOR="#0000f0">FROM</font><font SIZE="2"> T_Name</font></font><font SIZE="2" COLOR="#0000f0"><font face="Courier New">;</font></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><font face="Tahoma" size="2">Thank you.</font></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><i><b><font face="Tahoma" size="2">Patrick</font></b></i></p>

Similar Messages

  • ERROR creating table with dynamic SQL :-(

    Hi friends,
    I have a problem when I try to create a table using dynamic SQL.
    (Env.: Forms 6i, WinXP, Oracle 9i)
    I only want to create a table, insert data and drop the table.
    I have a user with the correct privileges (At least ....I think so), because I can to make the three actions in SQL*PLUS (CREATE TABLE, INSERT .. and DROP TABLE).
    I want to do the same in Forms using dynamic SQL...
    I've made a package with 3 procedures:
    1st to create the table, 2nd to insert data , 3rd to drop the table.
    Only the 1st fails with the error ORA-01031 (insufficient privileges).
    Here it is:
    PROCEDURE PRO_DM_CreaTabla(pe_nombre_tabla VARCHAR2) IS
    id_cursor INTEGER;
    ls_sentencia VARCHAR2(500);
    v_dummy integer;
    BEGIN
    id_cursor := DBMS_SQL.OPEN_CURSOR;
    ls_sentencia := 'CREATE TABLE '||pe_nombre_tabla||' ( campo1 VARCHAR2(100), campo2 VARCHAR2(100), campo3 VARCHAR2(100),campo4 VARCHAR2(100))';
    DBMS_SQL.PARSE(id_cursor, ls_sentencia, dbms_sql.NATIVE);
    v_dummy := dbms_sql.execute(id_cursor);
    DBMS_SQL.CLOSE_CURSOR(id_cursor);
    END;
    The DROP_table procedure is exactly the same as this (with the difference of the 'CREATE' sentence, where I have a DROP sentence)... then.. why the DROP procedure works?... and.. why this CREATE procedure doesn't work?
    Any ideas?
    Thanks a lot.
    Jose.

    From a different thread, Jose wrote:
    V_INSERT:='INSERT INTO TMP_TABLE(field1,field3,field3,field4) VALUES (1,2,3,4)';
    Forms_DDL(V_INSERT);
    commit;First, try your statement in SQL Plus:
    INSERT INTO TMP_TABLE(field1,field3,field3,field4) VALUES (1,2,3,4);
    Then if that works, try doing this right after the Forms_DDL(V_INSERT);
    If not form_success then
      Message('   Insert has failed');
      Raise form_trigger_failure;
    Else
      Forms_DDL('COMMIT');
    End if;

  • Create data base table with EXEC SQL

    Hello,
    I nead to create o data base table with EXEC SQL in an Abap program.
    My code is :
    TRY.
       EXEC SQL.
          CREATE table zt_hello ( mandt char(4) NOT NULL,
                                  kunnr char(10) NOT NULL,
                                  PRIMARY KEY (mandt, kunnr) )
        ENDEXEC.
      CATCH cx_sy_native_sql_error INTO exc_ref.
        error_text = exc_ref->get_text( ).
    ENDTRY.
    IF sy-subrc = 0.
      COMMIT WORK.
    ENDIF.
    But it still not working.
    Can you help me please.
    Thanks.
    Edited by: widad soubhi on Jul 14, 2010 5:26 PM

    Please refer this code
    REPORT z_struct_create .
    DATA: my_row(500) TYPE c,
    my_file_1 LIKE my_row OCCURS 0 WITH HEADER LINE.
    DATA: dd02v TYPE dd02v.
    DATA: my_file_tab1 LIKE dd03p OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME TITLE text
    NO INTERVALS.
    PARAMETERS:
    name TYPE ddobjname,
    testo TYPE text40,
    file_1 LIKE rlgrap-filename.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK blk.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file_1.
    PERFORM file_selection USING file_1.
    INITIALIZATION.
    text = text-001.
    START-OF-SELECTION.
    IF file_1 IS INITIAL.
    MESSAGE ID 'Z0017_BDI' TYPE 'I' NUMBER 001.
    EXIT.
    ENDIF.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = file_1
    filetype = 'ASC'
    TABLES
    data_tab = my_file_1.
    IF sy-subrc 0.
    MESSAGE ID 'Z0017_BDI' TYPE 'I' NUMBER 002.
    EXIT.
    ENDIF.
    LOOP AT my_file_1.
    IF sy-tabix > 1.
    CLEAR my_file_tab1.
    SPLIT my_file_1 AT ';' INTO
    my_file_tab1-fieldname
    my_file_tab1-datatype
    my_file_tab1-leng
    my_file_tab1-decimals
    my_file_tab1-ddtext
    my_file_tab1-inttype = 'C'.
    my_file_tab1-INTLEN = my_file_tab1-leng.
    my_file_tab1-tabname = name.
    my_file_tab1-position = sy-tabix - 1.
    my_file_tab1-ddlanguage = sy-langu.
    my_file_tab1-OUTPUTLEN = my_file_tab1-leng.
    APPEND my_file_tab1.
    ENDIF.
    ENDLOOP.
    dd02v-tabname = name.
    dd02v-ddlanguage = sy-langu.
    dd02v-tabclass = 'INTTAB'.
    dd02v-DDTEXT = testo.
    dd02v-MASTERLANG = sy-langu.
    IF NOT my_file_tab1[] IS INITIAL.
    CALL FUNCTION 'DDIF_TABL_PUT'
    EXPORTING
    name = name
    dd02v_wa = dd02v
    TABLES
    dd03p_tab = my_file_tab1
    EXCEPTIONS
    tabl_not_found = 1
    name_inconsistent = 2
    tabl_inconsistent = 3
    put_failure = 4
    put_refused = 5
    OTHERS = 6
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ELSE.
    MESSAGE ID 'Z0017_BDI' TYPE 'I' NUMBER 003.
    EXIT.
    ENDIF.
    *& Form file_selection
    -->P_FILE_1 text
    FORM file_selection USING p_file.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    def_filename = ''
    def_path = 'c:\'
    mask = ',.,..'
    mode = '0'
    title = 'Selezione file'
    IMPORTING
    filename = p_file
    RC = RCODE
    EXCEPTIONS
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    OTHERS = 5.
    ENDFORM. " file_selection
    File Template:
    Fieldname;Data Type;Lentgh;Dec.;Descr.
    FIELD1;CHAR;000020;000000;my field 1
    FIELD2;CHAR;000008;000000;my field 2
    FIELD3;CHAR;000007;000000;my field 3
    FIELD4;CHAR;000006;000000;my field 4

  • Unable to create table with column default value with date interval

    Please help to create table with calculated date defaullt value:
    CREATE TABLE emp (
      birth_date  DATE  DEFAULT sysdate + interval '3' day NOT NULL
    or
    CREATE TABLE emp (
      some_date DATE,
      birth_date  DATE  DEFAULT some_date NOT NULL
    or
    CREATE TABLE emp (
      some_date DATE,
      birth_date  DATE  DEFAULT some_date + interval '3' day NOT NULL
    below syntax error:
    TT1001: Syntax error in SQL statement before or at: "+"

    I'm afraid this is not possible; as per the SQL Reference, TimesTen only supports 'constant expressions' for the DEFAULT clause and none of these are constant expressions.
    Chris

  • How to create CATALOG with MS SQL Server?

    Connection class has getCatalog(strCatalog) method. In order to use it, we must create CATALOG in Database?
    How to create CATALOG with MS SQL Server?
    Help me, please!!!

    You do not create these for any database, this is part of the Connection metadata.
    The Catalog is the third level of table-like database object qualification as in "Catalog.Schema.Table". For SQLServer the qualification scheme is "Database.Owner.Table" and I would be surprised if they reported anything for the current connections getCatalog() method call.
    What many people do is avoid table qualification altogether by setting the connection's context in a database proprietary manner and then keeping the SQL as clean as possible. For many ODBC and JDBC drivers this can be set in the configuration. For MS SQLServer you can also execute a "USE dbname" statement on the connection to avoid table qualification.

  • Problem CREATE TABLE with PRIMARY KEY Still in Trouble ! Please Help!

    Hi there !
    I use the orcle 8i, and i don't know why i can't create table with any primary key EXample:
    SQL> CREATE TABLE O_caisses
    2 (No_caisse NUMBER(3) constraint caisses_pk PRIMARY KEY,
    3 NB_BILLETS NUMBER(5)
    4 )
    5 /
    CREATE TABLE O_caisses
    ERROR at line 1:
    ORA-18008: cannot find OUTLN schema
    ***********some Debuger show me this way: *********************
    Well there r certain point u got to notice when creating a table with constraints.
    1) U can create table with COLUMN level constraint.
    2) U can create table with TABLE level constraint.
    3) In COLUMN level constraint u can't give a constraint a name
    but only mention the type of constraint.
    4) In TABLE level constraint u can give a name to constraint.
    Following are the examples of both
    --COLUMN LEVEL
    CREATE TABLE O_caisses
    (No_caisse NUMBER(3) PRIMARY KEY,
    NB_BILLETS NUMBER(5));
    --TABLE LEVEL
    CREATE TABLE O_caisses
    (No_caisse NUMBER(3),
    NB_BILLETS NUMBER(5),
    constraint pk_caisse primary key (No_caisse));
    ********************And this is another one:*****************
    SQL>grant create any outline to username;
    BUT the problem is still present, i don't know what to do now !
    Please could some body help me !
    Thanks alot!
    Luong.

    The clue is in the error message: the OUTLN schema is missing.
    This is something Oracle 8i introduced to help manage the CBO (or soemthing equally geeky and internal). For some reason your database no longer has this user. It ought to be created automatically during installation (or upgrade) but catproct may not have completed probably or some over zealous admin type has dropped it.
    Solution is to re-install (or re-upgrade) as you cannot create this user on their own. Alas.
    HTH, APC

  • Problem on CREATING TABLES  with PRIMARY KEY

    Hi there !
    I use the orcle 8i, and i don't know why i can't create table with any primary key EXample:
    SQL> CREATE TABLE O_caisses
    2 (No_caisse NUMBER(3) constraint caisses_pk PRIMARY KEY,
    3 NB_BILLETS NUMBER(5)
    4 )
    5 /
    CREATE TABLE O_caisses
    ERROR at line 1:
    ORA-18008: cannot find OUTLN schema
    Please could some body help me !
    Thanks alot!
    Luong.

    Luong,
    Your syntax is fine. It looks like you don't have the correct database privileges to create the table. The error message you're getting suggests that you don't have CREATE ANY OUTLINE privileges. You should log in as a user than can grant these privileges and give yourself the correct privileges. I think the syntax is
    SQL>grant create any outline to username;
    Alison

  • Create table in PL/SQL proc not working

    Hello,
    Here is a procedure I have tried to create & run in SQL Developer:
    create or replace procedure transpose as
    begin
    create table lines as (select level line from dual connect by level <= 5),
    create table cols as (select level col from dual connect by level <= 5),
    select max(decode(col, 1,
    decode(line, 1, line_id,
    2, description,
    3, statetax,
    4, freight,
    5, weightedAvg))) col1,
    max(decode(col, 2,
    decode(line, 1, line_id,
    2, description,
    3, statetax,
    4, freight,
    5, weightedAvg))) col2,
    max(decode(col, 3,
    decode(line, 1, line_id,
    2, description,
    3, statetax,
    4, freight,
    5, weightedAvg))) col3,
    max(decode(col, 4,
    decode(line, 1, line_id,
    2, description,
    3, statetax,
    4, freight,
    5, weightedAvg))) col4,
    max(decode(col, 5,
    decode(line, 1, line_id,
    2, description,
    3, statetax,
    4, freight,
    5, weightedAvg))) col5
    from lines, cols,
    (select rownum rn, tfe_line_info.* from tfe_line_info)
    where rn = col
    group by line
    order by line;
    end transpose;
    I however get the error:
    Error(3,7): PLS-00103: Encountered the symbol "CREATE" when expecting one of the following: begin case declare exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe
    I cannot understand what is wrong with my Create statement at line 3?

    It looks like you have no PL/SQL experience. I suggest reading PL/SQL manual. Yes, single row select requires INTO clause. Multi-rows select requires cursor. But this is least of your problems. Your SPp will not complile even if you fix select. Why? SP creates tables dynamically at run time, so tables do not exist at SP compile time. Therefore select from these yet non-existent tables will not compile. By creating tables via dynamic SQL you forced yourself into querying them via dynamic SQL. Now you are trying to transpose (pivot) table. What Oracle version do you have? Oracle 11g provides PIVOT/UNPIVOT operators. Check them out before writing code.
    SY.

  • Performance for join 9 custom table with native SQL ?

    Hi Expert,
    I need your opinion regarding performance to join 9 tables with native sql. Recently i have to tunning some customize extraction cost  report. This report extract about 10 million cost of material everyday.
    The current program actually, try to populate the condition data and insert into customize table and join all the table to get data using native sql.
    SELECT /*+ ordered use_hash(mst,pg,rg,ps,rs,dpg,drg,dps,drs) */
                mst.werks, ....................................
    FROM
                sapsr3.zab_info mst,
                sapsr3.zab_pc pg,
                sapsr3.zab_rc rg,
                sapsr3.zab_pc ps,
                sapsr3.zab_rc rs,
                sapsr3.zab_g_pc dpg,
                sapsr3.zab_g_rc drg,
                sapsr3.zab_s_pc dps,
                sapsr3.zab_s_rc drs
            WHERE mst.zseq_no = :p_rep_run_id
            AND mst.werks = :p_werks
            AND mst.mandt = rg.mandt(+)
            AND mst.ekorg = rg.ekorg(+)
            AND mst.lifnr = rg.lifnr(+)
            AND mst.matnr = rg.matnr(+)
            ...............................................   unitl all table (9 tables)
            AND ps.mandt = dps.mandt(+)
            AND ps.knumh = dps.knumh(+)
            AND ps.zseq_no = dps.zseq_no(+)
            AND COALESCE (dps.kbetr, drs.kbetr, dpg.kbetr, drg.kbetr) <> 0
    It seems the query ask for database to using hashed table. would that be it will burden the database ? and impacted to others sap process ?
    Please advise
    Thank You and Best Regards

    you can only argue coming from measurements and that is not the case.
    Coming from the code, I see only that you do not understand it at all, so better leave it as it is. It is not a hash table, but a hash join on these table.

  • OID users ( EUS) problem with grant create table with admin

    Hi,
    We activated enterprise users in the OID.
    There is a role APP_ADMIN that has the following grants:
    create user
    drop user
    create table with admin option
    this is for an application that creates BI schemas, so it needs to be able to create other users.
    I have granted these to a local role, and the user has access to the local role, thanks to the OID setup.
    The create and drop user work.
    however, the grant create table to another user does not work.
    Is there an issue with 'with admin option' grants in Enterprise user security?
    Regards,
    Peter

    If I grant
    grant create table to test_role with admin option;
    it does not work
    if I grant
    GRANT GRANT ANY PRIVILEGE to test_role WITH ADMIN OPTION;
    it does work.
    The test command as user with test_role is:
    grant create table to test_usr;
    very strange!
    If the user is a standard user and I create role test_role
    and grant create table to test_role with admin option it works.
    but if I convert the user to an EUS user and the same privilege is given to the role ( role is granted to a global role to an enterprise role)
    it doesnt work
    Edited by: Peter on Dec 7, 2012 2:36 PM

  • How to create table with dynamic rows

    Hi Ppl,
    I have an array lets say with length of n. I want to creata table with 2 columns and no of rows = array length.
    lets say array length is 3 ( array[0] = 1, array[1] = 2, array[2] = 3) so the table should have 2 columns and 3 rows.
    After creation of table I want to display each array value in each row.
    Can somebody help me in this asap.
    Thanks \
    Ashish

    Hi, Thanks for reply... actually this is one part of rtf. I have put values from xml to an array and now I want to create a table with no of rows = length of array. so here xml will not be useful. could you pls think of it without xml.
    result is like
    lets says below is the array
    array[0] = a
    array[1] = b
    array[2] = c
    array length = 3
    so there should be a table of 2 coulmns and 3 rows. Second column of first row will show 'a', Second column of second row wil show 'b' and Second column of third row will show 'c'.
    Hope this is useful.
    Thakns
    Ashish

  • How to create table with table description

    Hi,
    I would like create table with table description(like creating package or procedure with comments).
    Is it possible to achieve through oracle, if possible please help me how to achieve this.
    Thanks and regards,
    Ibrahim Sayyed.

    > create table test (col1 number);
    > comment on table test is 'this is a comment';
    > select comments from user_tab_comments where table_name = 'TEST';
    COMMENTS
    this is a comment

  • How to create table with row type in smart forms

    How to create table with row type in smart forms with out line type
    please explain me the procedure

    HI,
    A table type describes the structure and functional attributes of an internal table in ABAP. In ABAP programs you can reference a table type TTYP defined in the ABAP Dictionary with the command DATA <inttab> TYPE TTYP. An internal table <inttab> is created in the program with the attributes defined for TTYP in the ABAP Dictionary.
    A table type is defined by:
    its line type, that defines the structure and data type attributes of a line of the internal table
    the options for managing and accessing the data ( access mode) in the internal table
    the key ( key definition and key category) of the internal table
    The row type is defined by directly entering the data type, length and number of decimal places or by referencing a data element, structured type ( structure, table or view) or other table type. Or the row type can be a reference type.
    <b>for more info :</b> http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb366d358411d1829f0000e829fbfe/content.htm
    Internal table
    Regards
    Sudheer

  • How to create table with resizable row ?

    how to create table with resizable row ?

    I'd suggest you start here:
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

  • How i can create table with data

    How i can create table with data from dev to production?

    How i can create table with data
    [url=http://en.wikipedia.org/wiki/Black_Beast_of_Aa
    aaarrrrrrggghhh]from dev to production?
    [url=http://img2.travelblog.org/Photos/3800/14977/t
    /64816-Col-Kurtz-0.jpg]The horror, the
    horror.lol, you gonna scare somebody here.
    Are we helping devil?

Maybe you are looking for

  • Hover OverBu

    Hello I am creating buttons in an Indesign Document. Then I export to PDF. When I view the PDF, I really have to hang out for a while on the area before the tool-tip comment appears... I think I read somewhere about having the area turn a color - to

  • Multiple datafiles per tablespace in 9i?

    Is it recommended to have multiple datafiles per tablespace?

  • View – Code Dreamweaver 8

    My OS: Vista Home Edition Premium Computer: HP Pavilion Just installed Dreamweaver 8 all working ok. But when I am uploading my saved older files HTML or PHP and trying to View – Code Its crashes Dreamweaver. Gives me problem details: Problem signatu

  • SAP E COMMERCE FOR ERP : Maintaining catalog variants in multiple languages

    Hi All, I have created a product catalog with 2 variants, one for english and other for russian, have maintained the texts in corresponding langiages in the layout area. I created a webshop and used the catalog variant for russian, but still when the

  • HT5012 Why I can't update my application?

    Can I know why I can't update my apps? Few days all ready. Please check for me. Every times when I want to update, my iPad will show me "can't purchase on this time, please try agn later." Wish can help... Thanks.