Component enhancement

hello specialists,
I am new to sap crm. Could you please edify the steps for enhancing a standard component and also the post enhancement steps for making the view available in the WebUI ?  I am currently working on the Complaints component.

For any customer modifications to the standard components , we need an Enhancement Set.
a) Creation of the Enhancement Set.  Go to the trx SM34 and cluster view BSPWDVC_CMP_EXT. Enter the name and descripton
b) Assignment of the Enhancement Set to a client. Go to Trx sm30 and open a maintain BSPWDV_EHSET_ASG. Assign the created enhancement set to the client you require.
After the enhancement set is created do the following
a) In the BSP_WD_CMPWB , choose the component you need to enhance and the enhancement set that you created
b) Click on the button Enhance Component on the Workbench( Extreme TOP Right )
c) When you do that you get an option to enter a new BSP application name( This should be a new name).
d) Once you have done that in sm34 view BSPWDVC_CMP_EXT you will be able to see the enhancement definition.
e) Right click on the view that you want to make the changes to and say enhance.
f) All the methods are marked by colored icons
g) One you have done this you shall be able to see the same view in sm34 view BSPWDVC_CMP_EXT under controller replacements in the Enhancement definitions.
Viola you are done.
Regards
Kavindra

Similar Messages

  • BADI CRM_BP_UIU_DEFAULTS or Component Enhancement?

    Hello Experts,
    I just came across BADI CRM_BP_UIU_DEFAULTS implementation.
    While creating the account, to populate the fields in BP_ADDRESS with default values, this BADI can be used to implement that functionality.
    This was the suggestion by our functional consultant.
    I was thinking, why not to enhance the component and set the default values in DO_PREPARE_OUTPUT method or using some other methods.
    I'm sorry for asking so stupid question. But, it's been a question I was asked a few times. I thought it was becoz of performance issue. But, still I'm not sure.
    Can someone please help me find out the reason why to go for BADI and not to enhance the component?
    Thanks in advance.
    -Ezhno.

    If there's a BADI I would go for the BADI, I understand it's a little weird, because the BADI's are placed in the standard component, so if you enhance the component and redefine the methods where the BADI's are called and put your logic there, the result will be pretty similar. Why you should redefine instead of use the BADI?, IMHO I don't think there's an exception, so as I said in the begining I would go for the BADI  as the behaviour of the UI can change for notes, SP or ehp, if you you have the component redefined maybe you lose this functionality even if you called the SUPER properly and SAP support you, but, if you are using a BADI and using it as the way is meant, SAP will support you or at least they won't have the excuse to not support you
    Cheers!
    Luis

  • Component Enhancement Deletion Problem in WEB UI

    Hi All,
    I created an enhancement set for component ICMPP_BT_SVT and then I had to delete it. I also deleted the records created by enhancement in tables BSPWD_COMP_EXT and BSPWD_CMP_C_REPL.
    But now I am facing exceptions  while I run this component. Please tell if I have missed any step for deleting the enhancement for this component.
    Please help.
    Thanks
    Vishal

    If you want to delete enhancment follow the steps below. It worked fine for me.
    First determine the objects (for example, BSP applications, classes, controller and so on) that were created by the enhancement. You can view these objects using the view cluster BSPWDVC_CMP_EXT (SM34): Select the enhancement set, choose "Enhancement Definition" and then "Controller Substitutes".
    Then go to the BSP components in the ABAP workbench (SE80) that are used to store the enhancements.  Search for the obsolete objects and delete them:
    - Search for controller -> Search for and delete controller class
    - Delete controller
    - If a view exists -> Delete view
    Then delete the Customizing entries ("Controller Substitutes") from the view cluster BSPWDVC_CMP_EXT.
    If configurations that contain fields from enhancements that are now deleted were created (BSP_WD_CMPWB), these must also be deleted manually.

  • Print Preview texts from event handler of a web UI component enhancement

    Hello,
    I've enhanced View GSTEXT/List to add Print Preview button. What I've done in the event handler is to read the text with  function module READ_TEXT and I have all my text in the lt_lines internal table. Now I want to View this text in PDF format. I just realized I can't call a smartform directly from my event handler and I also can't call an adobe form to do this for me. Can anyone help me on how to resolve this?

    Hi Khaya,
    I see two things you might have done not quite right:
    Why do you use "READ_TEXT" when all the data is already there in the BOL? Did you ever have a look at the logic the WebClient uses to display the text? Go check it now!
    Of course you can call an Adobe or Smart Form in an event handler. The bigger problem might be getting the response to the user.
    Not knowing your exact logic I would recommend:
    Use the BOL to retrieve all data.
    In the method where you create the button use CL_CRM_WEB_UTILITY to create the JavaScript code for a client callback handler. Then in the handler create the PDF and return it to the user. You can just set the XSTRING to the response.
    cheers Carsten

  • ERP Central Component Enhancement Package 4

    Dear friends,
    In my company sap ( ECC 6.00) Enhancement package 4 is applicable, I want to confrim what is new for SAP mm in package 1,2,3,4..
    Neeru Dimri
    SAP MM

    Dear Experts,
    any please confrim me what is the extra in ECC 6.0 - to - ECC 6.0 EHP4 for SAP MM.
    Neeru

  • Error while deleting enhanced component

    Hi,
    i have enhanced the component 'ICCMP_BP_CP' and the view 'ICCMP_BP_CP/BuPaContactPersonCreat'. When we enhanced the component, it throwed me the error message that user is not authorized for sicf transaction. after getting the authorization, i enhanced the component. But when we we enhanced the view, it was throwing view bind exception in Web UI. so, we deleted the enhanced view and when we are trying to delete the enhanced component 'ICCMP_BP_CP', its throwing the error that 'run time repositry could not be loaded',
    After I tried deleting the component enhancement, I can still open that component with enhancement set from BSP_WD_CMPWB but it doesn't show me any repository.xml. Also, I don't see any entry for the enhanced component in BSPWD_CMP_C_REPL.
    I am attaching the screen shots like how I am deleting the enhanced component. Could you please tell me how to delete it.
    Thanks & Regards,
    Kamesh Bathla

    Hello,
    Open table BSPWDV_COMP_EXT via SM30 and open it with the Enhancement Set in which you created the enhancement you want to delete. (or the view cluster BSPWDVC_CMP_EXT via SM34)
    Look for the component for which you want the enhancement to be deleted. Note down the "Runtime Rep. BSP application" and delete the record.
    Open the BSP application you noted down in SE80 and delete the (incorrect) enhancements, then delete the whole BSP application.
    Restart enhancing the component.
    Hope this helps,
    Joost

  • Enhanced WDC cant embed the new view in new window

    Dear Experts,
    i have enhanced the HRTMC_LP_CONFIG_CONTROL with new VIEW V1 and new WINDOW W1. Saved the component enhancement. Now when i wish to embed the newly created view V1 by  right click on the W1 to embed the View,  F4 does not list the VIEW V1?
    i have saved the comp.
    i am in enhancement mode.
    Best Regards
    Prashant

    Sorry for the hassle it does seem to start listing the new view after couple of try & activation's !!

  • Delete customized enhancement objects issue

    Hello everyone!
    I'm quite new to SAP, and I was trying to make an enhancement to display additional field in the Product Header area. I did some steps, but at some point wanted to start again and delete enhancement. When I've tried to do that with the button "Delete component enhancement" warning message appeared that enhancement is not empty. Then I went to tc sm34 cluster BSPWDVC_CMP_EXT and deleted controller substitutes and enhancement definition there. After that I wanted to delete obsolete objects from the Z package and that's the point where the issue comes in. When I select, for example, BSP Application or classes created by wizard, and try to delete them, GUI just hangs. No errors, no warnings. If I try to create enhancement again without deleting obsolete objects, it asks me if I want to overwrite the BSP application, that was created with my first attempt. If I choose yes, it hangs in the same manner.
    Is there a way to solve this? Please advise.
    Thanks in advance,
    Alex.

    I've actually followed note 1122248, but at the step: "Then go to the BSP components in the ABAP workbench (SE80) that are used to store the enhancements. Search for the obsolete objects and delete them" GUI just hangs.
    In addition, even if I try to create new package, or class, or even save a program in a local object GUI hangs. Is it some global problem?
    Regards.

  • After deleting enhanced view still the bsp application is showing in se80

    Hi,
    I enhanced one component then after some reason i deleted the enhanced view at that time it's asked do you want to delete bsp application i click on yes then after also still i showing in se 80 under my package it's showing.
    after deleting enhancement view and deleted enhancement component.
    after deleting these total still all the z classes are showing in sm24. if i enhance from starting on wards from enhancing component and enhancing view i need to new bsp application name because previous bsp application is still showing and some of the context class. after transporting in to quality server this component is showing there is context class which i redefine in the development and view is not defined in the run time repository. why it's showing these errors in quality server.
    my guess is in dev i deleted which are deleted still the classes and bsp application are there older one if provide new bsp classes also.
    what are important things we need to follow if delete the view enhancement and deleting the component enhancement. because if i transport after deleting with new bsp application name and with a previous existing class with a new request also it's not working quality server. because lot of classes are generating automatically in when we redefine the context class in development so these classes are not there in quality server.
    please guide me if delete any enhanced view and component why still bsp application and redefine z classes are showing in se80 and se24. because if enhance newly also and redefine also it's considering previous bsp application and previous redefine classes.
    what are precautions i need to take if i delete enhanced view and enhance component.please guide me.
    jemmi.

    Jemmi,
    You should follow the following SAP Note in deleting enhancements. There are a few steps to be done in SM34. If we just delete through the wizard we are bound to have these issues.
    SAP Note 1122248 - Consultation:Procedure when dealing w/framework enhancements
    Briefly, these are the steps to delete the enhancemnet-
    1) In SM34, view BSPWDVC_CMP_EXT. Select enhancement set and then select enhancement definition. You will see your component there.
    2) Select your component and in left side navigation click Controller Substitutes.
    3) A list of the enhanced views are displayed.
    4) Select the views and delete it. Before you delete make a note of the BSP application these views are attached to. Hopefully, you attached them in a Z BSP application
    5) Go to SE80. Select the Z BSP application and delete it.
    Go through the SAP Note to understand the process in more detail.

  • Syntax Error in Web UI component post upgrade

    Hi Experts,
    We have a enhanced component in IC agent which is giving syntax error post upgrade from 7.0 to EHP2. It seems some attributes have been removed/altered in the new super class.
    In this case do we need to delete the component enhancement and re do the effort or is there any way to regenerate the enhanced component ?
    Thanks, Please help.
    Rohit

    Hi Rohit,
    I've written a few blogs where I collected the different steps necessary in CRM after an EhP or SP upgrade. Furthermore I described solutions to common problems in these blogs. Please have a look an see if one of the described approaches is suitable for your problem.
    http://scn.sap.com/docs/DOC-44983
    http://scn.sap.com/docs/DOC-49317
    http://scn.sap.com/community/crm/upgrades-and-enhancement-packs/blog/2014/02/21/sap-crm-ehp3-upgrade
    Best,
    Christian

  • SC Webdynpro Enhancement Post Exit impacts to BBP_PD_SC_GETDETAIL

    Hi,
    SC delivery address Webdynpro component Enhancement Post Exit Method defaults c/o name, phone and email fields using
    existing attribute field. In this scenario values are populated on the screen and saved to the database. But in the Doc check BADI BBP_PD_SC_GETDETAIL will not retrieve the c/o name, email and phone while saving the shopping cart. SAP responded saying that i have to perform update  in post exit. Below are the classes/Methods referred by SAP.
    "/SAPSRM/IF_CLL_MAPPER~UPDATE" from class /SAPSRM/CL_CH_WD_DODM_SHIPTO,
    there is a method call "CALL METHOD lo_pdo_shipto->update_item_partners
    Issue is still not resolved after using above methods.
    But if user manually enters a vlaue there is no issue everything works fine. Issue is only when system defaults and as per SAP  screen changes are not picked unless it is updated. Not sure what update means?
    In web dynpro enhancement framework when code is written in post exit is there any update process for buffers to be done? if so can you let me know how?
    Thank You,
    Vineela

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Enhancing Standard javascrpit

    Hi Experts,
    I'm having a javacrpit in one of the web ui Component(UICMP_LTX -> PAGES WITH FLOWLOGIC -> LaunchTransactionAdmin.Js). I'm able to enhance views, but not able to enhance java scrpit. Could anyone please suggest me on how to enhance the standard javascrpit.
    Thanks & Regards,
    S.Gangireddy

    HI Michael ,
    Thanks for your quick response . It would really very help full if you please explain what you did exactly . I am writing my approach below as well .
    1. I have enhance UICMP_LTX component   ( Z Component : ZUICMP_LTX)
    2. I have Copy the Java script under page with flow logic : LaucnTransactionAdmin.js in my Z-Component
    3. After copying i am able to see at se80 transaction under my package that i used while doing this component enhancement
    4. Then i made changes in my JS file but is it not calling then i get idea from "Sigrid" , she told to add JS file path at SPRO .
    5. As per her solution , i activate business function to enable "Define file path for JS" under spro
    6. Now i am able to write JS file path but now i struct what path i have select from SICF transaction ??
    So Michael , did you followed same approach or any other approach ...Please help me...
      Sigrid Wieshofer  HI Sigrid ,Can you please help me , how you get path from SICF transaction .
    Please help..i would really be very thankful to you...
    Thanks & regards,
    Rishi verma

  • Save  functionality for FPM component

    Hi,
    my requirement is provide  input field on the header portion , when i hit ' save and print preview' it should save and preoview the the  whole data.
    i have  provided input field on the header.. but not sure  how to get the print functionality in fPM component.
    and also how to  find  what smart form/pdf using  by any webdynpro component? where to check?
    by  input field shou;d be displayed on the existing form, when I use save and print button.
    please help!

    Hi,
    First thing is to get the smart form name put a external break point in F.M SSF_FUNCTION_MODULE_NAME
    and debug on save button this way you will get the smartform name.
    If it's a standard FPM component enhance the component and in post exit on 'save and print'
    You can get the OTF data from the smartform now and then can convert it to PDF CONVERT_OTF
    Hope it helps.
    Bhanu

  • Getting error in IC agent business role while loading components.

    The user has been allowed and access to all business role.user are using all business roles but when user click on the IC agent business role the following error arise.
    Cannot display view CRMCMP_BPIDENT/BuPaMultipleLayoutVS of UI Component CRMCMP_BPIDENT
    An exception has occurredException Class CX_CRM_GENIL_GENERAL_ERROR - Component set CRMIC_DEFAULT cannot be loaded with BP_APPL+EMPTY+IC_ACCT_ID since multiple object definitions exist for component SO2
    Method: CL_CRM_GENIL_INTERNAL_MODEL=>LOAD_COMPONENT_SET
    Source Text Row: 124
    Initialization of view CRMCMP_BPIDENT/BuPaMultipleLayoutVS of UI Component CRMCMP_BPIDENT failed
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View BPConfirmedPartners.MainWindow in component CRMCMP_BPIDENT could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Cannot display view CRMCMP_BPIDENT/BuPaMainVS of UI Component CRMCMP_BPIDENT
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View BPConfirmedPartners.MainWindow in component CRMCMP_BPIDENT could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Initialization of view CRMCMP_BPIDENT/BuPaMainVS of UI Component CRMCMP_BPIDENT failed
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRMCMP_BPIDENT/BuPaMultipleLayoutVS in component CRMCMP_BPIDENT could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Cannot display view MainWindow of UI Component CRMCMP_BPIDENT
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRMCMP_BPIDENT/BuPaMultipleLayoutVS in component CRMCMP_BPIDENT could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Initialization of view MainWindow of UI Component CRMCMP_BPIDENT failed
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRMCMP_BPIDENT/BuPaMainVS in component CRMCMP_BPIDENT could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Cannot display view CRM_UI_FRAME/WorkAreaViewSet of UI Component CRM_UI_FRAME
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View BPIDENT.MainWindow in component CRM_UI_FRAME could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Initialization of view CRM_UI_FRAME/WorkAreaViewSet of UI Component CRM_UI_FRAME failed
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View BSPWD_BASICS/WorkAreaHostViewSet in component CRM_UI_FRAME could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Cannot display view CRM_UI_FRAME/MainWindow of UI Component CRM_UI_FRAME
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View BSPWD_BASICS/WorkAreaHostViewSet in component CRM_UI_FRAME could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Initialization of view CRM_UI_FRAME/MainWindow of UI Component CRM_UI_FRAME failed
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRM_UI_FRAME/WorkAreaViewSet in component CRM_UI_FRAME could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    Cannot display view Root.htm of UI Component CRM_UI_FRAME
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRM_UI_FRAME/WorkAreaViewSet in component CRM_UI_FRAME could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    An error occurred during initialization of the application
    An exception has occurredException Class CX_BSP_WD_RUNTIME_ERROR - View CRM_UI_FRAME/MainWindow in component CRM_UI_FRAME could not be bound
    Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row: 165
    I could not able to diagnose the error from where it is coming and I goggled lot but did not find anything about the above cited issue .
    if any of you can help me to solve this soon it will be highly appreciated .

    Hi,
    I am not sure if this appies here. You might check
    SPRO->CRM->crm cross-application components->
      Generic interaction Layer/Object Layer ->
         component-specific settings->
           define simple objects
    For these objects 2 rules apply:
    1. 'search object name' can only be used once.
    2. 'search object name' should not have the same name as any 'object
    name'.
    Do you have any entries, which break these rules?
    If it is related to component enhancement, note 1122248 might help.
    Best Regards,
    Sigrid

  • How can we make one view field value to be copied to other field of the the

    Hi   
       I am new  in CRM2007 I have enhanced sap component & enhanced SAP View but I wanted the field value of the enhanced view to be mapped to the field value of the same view which is added from EEWB
    Pls tell me if the added new field can be made as Dropdown list box without fixed values & Design Layer customizing I mean to say through coding can we made the input field as Dropdown
    Appreciate any help in advance
    Thanks
    Neel

    Hi,
    You can write your own ligic in GET_V_<FIELD> method. Select the values which needs to be displayed in the drop down list based on your own condition. Some sample code is given below:
    METHOD get_v_zzverksomr.
      DATA: lt_ddlb           TYPE bsp_wd_dropdown_table,
              ls_ddlb           TYPE bsp_wd_dropdown_line,
              lv_display_only   TYPE string,
              gr_ddlb_verksomr  type ref to CL_CRM_UIU_DDLB,
              ls_verksomr_values  TYPE LINE OF vrm_values.
        SELECT verksomr verksomrtxt FROM zkb_verks
           INTO TABLE lt_ddlb.
        IF sy-subrc EQ 0.
          INSERT INITIAL LINE INTO lt_ddlb INDEX 1.
        ENDIF.
      IF gr_ddlb_verksomr IS NOT BOUND.
        FREE gr_ddlb_verksomr.
        CREATE OBJECT gr_ddlb_verksomr
          EXPORTING
            iv_source_type = 'T'.
        LOOP AT gt_verksomr_values INTO ls_verksomr_values.
          ls_ddlb-key   = ls_verksomr_values-key.
          ls_ddlb-value = ls_verksomr_values-text.
          APPEND ls_ddlb TO lt_ddlb.
        ENDLOOP.
        gr_ddlb_verksomr->set_selection_table( it_selection_table = lt_ddlb ).
      ENDIF.
      rv_valuehelp_descriptor = gr_ddlb_verksomr.
    ENDMETHOD.
    Thanks
    Swagatika

Maybe you are looking for