Adding a new field to the table

Hello friends,
I have a custom table and is in  use from a long time now.
Now i need to add a new field to that table.
1 - can i go directly to the change mode and then add it or is their any other way that needs to be followed.
2 - once added do i need to go to SE14 and do something thr for the changes done to the table.
This table also has a table Maintenence generator. Do I need to do something thr.
Thanks,
Bob.

Hi,
Check whether the change in ur custom table is going to impact any Custom program or not.
If its so then adjust ur ABAP code so as to fit with the new table.
Decide whether this field is going to be aprt of primary key or simple field.
Is there any data present in ur custom table already?
Regards,
Lakshman.

Similar Messages

  • Adding a new field to the search help exit

    Hi friends,
    adding a new field to the search help exit. How does it work ?
    Thanks in advace
    Ilhan

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • Adding a new field to the Address Data for a business partner

    Hi Experts,
    I am trying to add a new custom field to the address data (all structures and tables) that is linked to a business partner on SAP CRM via EEWB. Structure is the address structure wthin BUS_EI_EXTERN. Table is BUT020. I have been told that it is not possible as there is no Business Object that allows this. When doing an EEWB, the only business object is BUPA, which when selected, adds the new custom field to BUT000. I would like the field to be added to BUT020 (Address Table). This leads me to believe that there is no standard way of doing this, which ultimatley means that it would need to be done manually. Please help me with this predicament.
    Regards
    Yusuf

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • CProjects - Adding a new field to the detail screen of object link

    Hi All,
    I've a requirement of adding a new field to the detail screen of object link. But the field is a combination of 3 other standard fields.
    Please let me know how could i realise this functionality?
    Thanks in advance.

    Hi Srini,
    Thanks for your Reply
    I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
    But still that field is not visible in the dynamic selection screen.
    Thanks
    Ajay.D

  • Fields missing in SM30 after adding new fields to the table

    Hi ABAPers,
    I added a new field & marked another field as primary key in the table. Then I generated the table maintenance view for the table in SE55 and adjusted Database utility SE14.
    When i saw the table in SM30. The number of fields in the overview screen of SM30 shows less field then existing in table. i.e in my table i have 10 fields(3 primary). in SM30 it shows only 5 fields(3 primary + 2 normal fields)
    In SE51, the overview screen of the table show less fields in the field list..
    I want all the fields in the Table maintenance overview screen. Please suggest me a way forward friends..
    Note: the system is 4.0B.
    Thanks...Suresh Kumar

    Hi
    You have to re-generate your dialog for SM30 by table maitenance generator.
    - From Se11 go to table maitenance generator
    - Choose update icon
    - Set flags for NEW FIELD
    - Go to expert
    - Set flag to re-generate dynpro
    Message was edited by: max bianchi

  • Adding a new field in QM02 table control

    Hi Gurus,
    I have the requirement to add a new field in a table control in QM02.I have added the field in the view VIQMMA but I dont know how it can be added in screen.
    Is it possible through some SPRO customization?
    Regards,
    Rajat

    Hi Rajat,
    Welcome to SCN. I am not sure add to table control . Please have a look to add custom fields
    1. QQMA0001-incorporate additional data in notification header
    2.QQMA0008-additional data on the details screen fro notification item
    3.QQMA0010 QM/PM/SM: User Subscreen for Additional Data on Cause
    4.QQMA0011 QM/PM/SM: User Subscreen for Additional Data on Task
    5.QQMA0012 QM/PM/SM: User Subscreen for Additional Data on Activit
    If you need a custom tab then this is the procedure
    1) SPRO,Quality management,Notification,Overview of notification types, Select the notification  and 90 give the customer specific screen area
    2) function group XQQM ,create the screen under screens tab number 0090.
    Check this if need this and check and post.
    Regards,
    Madhu.

  • Error while adding a new field to the Segment in we31

    Hi ,
    I am getting error when i am trying to add the new field to the cust. segment.
    It is released for the adding the new fields i am cancelling the release , but i got a message like this
    Error while resetting release of segment 'segment name'.
    it is comming from the message class EA and message number 259.
    Thanks in advance.
    Reagrds,
    bharani

    Hi,
    Have you tried Cancelling the release before adding the version?
    Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
    Please let me know if it worked!
    Vijay

  • Adding a new field to the selection screen of a LDB

    Hi all,
    I want to add a new field Clearing date(BSEG-AUGDT) in the dynamic selection screen of  the report RFUMSV00.
    For adding a new field i have copied the SAP view of a Logical database to CUS view.
    Next i had added the Clearing date(BSEG-AUGDT) to the function group Document header(01) and selected the check box Preselect and saved the view.
    But still i am not able to find the newly added field in the dynamic selection screen of the report.
    Please suggest me where i am going wrong or how to do this.
    Thanks in advance
    Ajay

    Hi Srini,
    Thanks for your Reply
    I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
    But still that field is not visible in the dynamic selection screen.
    Thanks
    Ajay.D

  • Adding a new field to the iView thru OADP

    Hi All,
    The customer has implemented the ECM for mySAP ERP 2005.
    I have the following requirement for the current assignment:
    1.I need to add a new field to the iView (webbdynpro).How can I do it using the OADP in IMG?
    Pleae help.
    thanx,
    Bhupesh

    Hi,
    Kindly check the following threads:
    /message/1755908#1755908 [original link is broken]
    /message/2496839#2496839 [original link is broken]
    best regards,
    Thangesh

  • Steps for adding a new field in the sapscript

    pls give me the step by step procedure to insert a new field in the sap script.
    like wat i need to to do in the form layout/line editor
    and wat n how i need to change in the print program like subroutine, etc..
    where should i use the itcsy structure?

    Hi,
    This will give you a step to step procedure for SAPScript.
    <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf">SAPScript</a>
    regards,
    Amit
    Reward all helpful replies.

  • Adding new field in the table for Output

    Hi ,
    I need to add a field catalogue as Payment method in the condition table for Output, but the payment method field does not exist in the table. Can this be done?
    regards,
    Ragu

    Hi Refer below link on sdn for adding new Field
    Adding New Field to Catalog
    Adding New fields to field catalog

  • Adding a new field to the transaction va01

    Hi,
    I have added a field to the va01 transaction in the "Additional Data B" tab
    by modifying screen number 8309 in program SAPMV45A.
    I have also added a structure in the table vbak for this additional field on the screen.
    But I can not save or display the data in that field.
    Should I give the value somewhere in the code of screen number 8309 or any ohter way of this?
    Regards,
    Utku

    Hi
    When you create your screen use directly the std structure VBAK and VBAP to design the input/output fields.
    So for example if you have added the field ZZFIELD in VBAK, insert it in 8309.
    In this way the standard program VA01'll automatically store your data in your fields.
    So you don't need to write some code to store it, but only (if it needs) some code for validations in the screen flow.
    Max

  • Problem while adding a new row to the table.

    hello,
    In my ADF form i have a table. and when i click on CreateInsert it add a new to the table but at the first. i want all the new rows to be added at the end of the table in a sequence. how can i do this?....
    Thanks and Regards,
    Rakshitha

    Hi,
    Try this:
    DCIteratorBinding dciter;
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    dciter = (DCIteratorBinding) bindings.get("findAllTestAndryIter");
    ViewObjectImpl vo = dciter.getViewObject();
    if (vo != null)
    Row row = vo.createRow();
    int rangeSize = vo.getRangeSize();
    int rowsInRange = vo.getAllRowsInRange().length;
    int insertPos = rowsInRange < rangeSize? rowsInRange: rangeSize - 1;
    vo.insertRowAtRangeIndex(insertPos, row);
    vo.setCurrentRow(row);
    }

  • What are the steps for adding a new field to the ST for CRM 2007?.

    Yeah, I know it's a basic question. I'm fairly familiar with CRM 5.0 but 2007 is new to me and there a good few changes.
    If I need to add a new field (probably with some processing to set its value) to the Service ticket what would be the steps I need to take to achieve this in CRM  2007?.
    Your help would be much appreciated.
    Jas.

    Are we talking about the EEW Business objects displayed in the EEWB as there is no business object called 'CRM OPPORTUNITY', but there is one called 'OPPORTUNITY'. Just wanted to make sure I was on the right track.
    So, as I need to change the service ticket it would mean that my transaction type will be service request,or whatever the shorted value is, is that correct?.
    I can see the transaction types in table CRMC_PROC_TYPE_T, although it looks like I need to pick SRVO (Service order) at a guess, and if this is right I'm looking for the EEW Business object to match. But it feels like guesswork to me. For example, I could choose EEW Business object 'SERVICE_TRANSACTION' which has an Extension type of 'CUSTOMER_H', or I could choose EEW Business object 'SERVICE_CONTRACT' or 'SERVICE_CONFIRMATION', although the last is unlikely. But, my point is there is so much open to interpreatation, and I'm expecting it to be more exact. Perhaps I'm just missing something.
    Jas.
    Edited by: Jason Stratham on Sep 4, 2009 2:30 PM
    Edited by: Jason Stratham on Sep 4, 2009 2:39 PM

  • ABAP QUERY - Adding a new field in the output

    Hello ,
    I am creating a ABAP query in which i need to do a calculation and display it in the output.
    How do i do it?
    I have added the field PLAF-GSMNG and PLAF-AVMNG in the infoset.
    The calculation that i have to do is CALCULATEFIELDS = PLAF-GSMNG - PLAF-AVMNG.
    I have to display the CALCULATEFILEDS in the output. How do i add this field and where do i do the calculation for this.
    Regards
    Ashish

    Hi Kanagaraj,
    Thanks a lot for your help.
    Actually those steps dint work but i created a new infocube and copied the structure from old infocube and then just created a Transformation and DTP.It worked fine.Did not generate a export datasource.
    But for my previous question
    3 characteristics and 3 keyfugures.
    Want to add a new field based on the department ID
    Tthe values have to be populated for the new field.
    It is not a constant value.So what should i choose in the conditons.
    Regards,
    Harish

Maybe you are looking for

  • Goods Issue Stock To Asset Via Movement Type 241

    Hello SAP friends, I have a requirement that requires the material purchased into the plant storage location as stock qty. Following that the material will be issued out from the storage location to asset via movement type 241 using the moving averag

  • Program on  ALV_Grid and objects.....  Urgent

    can any help me to write the coding of this report program 1. Define selection screen with KNA1-KUNNR, VBRK-FKDAT 2. Select Data from Database (with "inner join") Tables: Customer KNA1, KNVV SalesDocument VBAK - Head, VBAP - Positions Invoice VBRK -

  • Current Date

    I just added from the Custom Tab from the Library Pallet the Current Date object to my form. On the Object Pallet, the Field tab is set as follows Appearance : None Display Pattern: YYYY-MM-DD Edit Pattern: MM-DD-YYYY Locale: Viewer's system locale O

  • HT4664 Is the GTX680MX in the late 2012 iMacs OK?

    I recently bought a new iMac with the upgrade to the GTX680MX and both FCPX and Motion are crashing MacOS entirely frequently (no error message, the whole OS stops responding and then a moment later, the mouse pointer stops responding and it remains

  • Transparent videos

    I am trying to play one video on top on the other, with a variable level of transparency for the video on the top. I have put the two videos on two different layers, using light weight JMF. But I cannot change the transparency of the videos. I suppos