How to add an field to a table

my question is this:
i need to add a row(column) called commentaar to the table inschrijvingen. Commentaar should be defined as a long.
who can help me..
you can also e-mail me at this adres:
[email protected]

Hello
The syntax for adding a column to a table is:
ALTER TABLE <table_name> ADD (<column_name> <data_type> <NULL/NOT NULL>);So in your case, it will be
ALTER TABLE inschrijvingen ADD(commentaar LONG);There are however a number of reasons as to why you would be better using a LOB rather than a LONG data type. Have a look at the documentation....
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/sql_elements2a.htm#45887
HTH
David

Similar Messages

  • How to add additional field into output table for RFIDYYWT(Generic Withholding Tax Reporting)

    Hi Experts,
    How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
    I have no idea how to start with, please give some advice.
    Thanks!
    Ice

    Dear Ice,
    Use Append structure, see given link:
    https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    Regards,
    Abbas.

  • How to add a field in a table control of the subscreen 6103 of tcode f-03

    hi abap gurus....i m new to abap and this is my first post ..i m hoping for a reply soon as it is urgent....
    my requirement is to add a field PAYR-CHECF to a table control of the subscreen 6103 of tcode f-03

    Hi,
    Please see documentation of enhancement MM06E005 (transaction SMOD).          
    Userexit EXIT_SAPMM06E_016 is a component of enhancement MM06E005.            
    With that enhancement, you can                                                
      -   Maintain/supply your own customer fields                                
      -   Update your own customer-specific tables                                
    You cannot:                                                                   
      -   Change standard fields                                                  
      -   Change data that depends on the document header in the items            
      -   Change data that depends on an item in the document header                                                                               
    Please have a look at Business Add-In (BAdI) ME_PROCESS_PO_CUST.              
    Regards,
    Edit

  • How to add new fields  to a table control in a standard transaction JHA3X

    Hi All,
            We have a requirement where we have to add two new fields  to  a table control
            in a standard transaction JHA3X .
           We don't want any changes into our standard code and also we don't have any USER EXIT for that
           screen.
           Please provide with some solutions for the same .
           Thanks in advance .

    You will need add this to the /var/clientlibs/libs/cq/security/widgets.js and add the field under the 'CQ.security.UserProperties'.  For example, if you wanted to add a field to show the 'Middle Name' under the 'First Name' field, you can try adding the following:
                "items":[{
                        "xtype":"textfield",
                        "fieldLabel":CQ.I18n.getMessage("Login"),
                        "anchor":"100%",
                        "disabled":true,
                        "allowBlank":false,
                        "name":"rep:userId"
                        "xtype":"textfield",
                        "fieldLabel":CQ.I18n.getMessage("First Name"),
                        "anchor":"100%",
                        "name":"givenName"
                        "xtype":"textfield",
                        "fieldLabel":CQ.I18n.getMessage("Middle Name"),
                        "anchor":"100%",
                        "name":"middleName",
                        "xtype":"textfield",
                        "fieldLabel":CQ.I18n.getMessage("Last Name"),
                        "anchor":"100%",
                        "name":"familyName",
                        "allowBlank":false
    Hope this helps.
    -Ron

  • How to add some field in an table result layout

    Hai All,
    I have an reporting issue in CRM ( without SAP BW), for example i would like to show a field which not found in column set layout ( SAP standard default).
    I already use change layout from SAP standart, but the field which i need is not there (column set) and the information which i would like to show is very important for us. Please let me know if you have an idea.
    Regards,
    Rhesa

    Hi Please refer notes 373859 and see if this helps.
    regards,
    Muralidhar Prasad chatna

  • How to add new field into dynamic internal table

    Hello Expert.
    how to add new field into dynamic internal table.
    PARAMETERS: P_TABLE(30).    "table name
    DATA: I_TAB TYPE REF TO DATA.
    FIELD-SYMBOLS: <TAB> TYPE standard TABLE.
    *Create dynamic FS
    create DATA I_TAB TYPE TABLE OF (p_table).
      ASSIGN I_TAB->* TO <TAB>.
    SELECT * FROM (p_table) INTO TABLE <TAB>.
       here i want to add one more field into <TAB> at LAST position and my 
       Field name  =  field_stype     and
       Field type    =  'LVC_T_STYL'
    could you please helpme out .

    Hi,
    Please find the code below.You can add the field acc to your requirement.
    Creating Dynamic internal table
    TYPE-POOLS: slis.
    FIELD-SYMBOLS: <t_dyntable> TYPE STANDARD TABLE,  u201C Dynamic internal table name
                   <fs_dyntable>,                     u201C Field symbol to create work area
                   <fs_fldval> type any.              u201C Field symbol to assign values 
    PARAMETERS: p_cols(5) TYPE c.                     u201C Input number of columns
    DATA:   t_newtable TYPE REF TO data,
            t_newline  TYPE REF TO data,
            t_fldcat   TYPE slis_t_fldcat_alv,
            t_fldcat   TYPE lvc_t_fcat,
            wa_it_fldcat TYPE lvc_s_fcat,
            wa_colno(2) TYPE n,
            wa_flname(5) TYPE c. 
    Create fields .
      DO p_cols TIMES.
        CLEAR wa_it_fldcat.
        move sy-index to wa_colno.
        concatenate 'COL'
                    wa_colno
               into wa_flname.
        wa_it_fldcat-fieldname = wa_flname.
        wa_it_fldcat-datatype = 'CHAR'.
        wa_it_fldcat-intlen = 10.
        APPEND wa_it_fldcat TO t_fldcat.
      ENDDO. 
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = t_fldcat
        IMPORTING
          ep_table        = t_newtable. 
      ASSIGN t_newtable->* TO <t_dyntable>. 
    Create dynamic work area and assign to FS
      CREATE DATA t_newline LIKE LINE OF <t_dyntable>.
      ASSIGN t_newline->* TO <fs_dyntable>.
    Populating Dynamic internal table 
      DATA: fieldname(20) TYPE c.
      DATA: fieldvalue(10) TYPE c.
      DATA: index(3) TYPE c. 
      DO p_cols TIMES. 
        index = sy-index.
        MOVE sy-index TO wa_colno.
        CONCATENATE 'COL'
                    wa_colno
               INTO wa_flname. 
    Set up fieldvalue
        CONCATENATE 'VALUE' index INTO
                    fieldvalue.
        CONDENSE    fieldvalue NO-GAPS. 
        ASSIGN COMPONENT  wa_flname
            OF STRUCTURE <fs_dyntable> TO <fs_fldval>.
        <fs_fldval> =  fieldvalue. 
      ENDDO. 
    Append to the dynamic internal table
      APPEND <fs_dyntable> TO <t_dyntable>.
    Displaying dynamic internal table using Grid. 
    DATA: wa_cat LIKE LINE OF fs_fldcat. 
      DO p_cols TIMES.
        CLEAR wa_cat.
        MOVE sy-index TO wa_colno.
        CONCATENATE 'COL'
                    wa_colno
               INTO wa_flname. 
        wa_cat-fieldname = wa_flname.
        wa_cat-seltext_s = wa_flname.
        wa_cat-outputlen = '10'.
        APPEND wa_cat TO fs_fldcat.
      ENDDO. 
    Call ABAP List Viewer (ALV)
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          it_fieldcat = fs_fldcat
        TABLES
          t_outtab    = <t_dyntable>.

  • How to add new fields in Reduced message ( in BD53 )

    Hi Experts,
    How to add new fields in Reduced message ( in BD53 ), when the required field iis available in Table or Structure and need to be added in BD53 so that we can ALE.
    Thanks,
    Ninad

    Hello,
    I think of something like:
    First, you create extension, with transaction WE30.
    Then, reduce your idoc, your extension should also be proposed.
    Do not forget to add this extension in outbound we82, and/or we57 in inbound, and WE20, and find BTE or exit to populate extension.
    regards.
    F.S.

  • PLz Help me its urgent, how to add new field in mm01 basic data screen

    Hi everyone,
         plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
    Thanks,
    murali.

    Hi Murali,
    when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
    reward if useful.
    thanks
    abdulsamee.

  • REG: How to add new fields to existing Infospoke

    Hi All,
    We have an existing Infospoke, It has ODS as a Source and some fields are being pulled.
    But here is the scenario....
    I need some extra fields that are available in other ODS. How to add that fields ?
    By some research came to know that.. I need to lookup on the ODS and populate into existing Infospoke.How to add these fields to InfoSpoke using BAdi implementaion.
    Note: already BAdi is active in the infospoke.
    Please help me in this regard

    Hi Chase,
    As you mentioned that BADI is already implemented then I guess you should be able to extend the existing BADI itself.
    For doing lookup first you should know the key fields of source DSO then by using the existing field of Infospoke you will have to read data from DSO.
    DATA: it_data type standard table of 'DSO Name'.
    select Key1 key2 etc...
              Field1 Field2 Field3 Field4
              from DSO
              into table it_data
              for all entries of infospoke
             where key1 = infospoke1-key1
                         key2 = infospoke2-key2.
    This will give you all the required records from source DSO into internal table it_data. Now you using this table you can populate the original table of Infospoke.
    Regards,
    Durgesh.

  • Query: How to add new fields in ABAP query?

    Hi All,
    Can any one tell me how to add new fields in the ABAP query output?
    We have to add the new fields using query design or we have
    to add those in the background program(automatically generated behind query) by selecting new fields in the code?

    What kind of report? Usually, you have to add the field in the table declaration and then also in the SQL query. After that, include the field in what kind of report you are using.

  • CRM  IC Winclient - How to add new fields in the BP Search of TRX CIC0

    Hello Experts,
    I want to know how to add new fields in the BP Search of TRX CIC0. In the HTML that we're using here I need to add the URL of the BP.
    Can you help me?
    Thanks in advance.
    Caíque Escaler

    Hi
    make append to tables in se11 - CCMBP1FIELDS, CCMBP2FIELDS
    in spro in Define customer-specific search control -> mark fields with X.
    and enhance html template CRM_CIC_SEARCH_DISPLAY. -> tcode smw0, look for package CRM_CIC_COMPONENTS for html CRM_CIC_SEARCH_DISPLAY. export it from SAP, edit, and import.
    you will need to enhance function module used for searching - you will find him in spro in Search Strategies.
    Regards
    Radek

  • How to add new fields to the system form (Ex.expenses to a/r invoice form)

    hi
    can any one tell me how to add new fields to the system form (Ex.expenses to a/r invoice form)
    i want to add expenses field to system a/r invoice form and connect data base also.
    i used the code of samples\11.system form manipulation(vb.net) but i'm not able to get it....so can any one help with code or concepts.
    reply soon plz..
    thankQ

    If I understood you correctly, you are just trying to add new fields to the invoice form and then use them in your form. you should first go and add the field to your tables, which you would do by going to Tool --> User Defined Fields --> Manage User Fields. There are different documents or categories given. For ex. for invoices, Sales Orders you would add your field under the Marketing Documents. If you want the field to be just one per invoice, add it to the Title, otherwise if you want a field per invoice or Sales Order line, add it to the Rows section. Once you have done that then you can just create a edit box or drop down to represent the field and set the datasource for that to your field. If you want example code to do that, let me know.

  • How to add new fields in SAP-Query

    Hi,
    Can any body tell how to add new fields to the existing query.
    Thanks a lot,
    Bhaskar.

    hi,
    when we create internal tables like. in final table you can include the extra fields.
    data : begin of itab_mara,
             matnr like mara-matnr,
             erdat like mara-erdat,
             end of itab_mara.
    data : begin of itab_marc,
             matnr like marc-matnr,
             werks like marc-werks,
             end of itab_marc.
    data : begin of itab_final,
             matnr like mara-matnr,
             erdat like mara-erdat,
             werks like marc-werks,
             date like sy-datum,
             status(10) type c,  * new fields
             end of itab_final.
    <select statement>.
    Append all the fields to itab.
    loop at itab_final.
    write :/ itab_final.
    endloop.
    Reward with points if helpful.
    Message was edited by:
            Vinutha YV

  • How to pick the fields of ABC table in Payslip

    How to pick the fields of ABC table in Payslip, So i want to add the calender days(absent days) in my payslip

    You can do it through PE51_CHECKTAB
    Yogesh

  • How to add a field in FV60 transaction ALV

    Hi,
    I want to add a new field in FV60 transaction, I know that it can be done adding a new screen variant is this right? and how do i do this? What I exactly want is to add a field in the Table Control Named "Distance" and it should be type character with 12 positions, how can I do this?
    Thanks!!

    u have to search for a screen exit to implement the field in the screen of LT31. then u have to write ur code to upload to the zcode in the same exit..

Maybe you are looking for