Add additional column in existing table

Hello guys,
I need to add new columns to the existing table, but when I'm trying to add, nothing happens. Checked table itself and all Rows and Column fields are read-only. Can't see any property which indicates this locking behavior. I'm using ES2 LC.
Thanks,
Uldis

You can use an APPEND function.
Append Structures (SAP Library - Tables)

Similar Messages

  • APP-FND-01444 additional columns in "validation table information"

    I have the following ERROR,  when add additional columns in validation table information.
    Table Name: “oe_order_headers_all oea, HZ_CUST_ACCOUNTS hca, hz_parties hp”
    Table Columns:
    Name
    Type
    Size
    Value
    OEA.ORDER_NUMBER
    Number
    10
    Meaning
    ID
    OEA.HEADER_ID
    Number
    10
    Where/Order By: OEA.SOLD_TO_ORG_ID = HCA.CUST_ACCOUNT_ID
    AND HCA.PARTY_ID = HP.PARTY_ID
    AND OEA.FLOW_STATUS_CODE= 'BOOKED'
    Aditional Columns: HP.PARTY_NAME"Customer"(50)

    the problem was the following space were not there.
    Aditional Columns: HP.PARTY_NAME "Customer" (50)
    before and after "Customer" there were no space. so we need spaces before and after the column name.

  • How to add one column in existing search help.

    Hi Folks,
    My quesion is
    How to add one column in existing search help and also Now search help on that field is not an explicit search help. It should be implement using check table.
    Shivam

    Hi,
    If you want to add a field in Elementary search help, get the search help name for the and go to change mode and add the field in it.
    If you want to add a field in collective search help, go to included search helps tab and a new search help name and add the fields to it.
    I think this should help you to certain extent.
    Regards,
    Kranthi
    Edited by: Kranthi on Jan 14, 2010 11:15 AM

  • Adding a new Big INT column to existing table in production, which holds 700 million records will impact anything in production?

    Hi Guys,
    I have to add a new Big INT column to existing table in production, which holds 700 million records and would like to know the impact?
    I have been tolled by one of my colleagues that last time they tried adding a column to same table during working hour and it locked out the table and impacted the users.
    Please suggest/share If any one had similar experience.
    Thanks Shiven:) If Answer is Helpful, Please Vote

    If you add a new column to a table using an ALTER TABLE ADD command and specify that the new column allows NULLs and you do not define a default value, then it will take a table lock.  However, once it gets the table lock, it will essentially run instantly
    and then free the table lock.  That will add this new column as the last column in the table, for example
    ALTER MyTable ADD MyNewColumn bigint NULL;
    But if you your change adds a new column with a default value, or you do something like using table designer to add the new column in the middle of the current list of columns, then SQL will have to rewrite the table.  So it will get a table lock, rewrite
    the whole table and then free the table lock.  That will take a considerable amount of time and the table lock will be held for that whole period of time.
    But, no matter how you make the change, if at all possible, I would not alter a table schema on a production database during working hours.  Do it when nothing else is going on.
    Tom

  • 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 columns for existing table dynamically?

    Hi,
    I created table structure only. I want to add columns for this existing  table. Columns are not fixed, according to the  user choice i  need to write code.
    Plz give me reply asap.
    Thanks
    Shirisha

    Hi Shirisha,
    I think the following code snippet will help you.
    int l_no_cols = 0;
    //Get the number of columns in this variable, something like the following
    //l_no_cols = wdContext().currentContextElement().get<Context_attribute_name>;
    IWDTable l_tab;
    IWDTransparentContainer l_tbl_cont = (IWDTransparentContainer)view.getElement("TableDataCont");//ID of Container
    l_tab = (IWDTable)view.getElement("TableData");//ID of Table
    l_tab.setVisible(WDVisibility.VISIBLE);
    l_tab.bindDataSource(wdContext.nodeTable_Data().getNodeInfo());
    for(int a = 1; a <=l_no_cols; a++)
    //Creating the column
    IWDTableColumn l_tab_col = (IWDTableColumn)view.createElement(IWDTableColumn.class,"COL"+a);
    //Creating Caption for Column Header
    IWDCaption l_tab_cap = (IWDCaption)view.createElement(IWDCaption.class,"Caption"+a);
    l_tab_cap.setText("Col"+i);               
    l_tab_col.setHeader(l_tab_cap);
    //Creating Table Cell Editor for column
    IWDInputField l_tab_cell = (IWDInputField)view.createElement(IWDInputField.class,"CellEditor"+a);
    //creating context node attribute for the column dynamically
    wdContext.nodeTable_Data().getNodeInfo().addAttribute("Col"+i,"com.sap.dictionary.String");
    l_tab_cell.bindValue(wdContext.nodeTable_Data().getNodeInfo().getAttribute("Col"+i));
    l_tab_col.setTableCellEditor(l_tab_cell);
    l_tab.addColumn(l_tab_col);
    l_tbl_cont.addChild(l_tab);
    Regards,
    Alka

  • Add additional params into existing SP

    Hello,
    please, how can I add additional params: @LastName and @FirstName into existing procedure that starts:
    @PIN nvarchar(13)
      AS
    DECLARE @v_exist int
    set @v_exist=0;
    Namely, upon adding additional params:
    @PIN nvarchar(13)
    @LastName nvarchar(20)
    @FirstName nvarchar(20)
      AS
    DECLARE @v_exist int
    set @v_exist=0;
    and adding additional table that comprises columns FirstName and LastName into existing Select statement(referenced table that comprises all possible values of PIN) by creating corresponding relationship, the SP freezes, fails without any output....
    Note: SP checks for PIN that is entered into WEB application, in certain T1. If exists, it informs user that PIN already has been entered and new one must be of different type. But, I would like the First and Last name to be checked, too, i.e., in newly
    added table T2 I would like LastName and FirstName to be extracted based on entered PIN and, upon that, to have checked these couple LastName AND FirstName in T1 (because, there are rows with missing PIN and fact that result could be more then one line is
    not problem because T1 comprises only cca 300 rows... ) 
    Tables T1 and T2 are not changeable but reference tables...The data entered via interface goes into some other tables...

    Must be because, one person with it's belonging PIN can be entered only once into e.g., T1. Evaluation in the SP checks if entered  PIN is in the T2, which comprises forbidden PINs, LastName, FirstName...etc...But, in some cases i.e., some rows, there
    is missing PIN which is to say that I had to involve new table that comprises all possible values for PINs based on which I would like to extract LastName AND FirstName and check it against T2...i.e., check T3.LastName with T2.LastName AND T3.FirstName with
    T2.FirstName...
    But, like Mr.Sorna advised, without table scripts and sample data ...etc...my thread is too ambiguous...I am afraid...

  • Add Sequence to an existing table

    How can I add a Sequence to an existing table in a new field called the User_Id? I'm using Oracle SQL Developer version 3.0.04, and it provides an option to create a sequence, which I did, called Log_Seq. So I need to put this sequence in the table Final_Log under a column named User_Id. I'm stuck at this part. I would appreciate any help I can get!

    You don't "add" a sequence to an existing table at least in existing Oracle versions. A database sequence is an database object that application code must manage with specific SQL data manipulation language (DML) statements. You need to modify application code to add or modify SQL statements.
    See example from Admin. Guide http://docs.oracle.com/cd/E11882_01/server.112/e25494/views002.htm#ADMIN11796 .

  • Additional Columns field in Table Valueset

    Hi all,
    I would like to display all fields of a table using a valueset.I tried with giving additional columns names of that table at specified column while creating table valueset.But these additional fields are not shown when i select that Valueset that is attached to a parameter for a report.What i need to do inorder to display additional colums of a table using a valueset?
    Thanks & Regards
    Binu

    First test the feasibility that the enhancement can be done or not.
    For finiding the exists in the program :
    1> find the program name of the tcode under the status button.
             [hope you can do tht]
    2> go to table modsap
    3> execute it .in the member give <programname> and then execute
    4> it will give you the userexits if any .
    in the form
    endform
    you can write your own code.
    Else you can go for badi also.
    1>go to se24
    2>give the class name - CL_EXITHANDLER
    3>in the methods go to get_instance
    4>create a breakpoint in the first call method
    5>then run your transaction /nMIR7.
    6>it would stop .find the badi's.
    7>if you get any as per your requirement ,work upon it .
    Friend i am not working anywhere , i am just learning sap-abap.this is what i knew regarding enhancements .

  • Best approach to publish new table or new column on existing table on MDW?

    Hi,
    I'm refering to Olite R3 without any patches. I don't use Java API, I use MDW.
    if I have a new table or a new column on a existing table, what's the best approach to publish it?
    I'm asking this because I've trying lots of approaches and the only solution was, step-by-step:
    1) On MDW, drop the publication item
    2) Add again the publication item
    3) Associate the publication item to the publication
    4) Save everything
    5) File / Deploy (if I don't do it, it does not work)
    6) Tools/Package... (that's where it's a problem: if I don't remove the app and create it again it does not work!)
    7) on the client side, I perform a msync with "force refresh"
    That's the only way I found to publish new items for sure. Any other action does not push the new table or new column to the client's embbeded DB.
    Any comments?
    Regards,
    Maurício Américo Vernaschi.

    I do not use MDW, rather a mix of java and the final publish step you use, but
    Adding new PIs should be easy, just add them and re-publish (no need to drop anything)
    for changes, if you just have new columns and the sql statement is 'select * from' then you should just need to make the changes in the base schema objects, and run the publish with no changes and the updates should be picked up. If selecting specific columns, then update and re-publish.
    When using MDW at the end you can save the application as a jar file, and then use this jar file to publish in the mobile manager - this is the best wayto publish.
    Have a look at this jar file in winzip, and you will find it contains a web.xml file. This is the xml definition of the publication items, and for simple changes it is possible to just edit this file and republish via the mobile manager

  • How to add a column in existing DTW template

    Dear Expert,
    I want to add a column which is in table structure of JDT1 but in DTW template that column is not there...
    In my JDT1 table that column has some value and i want that value to be enter thru DTW ..
    Give me step because at some stage i m making mistake....i know..
    please help me
    Thanks
    Kevin

    In JE DTW there is not proficode column, but i want that column to be loaded ?
    even i try by "target table" but still nt able to load of "profitcode" in that way
    How to add an existing column which is there in JDT1 table but not in JE DTW template ?
    Thanks
    Kevin

  • Additional column for output table

    Hi,
    I have created an ABAP function wherein I am reading table to output in a table. Code as follows
    SELECT * FROM <source_table>
    INTO CORRESPONDING FIELDS OF TABLE <t_output_table>
    WHERE <conditions>
    Import tab has two import parameters.
    Export tab has none.
    Changing has none.
    Table tab has
    PARAMETER NAME as t_output_table,
    TYPING as LIKE,
    ASSOCIATED TYPE as source table
    What I want to do next is to add another field to the output which will be substring of one of the field of source table. For example if FieldA of source table has value "abcdefgh", I want to return "defgh" as additional column of the output table.
    Appreciate any help !!
    IMS

    Hi,
    You would need to create a structure that includes your extra column. Use this structure as the reference in your tables tab.
    Now when you have selected the data in the table.
    loop at the table.
    populate the new column according to your logic.
    Modify the new column.
    endloop.
    Hope this solves the problem.
    Regards,
    Anju

  • Newbie Repository question: How to add extra columns to relationship table?

    I've defined the following item-descriptors:
    <item-descriptor name="award" display-property="id">
    <table name="bc_award" type="primary" id-column-name="award_id>
    </table>
    </item-descriptor>
    <item-descriptor name="product" display-property="displayName" xml-combine="append">
    <table name="bc_product" type="auxiliary" id-column-name="product_id">
    </table>
    Now products and awards have a many-to-many relationship, so I also added the following under the product item-descriptor definition:
    <table name="bc_prd_awards" type="multi" id-column-name="product_id">
    <property name="awards" data-type="set" component-item-type="award" column-name="award-id"/>
    </table>
    So far, so good. However, I actually want some extra information on the relationship table. Namely, the catalog to which the product-award association applies. In other words, I'd like the create table statement to turn out something like this:
    CREATE_TABLE bc_prd_awards (
    product_id varchar2(254) NOT NULL REFERENCES dcs_product(product_id),
    award_id varchar2(254) NOT NULL REFERENCES bc_award(award_id),
    catalog_id varchar2(254) NOT NULL REFERENCES dcs_catalog(catalog_id),
    PRIMARY KEY(product_id, award_id, catalog_id)
    Any ideas as to how I accomplish this?
    Edited by: user6200425 on Jul 1, 2011 1:04 PM

    If you want to add catalog information to the product-award association, do this.
    <item-descriptor name="product"/>
    <table type=multi>
    <property name="productAwardAssociation" component-item-type="productAward" data-type="set" />
    </table>
    </item-descriptor>
    <item-descriptor name="productAward">
    <property name="award" column-name="award" item-type="Award"/>
    <property name="catalog" column-name="catalog" item-type="Catalog"/>
    </item-descriptor>
    <item-descriptor name="Award">
    --- award related properties
    </item-descriptor>
    Hope this helps.
    Thanks
    karthik

  • How to add new column in partition table

    Hi,
    In Oracle 10g Database, I have one table (X) with list partition . I have added one new column to "X" by "Alter Table" command. Please advise whether any other command needs to be executed since it is a partition table .
    The "X" table is used for partition swapping with another table (Y). I have added the same column also in table "Y". Will there be any issue while swapping the partion with the following command
    alter table X exchange partition partition_name with table Y
    Version Details :
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 OS
    Solaris 5.10
    Thanks in advance

    you would have to explicitly put that into the create table as select - the partition details.
    ops$tkyte%ORA10GR2> create table t1
    2 PARTITION BY RANGE (dt)
    3 (
    4 PARTITION part1 VALUES LESS THAN (to_date('13-mar-2003','dd-mon-yyyy')) ,
    5 PARTITION part2 VALUES LESS THAN (to_date('14-mar-2003','dd-mon-yyyy')) ,
    6 PARTITION junk VALUES LESS THAN (MAXVALUE)
    7 )
    8 COMPRESS
    9 as
    10 select * from t;
    Table created.
    Source:http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:69076630635645
    Hth
    Girish Sharma

  • Urgent: how to add additional records to hashed table

    Hi,
    I want to add records to a hashed table.
    my code is:
    data: ipn_pc_zoba type hashed table of tpn_pc_zoba with unique key vbeln.
    loop at izoba into wzoba.
    clear wpn_pc_zoba .
    read table ipn_pc_zoba into wpn_pc_zoba with key vbeln = wzoba-LS_KDAUF.
    if sy-subrc ne 0.
    wpn_pc_zoba-vbeln = wzoba-LS_KDAUF.
    append wpn_pc_zoba to ipn_pc_zoba.
    endif.
    endloop.
    The Error is :    You cannot use explicit or implicit index operations on tables with types "HASHED TABLE" or "ANY TABLE". "IPN_PC_ZOBA" has the type "HASHED TABLE". It is possible that .
    How to solve this?
    Please reply ASAP.
    Regards,
    SRI

    In your code you should use
    INSERT WPN_PC_ZOBA INTO IPN_PC_ZOBA.
    This is the only way to append data to a hashed table. It will also only work as long as wpn_pc_zoba-vbeln is unique in the hashed table.
    If you are getting an error, what does the error say?
    Michael

Maybe you are looking for

  • Report for Mvt Type 103 & 105

    Dear Gurus, Is there any report which will show the corresponding material document of 105 MVT/ 104 MVT type  for 103 MVT type Material document Regards, Rajesh

  • Sales return -vat G/L account

    hai gurus, Iam here discusing about a sales return process. I have a scenario like the client sells 1000 nos of goods ,among that 10 comes as returns. i will refeer to billing document and create a sales return order now quality says among 10 nos of

  • IMessage isn't linked to my phone number anymore...how can I get it back??

    I don't know what happened...I've been iMessaging on my phone all day, but about an hour ago it stopped sending iMessages from my phone and started sending them through my email address. When I go under Settings>Messages>Send&Receive, my number shows

  • ICC Profile Box

    What is the ICC Profile Box

  • Mobile Phone to PC via Bluetooth

    I am investigating the posibility for a certain function for an application on a mobile phone. An Single Sign-On (SSO) application. This application is going to transmit its authentication data to the PC and cause the Web browser to open and log in t