Enhancing Standard webdynpro component

Hi friends,
I have never worked on enhancing standard web dynpro components,
Now i have got  requirement, In SRM webdynpro component  i have to place Custom Label and  Custom Hyper Link, when i click on that hyperlink, one pop up window shud be open, can any please guid how to enahnce this standard webdynpro component
Thnx
Kumar Srini

Hi,
To Enhance any standard compoenent, and specially a "VIEW" just follow the below steps:
1. Go to SE80, Give the Component Name and press Enter
2. Go to the Desired "View"
3. Click enhance button (ICON Like spiral,6th from left to right of Application toolbar)
4. A Pop up will appear asking your Coposite Enhancement name  and Enhancement Implementation name. Create "NEW" on both the occasion.
Now for UI Enhancements:
a) Click the "ROOT UI Element container" , right click add the custom UI elements and assign Property values as per your requirement( like binding,text,action etc.,). It is just like adding UI elements in Z-Compoent.
b) Create actions wherevr required
For Coding Level enhancements:
Here, for all the methods which are in the standard compoenent will have "PRE" and "POST" Exits. The difference is "PRE" Exits will render before calling the actual code and "POST" Exit will render after rendering the actual code.
Note: Till Enhancement Pack (EHP3) we had only PRE & POST Exits. And Now on from EHP 4 and More we do have an option "OVER WRITE" Exit.
Apart from Exits, we can create our own Events/event Handlers. These Event Handlers will work only for the enhancements.
We Can write our own logic in the newly created event/event handler.
Regards,
S.Meganadhan

Similar Messages

  • Adding an Input field in Standard Webdynpro Component in SAP SRM

    Hi Friends,
    I want to add one input field in sap standard webdynpro component in SAP SRM MODULE
    the component name is /SAPSRM/WDC_DODC_RFQ_H_BD
    view name is   V_DODC_RFQ_H_BD
    Upon clicking on SAVE button , it shud save in database
    what is the name of database table and how to solve this problem
    Thnx
    Srini

    Hi Kumar,
    By using Enhancement Framework you can do this.
    How can we add a new field to the Standard Webdynpro application?
    Also check this..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81
    Cheers,
    Kris.

  • Adding a new field to a standard webdynpro component's layout

    Hi all,
      I need to add a new field to a standard webdynpro component's( in my case the component is ''/SAPSRM/WDC_UI_SC_DOTC_BD')  layout.How do i go about adding a new field to the standard component's lay out?
    can anyone help me with the necessary details?
    Regards,
    Abhinay.

    Check if this is useful to you (Login required)
    https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
    Rgds/Kiran

  • Custom Button in Sap Standard webdynpro Component

    Hi Friends,
    i have one requirement
    1. want to added one custom Button in SAP SRM standard webdynpro component - This is done using component configurator
    2. but when i click this button, one   Z webdynpro component should run,
    Can any one please give me  idea on this
    Thanks and Regards
    Kumar Srini

    Hi,
    copy below given code and paste inside of your on action method,
    Note: just change the url address
    data: l_window type ref to if_wd_window_manager.
    data: l_cmp_api type ref to if_wd_component.
    data: str             type stinrg.
    data: result        type if_wd_window.
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
    application_name = 'ZWEBDYNPRO COMPONENT NAME'
    IMPORTING
    out_obsolute_url = str.
    l_cmp_api = wd_comp_controller->wd_get_api( ).
    l_window = l_cmp_api->get_window_manager ( ).
    result = l_window->create_external_window(
    url = str ).
    result->open( ).

  • Changing the attributes of Standard Webdynpro component

    Hi Friends,
    There is one table ui element in standard webdynpro component, right now we can select only one  row, now i want to select multiple rows, can any one help me how to change this property
    Thnx and Regards
    Kumar Srini

    Hello Kumar,
    if this node is statically created in the standard component then you can't change the selection cardinality. By statically created means, if you can see the context node in the Context Tab of the controller.
    If its dynamically created, then in the Post-exit method, you can delete this context node and create it again (via coding). while creating you can set the Selection Cardinality to multiple.
    Hope this helps.
    BR, Saravanan

  • How to move the fields in the standard webdynpro component.

    Hi ,
          I am new to webdynpro dynpro.
    I have a requirement in which i have to move the standard fields to some other place.
    The webdynpro component isn HRRCF_C_PERSONL_DATA_UI.
    In this i have to move the fields location and poastal code above the fields country and region which comes in ADDRESS .
    First i enhanced the application . then i right clicked the field , but the up menu is disabled since it is a standard one.
    kindly give suggestion to move the fields.
    Thanks & Regards,
    S.Velsankar

    Hi
    You need to delete that UIElement from standard component and create similar new UIElement, Now you can move your UIElement as per  your requirement. if you want to come back to original state of your component, delete your enhancement and the deleted UIElement will be back.
    Thanks
    Vishal Kapoor

  • Enhancing standard webdynpro components

    Hi Experts,
    I need to change the layout of the standard web dynpro components. I started enhancing the relevant methods in the component controller with pre, post and overwrite methods but when it comesto the UI, after enhancing the componenet if i go to the enhancement to change the UI it is changing the standard UI. In my case the requirement is grouping the UI elements on the SAP standard Webdynpro components and change the format of the data on the screen.Can you please provide suggestions on how to enhance the web dynpro layout without modifying the layout? Please feel freeto askme for further info on the same.
    Thanks alot inadvance,
    Regards,
    Ravi.

    heyitsmeravi wrote:
    but when it comesto the UI, after enhancing the componenet if i go to the enhancement to change the UI it is changing the standard UI. In my case the requirement is grouping the UI elements on the SAP standard Webdynpro components and change the format of the data on the screen..
    hallo Ravi,
    You can delete the layout and create a new layout with the changes you needed. for example the standard UI consists a group with layout as flowlayout.
    You have to delete this group and create the group with same name and  change the layout to Matrix layout.

  • Standard Webdynpro Component for Sales Order / Quotations  ?

    Hello Experts,
    Is there any standard ABAP Webdynpro Component available for Sales orders / Quotations etc. ?
    Else we have to create everything customized for the customers ?
    Regards,
    Ravi Sharma

    LORD_MAINTAIN - for sales order maintenance. Shipped with ERP 6.0 (no enhancement packages required - although there are improvements in the later enhancement packages).

  • Enhancing standard ESS Component

    Hi Experts,
    I am going to make changes in standard ESS component in WD ABAP through enhancement button given on menu by creating an enhancement implementation. I want to know is it the right way to create enhancement and suppose any enhancement package is applied to the system, In that case changes done in current enhancement will remain same after the new enhancement is installed or not.
    Please provide answers to my queries.
    Thanks and Regards,
    Vaibhav Tiwari.

    thanks  vaibhav for reply....
    I have a requirement that i need to add some custom(Input ) fields in 'Create Travel Request' view of travel and Expense Page of standard ESS . now the  same field  was needed in back-end  in ECC in t-code  TRIP...this  i did  using append structure  in PTK99 and  and  modifying standard  program and screen SAPMP56T 9999 with the  guidelines given in SPRO.
       now the  same thing is to be done in in ESS which is ABAP  WD  application. WD component name is FITV_FPM, but  in this application   contains  viewContainerUIElements on LAYOUT_VIEW  which gets  populated  dynamically..I can create and  Enahancement of this application  and  put  the required  field on the  view  but   still after  doing this, how to store the these data  in back-end???  in back-end  this  data  is stored in PCL1 cluster..
    I feel SAP should have  given some facility for this in ESS like it has given in ECC...

  • Enhancement of Standard Webdynpro Component ( Component Usages )

    Dear All,
    There is a standard WDC_MAIN.  It uses many sub components WDC_SUB1, WDC_SUB2, WDC_SUB3.
    The problem here is I need to access the context node information of all the sub components ( WDC_SUB1, WDC_SUB2, WDC_SUB3. ) in the main component WDC_MAIN.
    <<<Reason for the need to access context nodes in sub component:
        I need to collect some fields from various views of various subcomponents into one view of my Main Component.  I think this can be done by enhancement implementation where I can create a new view>>>
    I can access the nodes of sub components only if the context node in the component controllers are marked as Interface Node.  But I cant edit the sub component, because it is a standard SAP provided component.
    Solutions that I am trying:
    1. I tried to create enhancement implementation and tried to achieve this... but I dont know for some reason SAP doesnt allow to enhance the context node as Interface node.
    2. I tried to copy the standard component to Z component, but another risk here is that, this main component is referenced else where and it is difficult again to give reference to this new Z_ component.
    Kindly guide me on how to achieve this.
    Thanks in advance!!!
    Regards,
    Sur.
    Edited by: Gaurav Desai on Aug 7, 2008 9:14 AM

    Hello,
    Using enhancements, create a context node and a an interface method so you can pass the contexts that you need over this method.
    Or you can try to do an external mapping to you context like in the ALV component.
    Regards.

  • Sorting Problem In Enhanced Webdynpro Component

    Hi Expert ,
                       I have one enhanced one webdynpro component . In that i have enhanced some columns in  table (Simple not ALV) in Standard Webdynpro View. I have to enable sorting on my fields . It is implemented in standard columns and working fine. But on my fields sorting is not working so please can any one tell me step by step procedure to sort out the solution for this.
    Please  reply me ASAP.
    Thanks in Advance.
    Thanks & Regards
    Raj

    Hi
    you need to add code for sorting on your feilds. check for the exits in that component and implement. How to sort on a table is already aviable in SCN. please search forum.
    Regards,
    Lekha.

  • Enhancement in standard webdynpro Screen

    Hi,
    We have a requirement to add a new field in the layout of the standard webdynpro component
    FPM_OIF_COMPONENT for the E Recruitment portal.
    Please let us know if this can be done by enhancing the standard WD component.
    Regards,
    Suvarnamathy

    Hi,
    Its possible using WDA Enhancement framework.
    However you need to identify
    1) The correct WDA component that you need to enhance  ( right click on view in browser and look for technical details )
    2) Look for the view that you need to enhance.
    3) Look for the node in which fields inside this node are bound
    4) Look for the DDIC structure/table to which this node is bound
    Once you identify all above four points , you need to start enhancing in this order
    1) Enhance DDIC Structure/table with new fields
    2) Enhance WDA Component by pressing CTRL+F4 and create an enhancement implementation of WDA Component
    3) in the view, enhance the node first
    4) add the needed UI element in the layout and bind it to the node attribute
    For more information refer :
    [ How to Create Enhancement Implementation in Web Dynpro ABAP |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?QuickLink=index&overridelayout=true]
    regards,
    Ashish Shah

  • CProjects: Enhance standard view

    I have the requirement to add some additional fields in the tab "Additional Data" of Tasks.
    But it is not possible to enhance the standard webdynpro component "DPR_DET_DATA_TASK_O".
    So how can I realize this requirement?
    Is the only solution to create an own tab with the additional fields? Or does it work to copy the functionality of the standard webdynpro component and include it in somehow in my custom defined tab.
    regards,
    hans

    I will try to be as precise as possible:
         - Go to SE80.
         - Select webdympro dpr_det_data_task_o.
         - Select the view to enhance (basic or add or...)
         - Click on 'enhance' pushbutton.
         - Create an enhancement implementation if not already done.
         - Then you can add/remove fields.
         - Save & activate your changes.
    Of course, you will have to update the context with the addiditional fields you want to display. If the fields are new task attributes for instance, you can create & activate structure CI_DPR_TASK (included in table DPR_TASK) with your custom fields. Then you can include the new table fields in the dynpro dpr_det_data_task_o context, and bind them to the screen fields.
    Hope it's clear enough.
    Matthias

  • Context Binding is not possible in webdynpro component for Interactive form

    Hi,
    Click
    [Enhancement of webdynpro component|http://swethacblog.blogspot.com/2011/11/context-binding-for-interactive-form.html#!/2011/11/context-binding-for-interactive-form.html] to view the procedure that I have followed to create interactive form in enhanced view.
    Can you please tell me that why i am getting the context menu nodes in invisible mode while binding it to from interface.
    Thank you,
    Swetha.C

    Hi Abhil,
    If your layout type is 'ZCI Layout' then you have insert the webdynpro script in the layout. After selecting the ZCI Layout click on enter and then go to layout tab, in this go to Utilities menu->select Insert WebDynpro Script.
    If you do this then in the Hierarchy tab of adobe form you can see the (Variable) ContainerFoundation_JS, it means that you have inserted WebDypro Script in the form.
    Finally activate the form and run the application.
    Thanks,
    Jhansi Miryala

  • Standard webdnpro component for employee search using using last Name

    Hi All,
    Can anybody please let me know Is there any SAP standard webdynpro component for the last Name of the employee.
    My Requirment is i have field called Last Name i will give may lastname and serach then it should give the employee no and employee name..
    Thanks
    taragini

    Tarangini,
    you can check this HRASR00_PROFILES_SHOW
    Thanks
    Bala Duvvuri

Maybe you are looking for

  • Login to my account fails - no desktop

    My MBP started acting slow last night, really slow like in molasses. I came out this morning and it would not display the sleep login screen, so I rebooted the computer. It booted fine and displayed the user account login screen. I logged in and it g

  • Best way to unpartion a external hard drive?

    I would like to know how to do this? Even if it means losing all my backed up data. Thanks

  • How to use the "Flash Field"?

    Hi Everyone, I'm trying to figure out how to use the new "Flash Field" inside my form. The form we are working on required the user to interact with the "Flash Field" (i.e., click on the bar on a bar-chart) and the "Flash Field" should return some va

  • JFrame not responding to the MouseEvents

    hi, In my application Jframe which has a menuBar,this menu consists of various radiobuttons options .Intially when a frame opens it has an same square at a specific position .when one of the options in the mebar is clicked it responds accordingly by

  • Bold font in Yosemite Messages

    I am sure this is a font thing, but I can't figure out how to change it. I have seen the settings for larger and smaller, but can't see a way to change it from non-bold. This is happening on iMessages as well as Jabber and other chat platforms. Any t