Adding a new field in BCONT table and updating it

Hi All,
Is there any BAPI/BADI which will allow to add a new field in standard BCONT table and update its value?
Your solution will be really helpful.
Thanks,
Nirupam

Hi Santosh,
This is required for UCES. We need to add a field in BCONT table (SE11/SE16), which will hold a flag value, i.e Y/N.
The value will be updated through a custom FM being used in UCES, and also based on the value there is a validation inside UCES.
This field need not be displayed inside any SAP screen.
thanks,
Nirupam
Edited by: Nirupam Deb on Jun 8, 2011 11:44 AM

Similar Messages

  • 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.

  • 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.

  • Process to add  new field to Account screen and update value from R/3...

    We have CRM 7 and just wanted to ask what the process would be to add a new field to the Accounts screen. This field will be a read-only field and we'll source its value from R/3, based on some of the other data entered into the Accounts screen.
    What exactly is involved in this process?.
    I think I can use the new Application Enhancement Tool instead of EEWB to create the new field, but how does one identify which structure/table to change for say the 'Accounts' data, and, where does one place the code which populates this field, and, once the structure has been changed how do I physically add the field to the screen. I should be okay with reaching out to R/3 and populating the data, code-wise, but again wondered if there was anything inbuilt to do this, bearing in mind the closeness and constant access to R/3 from CRM.
    Any help would be much appreciated.
    Jason
    Edited by: Jason Stratham on Apr 14, 2010 1:11 PM

    Jason,
    If you use EEWB or AET,, there is nothing manual you have to do, the fields will be added to all related tables and structures plus UI too.
    May be sometimes you have to run the UI configration tool to add the field to the UI, again this is just a tool, there is not manual coding required.
    you can enter the value for the fields direclty via UI, BUT if it is a display only field, at the time of save, you have to write couple of line to populate this field ( see set_property( ) method in the context node ).
    Thats it...
    Regards, Sudeep..

  • Adding a new field and new data item breaks layout

    I am adding a new field to a subform and populating it form a .Dat unfortunatly adding this field is causing data outputed to the subform below it to shift down one line on the page when outputted.
    This new field is outputted at the top of the form and and the line being shifted are below this.
    Below is the field details and the field as it is in the .dat file.
    Field:F_PO_NUMBER [1]                                
    Lines: 1  Characters: 20  Angle: 0
      In Subform
    : Main_Page
      Options  
    : Global
    ^Command JFPAGE_START
    ^Undefine global:~^PAGE 1
    ^define global:SEQUENCE \pic"NUM999999",@D:NUMPAGESPRINTED../\pic"NUM99",@$PAGE../\pic"NUM99",@:JFPAGE_PAGE_OF..
    ^define global:JFPAGE \pic"NUM99",@$PAGE.. of \pic"NUM99",@:JFPAGE_PAGE_OF..
    ^GLOBAL Email COLL_TEL_NUM~12345678~^REFORMAT OFF
    ^GLOBAL F_CURRENCY_CODE
    GBP
    ^FIELD F_PO_NUMBER
    ^COMMENT R_remit_customer
    ^FIELD F_REMIT_TO_CONCATENATED
    Address
    ^COMMENT M_INVOICE_HDR_BOX1
    ^GLOBAL F_TRX_TYPE
    Invoice
    Now the weird party is if I move the new field in the .dat as below it fixes things and the everything lines up like it should do.
    ^Command JFPAGE_START
    ^Undefine global:~^PAGE 1
    ^define global:SEQUENCE \pic"NUM999999",@D:NUMPAGESPRINTED../\pic"NUM99",@$PAGE../\pic"NUM99",@:JFPAGE_PAGE_OF..
    ^define global:JFPAGE \pic"NUM99",@$PAGE.. of \pic"NUM99",@:JFPAGE_PAGE_OF..
    ^GLOBAL Email COLL_TEL_NUM~12345678~^REFORMAT OFF
    ^GLOBAL F_CURRENCY_CODE
    GBP
    ^COMMENT R_remit_customer
    ^FIELD F_REMIT_TO_CONCATENATED
    Address
    ^COMMENT M_INVOICE_HDR_BOX1
    ^FIELD F_PO_NUMBER
    ^GLOBAL F_TRX_TYPE
    Invoice
    ^FIELD F_TRX_NUMBER
    I hoping someone might have an idea of why this is the case as I'm at a loss regarding why its happening.

    I may not hit on it exactly, but this sounds like Adobe's processing order.
    It wants to process the fields in the order they are in the DAT file.
    I have a similar problem with an overflow field, that isnt last in the DAT file,
    Read this here:
    http://forums.adobe.com/message/2298283#2298283
    Now that may not be exactly your issue, but I think its the same inherent problem,
    Adobes processing order for the fields/subforms.
    I am still trying to resolve my issue, but found the ^field command in the reference manual (Print Agent),
    and am wondering if I can use it.

  • Aditional field in standard table and screen

    Hi friends.
    I'd like to know how to add a new field in a table and make it visible in standard transaction.
    In this case, the table is EBAN and transaction is ME51N, ME52N and ME53N. This new field must be includded in transaction items grid.
    I've already added field to CI... include in EBAN but this new field does't appear in standard transaction.
    I've already saw variant and this new field doesn't appear there too.
    Any idea ? Any SAP Note (I hadn't find any sap note yet) ?
    thanks.
    Glauco

    Hi Raymond Giuseppi.
    Greate hint about this SAP NOTE. It solved my issue !!!
    P.S.: This note is to releases 46c and 47, BUT even I'm in release ECC 6.0 I must do the same: I've already created CMOD prject, includes and subscreen 0111 like SAP NOTE ask to do. This SAP NOTE has entire example on how to add this subscreen and encoding includes of TOP, PBO and PAI to read and save data of Zfields of EBAN. It's nice and easy to understand.
    thank you !!!
    Glauco
    Edited by: Glauco Kubrusly on Nov 22, 2010 11:53 AM

  • Add a new field to existing Table

    Hi , We want to add a new field to existing table from ECC  and populate historical data .
    We have already extracted data from ECC to VBAK Table . We have to add a new field - Incoterms in HANA . This field exists in ECC .
    Please guide.

    Hi Vicky,
        I dont think you can add new fields to the condition table once you have activated the condition table.
    SAP says you can only make limited changes to the condition table, like changing the description, fast entry screen, header and footer fields, but not able to add new fields to the table, and I think that is the correct approch or else for the same table you will have two sets of condition records.
    Please refer to the below link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
    What you can do is create a new condition table with additional field and assign this table before the currently used table in the access sequence.
    Hope this helps.
    Regards
    Raj

  • 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 to a Z table

    We have a Z table on which we have created a datasource. We have created a virtual cube on this datasource and queries are built on this cube. This setup is present on Dev, Quality and Prod environment.
    Now we have added a new field to the Z table in Dev. We will be creating a new Infoobject for this new field and will be adding it in the Virtual Infoprovider and also in the queries.
    1. Do we need to replicate the datasource so that newly added field is visible to the datasource? If no, is there any way?
    2. When I have to transport this to Quality and Prod, do I have to capture all the components and objects (Table,Datasoure,Virtual Cube Queries)? If no, what should I capture in the transport request?

    Hi,
    First, you have to regenerate the datasource in order to add the field:
    1) Log on to source system (where Z table is stored) and go to transaction RSA6.
    2) Select the root node and click Expand (icon with '+' sign).
    3) Search for your datasource (you can use the binoculars icon).
    4) Click on Change.
    5) Verify that the field appears on the list.  Make sure that "Hide field" and "Field only known on client exit" options are not marked for this field.
    6) Click on Save.
    7) Select "Datasource" -> "Generate" (CTRL+S) menu option.
    8) Use RSA3 transaction in order to verify the new field appears on test extractions.
    Then, to replicate the datasource in BI:
    1) Log on to SAP BI and go to RSA1 transaction.
    2) Go to "Modeling" -> "DataSources" section.
    3) Search for your datasource and right click on it.  Select "Replicate metadata" from context menu.
    4) Add the new InfoObject to the VirtualProvider.
    5) Update the transformation which joins the DataSource to the VirtualProvider.
    As far as transport requests are concerned, even though it requires more work, it is a good practice to group objects in different transport requests according to their type:
    In the source System (R3 for instance):
    1) One transport request with the table.
    2) One transport request with the datasource and its structure.
    In BI:
    1) One transport order with the datasource replica.
    2) One transport order with the new InfoObject(s).
    3) One transport order with the modified VirtualProvider.
    4) One transport order with the modified transformations from the datasource towards the VirtualProvider.
    5) One transport order with the Queries and their elements.
    I hope this helps you.
    Regards,
    Maximiliano

  • Adding a new field in searh and result [ comb of 2 other fields ]

    Hi ,
    I have to add a new field in Opportunity Search and later OpportunitySearch Result. This field belongs to Opportunity Details -> parties Involved view , and is a combination of 2 fields there..Partner function and Main Partner (unchecked ). Details are as below..
    Can you please suggest easiest way for achieving this..
    Details of the Opportunity Search where I need to add a new search field
    Component : BT111S_OPPT
    Context Node : SEARCH
    View : BT111S_OPPT/Search
    Details of the new search field (Present In the Opportunity Details, there is a viewset for Parties Involved ) ..The new search field should be Employee Responsible but not the Main Partner ( kind of a substitute OR Secondary Employee Responsible )..2 employee responsible is permitted in partner determination..
    Component : BTPartner
    Context Node:  BTPartner
    View : BTPartner/Partner
    Attribute : Partner_fct
    Generic Object Type = 1Order
    +
    Component : BTPartner
    Context Node : BTPartner
    View : BTPartner/ Partner
    Attribute: MainPartner ( Not checked = 0 )
    Is there a simpler way without coding to achieve the above?
    The route that we have thought of is ...Let me know if there is an alternate simpler way...and If I am missing anything
    1.Create a custom field using EEWB ( I am not well aware of AET, and not aware how to enable this in our 
       environment as we upgraded to 7.0 recently ) For CRM Opportunity Transaction Type.
    2.This will be linked to the table CRMD_ORDERADM_H and the related structure
    3.Ask the technical team to populate this field from structure COM_DYNP_PARTNER_UI-PARTNER_FCT and COM_DYNP_PARTNER_UI-MAINPARTNER = 0 [(In Transaction crmd_order F1 on employee responsible points to structure COM_DYNP_PARTNER_UI and Mainpartner is a Boolean and hence main partner = 0 means that it is not the main partner ).
    4.Add the same field in the search-result as well.
    Thanks.
    Regards,
    Monica.

    Hello,
    I have looked at wiki below [http://wiki.sdn.sap.com/wiki/display/CRM/Howtoaddanexistingfieldtoasearchpageofadifferent+component]
    Kindly suggest ways to acheive adding new field in Opportunity Search ( employee responsible which is not the main contact like I mentioned ) which belongs to another component ...Can it be done without coding eg. adding to design layer.
    Can you please give steps to do the same.
    Thanks.
    Regards,
    Monica

  • Adding New field in a Table

    Hello Experts,
    I have created a table. I have 3 fields in that table and i hav used that table for 2 months. Now i have added a
    new field( FLAG Field ) values will be 'X' or Blank.  Now when i am using a select query on this table in where condition if i am using Flag = ' ' ,  it is not considering the old records it is fetching values from the day i have added the new field, Kindly provide me a solution
    Thanks & Regards,
    Kams.

    Hi,
    then you forgot to set the INITIALIIZE flag for your new field in SE11.
    Regards,
    Klaus

  • ADDING A NEW FIELD IN TABLE MAINTENENCE GENERATOR

    I HAVE A REQUIREMENT OF ADDING A FIELD TO DATA BASE TABLE .
    THAT ADDED FIELD SHOULD BE ABLE TO MAINTAIN IN TABLE MAINTANENCE GENERATOR WHICH IS ALREADY THERE.
    CAN YOU GUYS TELL ME HOW TO ADD NEW FIELD IN TABLE MAINTENENCE GENERATOR.
    PLEASE TELL ME HOW TO DO THIS .
    I AM USING 4.6C

    Hi
    Add a field to existing table and delete the maintenance generator and re create the same
    Regards
    Shiva

  • Adding new field in customized table ZPM_QMEL_EXT

    Hi all,
    My requirement is  to add a new field in ZPM_QMEL_EXT table numeric field no of  months due (ZZ_CO_MON_DUE) .
    Its value will be calculated as the # of invoices that were paid vs. what has not been paid and then from there, value of this field will be fetched.It has to be populated during the time of notifcation screen entry (iw51). The logic will be similar to this
      SELECT FAEDN FROM DFKKOP INTO TABLE IT_DU_DT
                                  WHERE GPART EQ WA_QMEL-KUNUM AND
                                        VKONT EQ WA_QMEL-ZZ_VKONT.
        SORT IT_DU_DT BY FAEDN ASCENDING.
        READ TABLE IT_DU_DT INTO WA_DU_DT INDEX 1.
        MOVE WA_DU_DT-FAEDN TO DUE_DT.
        CALL FUNCTION 'HR_MONTHS_BETWEEN_TWO_DATES'
          EXPORTING
            I_DATUM_BIS = SY-DATUM
            I_DATUM_VON = DUE_DT
          IMPORTING
            E_MONATE    = NO_MT.
        IF NO_MT IN P_DU_MT.
          WA_QMEL-DUE_MONTHS = NO_MT.
    Awaiting your kind help .
    Thanks
    hariom.

    Hi,
    There is only one option to include extra field for standard tables that is Append Structure other than we don't have any option.
    For Customizing tables we can use Append structure as well as Include Structure.
    Rules: Append Structure should be in last in Field column but include structure you can insert in any where it means between the fields.
    Delivery class option  and data class will take care automatically while upgrading the sap system one version to Another version.(upgrading).
    For that you should maintain the those properties when data base table creation.
    i hope the above information may helpful to you.
    Best Regards
    Sreenivas Pachva

  • Problem while adding a new field to a Z-table

    My attributes are mater table with maintenance allowed and taken APPl0 as data class.
    Now i am trying to add another field to this table and it says you have no authorizations in the log.
    I checked in SU53, actiity is 42 there...
    how can i no wether i have authorizations 2 chg a table or not?if this is the case, it should pop-up a msg when we go for a chg mode itself.. right???
    any clues guyz what shud i do?
    regds
    kiran

    Hi,
    Do u want to know about the authorization means go to table maintenance generator first.
    Now get the authorization object of your table.
    Goto transaction SU21.
    List of object class will be displayed.
    Double click the object class BC_A.
    Now a list of object will be displayed.
    Double click the object S_TABU_DIS (Table Maintenance)
    U will find wat all fields used in tht, ACTVT is the field which specifies the activities of ur table.
    Reward mark if this is useful.
    Ram.

  • Adding a new field to search of Service Contracts

    Hi Experts,
    I have a requirement where in to add an existing field i.e your ref (sold_to) your_ref_sold field into the search criteria of Service Contrct .
    How to add the field to the Search .
    I have few questions here.
    1 need I use EEW to add the field to Search but its already existing?
    2 If not How to append the Structure crmst_query_src_btil and enhace it with field required?
    3 how to implement the BADI crm_rf_search_eew?
    Thanking You,
    Sree.

    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.

Maybe you are looking for

  • IPod Nano synching error 13019

    I've seen this error message in other posts and (I think) I've tried all the suggestions to no avail.  My issue is that I didn't start getting this error until I switch to an iPhone a couple of months ago.  Everything synchs properly to the iPhone, b

  • Problem using Tomahawk inputDate tag

    When I enter a blank value for any of the dropdowns in the inputDate component anerror is generated by the component and I can display the errorMessage using <t:message for="myDate" errorClass="validationMessage" infoClass="infoMessage"/>My question

  • Administrative document blocked when sending message

    Hi, For EMCS I am using excise duty in GTS. One of the messages which are used for this is an active message 'Send explanation of Delay'. No passive feedback message is expected in reaction to this message. Still, when executing this message, an idoc

  • Accessing Outlook Calendar & ToDo's on PC using Outlook Express Address Book

    How can I setup Outlook in the BB Desktop Manager so I can use it synch my calendar and To Do's?  I'm synching my address book from Outlook Express just fine.  But the system isn't seeing Outlook.  Why? Thanks much for your help.

  • Essbase Administration Console error "failed to create client directory to write error file"

    I am getting the following error while trying to load data using EAS v11.1.2.3 "failed to create client directory to write error file" Any known root cause for this.