Adding a single field to CRM UI

Hi there,
I need some advise on how to add a custom field to the CRM UI as I am new to this. In my case I have a small table where for several transactions an additional information is stored. This piece of information should be displayed right beside the transaction id in CRM UI.
After reading some posts and guides I managed the creation of a new field in CRM UI, which I added in the UI configuration. I also see it in the attribute list of component AIC_INCIDENT_H.
Now, I need to add some code that reads my Z-table and puts the information to this field.
As I worked only with webdynpro so far, I am not sure how to achieve this...
I see some options like generate setter/getter methods in the attribute context menu but system tells me that processing is not possible as the attribute was not created with wizard (I created it within the configuration mode in CRM UI).
Can someone help?
Regards, Richard

You can create a copy of the standard design layer, add your field and define it as dropdown listbox 0 coding is required
Otherwise you will need to code in the GET_V method and the GET_P, there's a lot of information about this if you have a little of patience to search
If fits your requirement (dropdown listbox) I would go for the design layer approach, of course there's info about this through scn too

Similar Messages

  • Adding new input fields in CRM

    Hello All,
    I have the below requirement.
    I have to introduce new input fields in CRM for sales order creatio. These fields are to capture customer PO line item number and customer material number.
    Is there any standard field already available where we can capture this and replicate to ECC?.
    If not please help me on the below things.
    How can i introduce new fields in CRMD_ORDER and map these fields to ECC fields.
    Please help me.
    Regards,
    Shanto Aloor

    Hello,
    I take a look at the table CRMD_ORDERADM_I and I see that there are two fields for the item number.
    - number_int - Internal position number
    - number_ext - external position number
    Maybe you can use the field number_ext for you customer line number
    For the field customer material number I found the fields:
    ORDERED_PROD - CRM product number and
    PARTNER_PROD - Product number of the business partner
    As well i am not sure, but maybe you can use the field PARTNER_PROD for the customer material number. If this is not working you can enhance the position fields on two ways:
    If this is not working you can enhance the position data:
    (1) Old way using easy enhancement Werkbench
    You can use the transaction AET to generate new fields at the position. On this ocasion you should enhance the CRMD_CUSTOMER_I database table.
    (2) New way using application enhancement workbench
    The AET can be used at the webclient ui. Here you can easily generate new fields for the order. Please use the expert mode, because there you can define the fieldname at the database. Here you enhance the table CRMD_CUSTOMER_I, too.
    For the replication you have to take a look at the BADI CRM_DATAEXCHG_BADI. You can use the method CRM_DATAEXCH_AFTER_BAPI_FILL to fill the bapi structures with your new fields and send it to the ECC.
    Greetings

  • Replication of Custom Fields from CRM to ISU and Vice versa

    Hi Experts,
    We are working on adding Z fields on BP level. For this how does the replication of the values takes place from CRM to ISU or vice versa. What are the middleware enhancement we need to do in CRM side or in the ISU side. We would add the fields on web UI crm side by AET but at ISU side how we need to do that and how would the field values replicate in both the system.
    A approach for adding BP custom fields in CRM and its interaction with ISU and vice versa would be appriciated.
    Thanks,
    Mayur

    Excuse, you may enter more in detail?
    I have created a custom field on BP using the AET would now like to replicate this custom field in BP also in ISU.
    I can do all this using the EEWB, but I would avoid it, since, in ISU we already have custom fields on BP, I just can not link them with CRM.

  • Adding custom fields to CRM Sales transactions

    What are the steps to add custom tab and fields to CRM transactions?
    By the way, we are on CRM 6.0 and are using SAPGUI.
    Thanks in advance
    Srini

    I tried using Easy Enhancement Workbench (EEWB) and was able to successfully generate the task under the project.
    But now I am getting short dumps in transaction CRMD_ORDER. Snap shot of the error is below.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_EX_CRM_CUSTOMER_I_BADI=====CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Runtime Errors         MOVE_CAST_ERROR
    Except.                CX_SY_MOVE_CAST_ERROR
    Date and Time          01/26/2011 16:52:47
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_MOVE_CAST_ERROR', was not
         caught in
        procedure "IF_EX_CRM_CUSTOMER_I_BADI~CRM_CUSTOMER_I_SET_TITLE" "(METHOD)", nor
         was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        It was tried to assign a reference to a rereference variable using the
        'CAST' operation ('?=' or 'MOVE ?TO').
        However, the current content of the source variable does not fit into
        the target variable.
        source type: "\CLASS=ZCL_IM_EEW_CUSTOMER_I01"
        target type: "\INTERFACE=IF_EX_CRM_CUSTOMER_I_BADI"
    Also, is there a clean way to back out these changes? Will deleting the project undo these changes?
    Thanks in advance
    Srini

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

  • Error while adding a custom field with Input help via AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running  and Autopopulating seocnd field while I am testing it
    While adding second field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
    Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
    Please help me out.Kindly be detailed as I am new to SAP CRM.
    Thanks,
    Shivani

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

  • Displaying data from a list into a single field with comma separated values

    Hi,
    I have a requirement to change a report with an XML structure (simplified version) as below
    <Protocol>
    <ProtocolNumber>100</ProtocolNumber>
    <SiteName>Baxter Building</SiteName>
    <ListOfActivity>
    <Activity>
    <Description>Communication Memo Description.</Description>
    <Name>James</Name>
    </Activity>
    <Activity>
    <Description>Visit 4</Description>
    <Name>James</Name>
    </Activity>
    <ListOfActivity/>
    </Protocol>
    On the report I need to display all the 'Names' for each of the Child (Activities) in a single field at the Parent (Protocol) level, with each Name separated by a comma.
    How do I go about getting this to work?
    Thanks

    Take a look at this: http://blogs.oracle.com/xmlpublisher/entry/inline_grouping
    You could do this (ofcourse, you will need to add extra logic to ensure that there is no comma added after the last name..)
    <?for-each@inlines:Name?><?.?><?', '?><?end for-each?>
    Thanks,
    Bipuser

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

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

  • BP Custom Field replication - CRM to ECC

    Hello Developers,
    I have added custom fields to the CRM BUT000 (Business Partner) table, using AET.  Now,  I need to replicate these custom fiields to ECC.  We have configured, and are successfully replicating the standard BP fields from CRM to ECC.  However, the new AET custom fields are not replicating. 
    Can you please help me by identifying BADIs, Enhancements, or User Exits where I can insert the required code in order to accomplish this custom field replication, on both the CRM and ECC sides of this replication?  Is there a document that describes what is required? 
    We are running ECC 6.0, and CRM 7.0. 
    Thanks for your help!
    Duane

    Hi Brian,
    Thanks for your help.  I have resolved this, and the information that you provided was helpfutul.
    I had to create a function module in ECC, modeled after the SAP provided sample FM SAMPLE_INTERFACE_DE_BALE.   In addition to this, I had to configure entries in the standard SAP tables TBE24 and TBE34 (event DE_BALE), so that my new function module  would be  called. 
    Duane.

  • Replication of custom z fields from CRM to ECC

    Hello,
    I have created custom fields in CRM - Order using EEWB.  Similarly I have created custom fields in ECC - VBAK.  I want to replicate these custom fields from CRM to ECC.  Somebody had suggested to use CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL.  Can anybody give me a sample code of how to populate table - CT_BAPIPAREX within this method? 
    Process followed was -
    1. ECC - Extend VBAK with zfld1
    2. ECC - Extend BAPE_VBAK, BAPE_VBAKX with zfld1
    3. CRM - Add zdoc1 using EEWB
    4. CRM -  Extend BAPE_VBAK, BAPE_VBAKX with zfld1 (same as ECC?)
    5. CRM -  CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL. - This is where I need to map zdoc1 of CRM to zfld1 of ECC.  And then populate CT_BAPIIPAREX.  This is where I am stuck. 
    Thanks!

    HI,
    If you have added field in EEWB chosen R/3 Adapter, then it will also enhance the Exchange structures and thus i guess CRM_DATAXCHange_badi shud contain in one of its changing parameters
    The following blogs gives a good idea in the similar lines.
    /people/vikash.krishna/blog/2009/07/21/exchange-ecc-customer-master-standard-field-with-the-crm-z-fields-ecc--crm
    /people/vikash.krishna/blog/2009/07/14/crm-70-how-to--4-adding-custom-fields-with-the-new-application-enhancement-tool-aet
    Revert if you need further help.
    -Satish

  • BP EEWB field in CRM to  ECC zfield in KAN1

    Hello  all ..
    I have added  few custom fields to BP through EEWB  and want them to replicate to ECC .
    Here are the steps I followed ...
    We are on CRM 5.0 and ECC 6.0
    1) Added the fields in same order as EEWB in  BSS_CENTIX (component type GB_BAPIUPD ) and BSS_CENTI ( data element/domain same as in BUT000)  in ECC
    2) Maintained table TBE24, Create a product and mark it active in ECC.
        Maintained  table TBE34 for the event DE_BALE with same product  and Function module = Z_INTERFACE_DE_BALE
    ( copy of SAMPLE_INTERFACE_DE_BALE  ) in ECC
    3) I wrote  the code in Z_INTERFACE_DE_BALE and mapped the custom fields to structures in the CT_IDOC_DATA.
    I have mapped custom field/Z field in KNA1 to  the eewb field  in  Z_INTERFACE_DE_BALE   like this...
    extended the Idoc  i.e added a custom segment ZE1KNA1M under E1KNA1M
    But still the field is not getting replicated. ( though eewb fields are replicated to standard fields in Kna1)
    Hope Iu2019m clear with my question.
    Thanks in advance.

    Hi Aday,
    We have similar kind of requirement. Would like to know whether you are using BDOC to transfer BP created in CRM to R3? In this function module Z_INTERFACE_DE_BALE, if we populate the idoc structure for the required fields will it update the customer with required field information.
    Thanks in advance. Your help is highly required.
    Regads,
    Ranadev

  • What are the steps to send sales order custom field from CRM to ECC

    Hi Xperts,
      We have created a custom field in sales order [ VBAK] and successfully replicate its value from ECC to CRM. But while doing the enhancement to replicate the field value from CRM to ECC [ When the SO is created in CRM ] we are not able to do so.
    We used a FM in CRM0_300, but while replicating the SO from CRM to R/3 it is not getting called.
    Please help us by providing the steps to do the full enhancement to replicate the custom field of SO from CRM to ECC.
    Thanks in Advance.

    Hi Anjaneyulu,
    We are faced with a similar situation as you.
    Here is our scenario with the steps that we performed so far:
    1.  We have added a few custom fields in CRM 7.0 (Ehp1) using AET.
         The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    2.  On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    3. Extended BAPI structures BAPISDITM and BAPISDITMX in both CRM and R/3 Side.
    4. As mentioned in the note 1053817, we have implemented BADI CRM_DATAEXCHG_BADI -> Method CRM_DATAEXCH_AFTER_BAPI_FILL in CRM (mapped fields from BDOC to BAPI structures)
    5. In the above note, for R/3 BAPI to R/3 API they have given to implement user exit USEREXIT_MOVE_FIELD_TO_VBAP which we found in MV45AFZZ. But in this we are unable to find BAPI Structure to map.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    Could you let us know if your issue is solved completely. Are you able to see the value of custom field, in ECC? Did you use AET to add fields in CRM.
    Could you please give us the steps that you have done.

  • How to add new fields to CRM contract Product List tab?

    Hi all!
    I would like to add a new custom field for CRM contract (CRMD_BUS2000121) item level, on the Product List tab.
    Here I found CRMT_0100A_ORDPRP_I_EXT_UI structure, therefore I enhanced this with new append structure and new fields.
    I also added the new fields to ORDPRP_I append structure and mapped the new fields in CRMC_MAP.
    For some reason the new fields are on the screen but they are grey, not changeable. What did I do wrong?
    Thanks,
    Tamas Pentek

    Actually for the new IC webclient UI you have need to take a look at your options:
    1.  New Installation:
    Use the EEWB and add the fields.  As part of the EEWB work, you will have a couple of post-processing steps where you will add your generated fields to the new screens.  However this doesn't require any programming.
    2.  Upgrade from CRM 4.0/50
    - New fields to add as part of upgrade
    See the directions for new installation
    - Existing fields to add as part of upgrade
    --See the blog on the 40/52 CUSTOMER_H migration for transaction fields
    --Business Partner fields part of BUT000 available via UI configuration tool, no extra work needed
    --Business Partner fields part of tabular extension, manual work required, I am still "perfecting" this method and plan on writing a blog once I have the technique finished.
    --Product Attributes - use the transaction CRMM_UI_PROD_GEN and CRMM_UIU_PROD_CONFIG
    I know CRM 2007 is based on the same tech foundation as 2006s, with some differences in how the UI tool works and the fact there are some screen layout changes(editable overviews).  The extension procedures are generally the same.  I can answer some of you extension questions based on my work with CRM 52 so far.  It will generally apply to your situation.
    BTW:  The PCUI is no longer supported in CRM 2006s and above.  Even the old SAP GUI transactions such as BP, COMM_PRODUCT are removed from the standard CRM menu.   The SAP CRM web client should be used instead now.
    Take care,
    Stephen

  • Multiple Text Boxes Populating a Single Field

    I need to create several select lists in a form that can each populate the same field in a table, but obviously need for the select lists in the form to be mutually exclusive so that the user can only enter data into one of them.
    There is also a field on the form displayed as a radiogroup, and I would like for the user's selection on this radiogroup to dictate which one of these multiple select lists they use to enter this data.
    Before I do any of this, however, I guess my first question is, how do I create multiple text entry fields on a form for just a single field in the table?

    hi brice--
    if you're coding your form page manually, you'd simply add your extra fields to your page definition and conditionally diplay and use the values you needed. i'm guessing you're asking about wizard generated forms.
    you can associate multiple fields with a single database column on your form by simply adding the extra ones you need and conditionally displaying/processing the ones you need. your other questions sound like javascript ones to me. if it were me, i'd take a look at our javascript how-to document at...
    http://otn.oracle.com/products/database/htmldb/howtos/htmldb_javascript_howto2.html
    ...and find the specific javascript i needed from google.
    hope this helps,
    raj

Maybe you are looking for

  • On Demand Sub-Report not working

    Hello, I am using crystal reports xi-r2 I am having trouble getting an on-demand sub-report to work. After much trouble I am able to get the sub-report to work in the designer but as soon as I publish the report and access it from the CRS. It stops w

  • Value date cross company code postings

    Dear all, it is possible to influence the value date on a company code level via the transaction OB68. With this transaction you can state that the current date is used as the default value for the value date when entering line items.This works fine

  • Storing and retrieving pdf

    I've stored pdf files in oracle database in BLOB field. Now I want to retrieve it by using xsql or some Java program to show it in the browser(the pdf file itself). Is it possible? Can I've some example code? I'm also using Tomcat server and my overa

  • With an iPhone 5 is a way to handling backlight better. Flash doesn't do it.

    How can I handle backlighting in an iPhone 5 camera? The flash doesn't it and there is no way to use "spot metering".

  • Sync from OVI Nokia Suite 3.8.48

    My Nokia phone broke with all contacts on it, non on the SIM. I have it dayly syncroniezed (bluetooth) with OVI but my last backup .nbu is from January this year. Is there any way to get the contacts stored in the OVI suite back on my new phone? Than