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.

Similar Messages

  • 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

  • Standard webdynpro components

    Hi friends,
    how to get the list of standard Webdynpro ABAP components belongs to Retail or SD,if possible can any body give me the process to find out the standard Components.
    thanks in advance,
    sai.

    Hi,
    Go to se80,click on the Down arrow button next to the input field.
    Click the 'SAP Applications' button in the pop up window that appears.
    From there u can select the list of std. SAP Application components.
    Hope this mite b helpful!!!!
    Thanks,
    Divya.S

  • How to preview standard MDM Webdynpro Components ?

    Hi
    As we know, we can create standard MDM Webdynpro components from CE 7.1 SP 04 onwards.
    Suppose I have created a project using MDM WD configurator and added a search component, a resultset component and an itemdetails component. We can preview the individual components using the preview button provided in the configurator. But in order to see the consolidated project containing all the 3 components, we need to embed them as used components in a custom WD component. Then through the custom WD component we can preview the 3 standard components.
    My question is, is there any way in which we an preview all the 3 standard MDM WD components together without putting them in a custom WD component ?
    Is there a way we can directly assign an iview to a project created with MDM WD configurator ?
    Thanks
    Sayan Ghosh

    Found the sloution. Can be launched in the browser with the following url giving the component details :
    http://<hostName>:<portNumber>/webdynpro/dispatcher/sap.com/tcmdmwdcompsmasterwd/MASTER?proj=<Project_Name>&rs=<ResultSet_Name>&s=<Search_Name>id=<ItemDetails_Name>

  • 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

  • View custom payslip using the standard webdynpro application in ESS

    Dear All,
    We want to display a custom developed payslip in the Salary Statement webdynpro application in the ESS. Our Custom Payslip gets called from a custom program. Can anyone please let us know how to call this program from the standard webdynpro salary statement appplication.
    With Regards,
    Kaustuv Goswami.

    Hello,
    What you have to do is create an iview for Webdynpro Application which you deployed on the portal ....add it to the workset and the role ....then copy the PCD Location of it and then goto the ECC SPRO -> Cross Application Components -> Home Page Framework -> create a new Resource and specify the PCD Location in the URL of the PCD Column of it ...then create a Service ...assign the resorce created for it ...and then finally add the Service to the SubArea you want and it will show in the portal under that SubArea like Personaol Information or others....
    Hope it helps.
    Shikhil
    Edited by: Shikhil Arora on Dec 4, 2008 3:56 AM

  • How to enhance Standard Extractor for 0CUSTOMER_ATTR

    Hi,
    I need to enhance the standard extractor of 0CUSTOMER_ATTR in order to populate the newly added attributes.
    I have few questions:-
    1) Will there be any impact of manually adding attributes to 0CUSTOMER on the data flow/where used list of 0CUSTOMER.
    2) In order to get the master data for newly added attributes we will need to enhance the extractor. Could you let me know the entire process of enhancing the standard extractor.
    3) Will it be safe to make a copy of 0CUSTOMER as ZCUSTOMER, add the new attributes in ZCUSTOMER and use ZCUSTOMER for our requirement. In this case also we will need to enhance the extractor.
    Your inputs will be helpful.
    Thanks,
    Naveen Kr. Choudhary

    1) Will there be any impact of manually adding attributes to 0CUSTOMER on the data flow/where used list of 0CUSTOMER.
    No there will not be any impact for the where used list of 0CUSTOMER info object, there will be effect once the enhanced data source is replicated to BI side.
    2) In order to get the master data for newly added attributes we will need to enhance the extractor. Could you let me know the entire process of enhancing the standard extractor.
    SE11 --> create the Structure
    Tcode: RSA6 -> Double click on the Data source --> Now in the DS:customer version screen you can see the extract structure name --> double click on it -->Next you will find an option of Append Structure button --> click on it -->
    Add the necessary field's in the Append Structure with Component Type:. Before you exit, make sure that you activate the
    structure by clicking on the activate button.
    Next
    -->You need to confirm that the Added filed has been added to the DataSource and that it will be available to BW. When you go  back at the Postprocess Datasource and Hierarchy screen(RSA6), select the same DataSource again and press the Change DataSource button .
    Check for the filed that you had appended, it will be appeared at the bottom of the extract structure.
    Once this is done now the appended fileds are ready in DS, now we need to populate the data from the corresponding tables.
    For this Select the Data source 0customer_attr --> click on Function enhancement --> enter the project name and next enter the Enhancement RSAP0002 This enhancement has four components that are specific to each of the four types of R/3
    DataSources:
    Transaction data EXIT_SAPLRSAP_001
    Master data attributes EXIT_SAPLRSAP_002
    Master data texts EXIT_SAPLRSAP_003
    Master data hierarchies EXIT_SAPLRSAP_004
    With these four components , any R/3 DataSource can be enhanced suing the above 4 Function module. In this case, you are enhancing a Master data DataSource, so you only need EXIT_SAPLRSAP_002 .
    Next we need ABAP developer in order to enahance the DS and write the logic to populate the values to the filed from the source table.
    once this is done save the code and activate it.
    Next fill the set up tables and  Goto RSA3 tcode check the data source and check for the fileds that were appened are populated with the values or not.
    (for more detailed steps our friend Chowdary has send u the links go through them)
    3) Will it be safe to make a copy of 0CUSTOMER as ZCUSTOMER, add the new attributes in ZCUSTOMER and use ZCUSTOMER for our requirement. In this case also we will need to enhance the extractor.
    I dont think there is a need for creating a new ZCUSTOMER , you can use the standard one.
    Edited by: prashanthk on Aug 13, 2010 9:02 AM

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

  • Modification in standard webdynpro abap application

    Hi
    In my portal for some of my ESS applications are used in webdynpro abap for example travel expense and travel request now i have a requirement like i have to make the create travel expense button disable based on the condition llike i only he has to click create travel expense after creating travel request .So can anybody let us know how to do modofications in the standard webdynpro abap application.
    Thanks in advance.

    Hi
    For making changes in the standard web dynpro compoenent, you need to create and implement enhancement.
    For this you can find many links in SDN  on how to create enhancement.
    Now coming to your specific requirement.
    Here what you can do is open the standard component.
    1. press ctrl +F4, It will open a popup there give some name to your enhancement.and desicrption . then press Enter.
         Assign it to teh package you want.
    2. Go to the view where you want to disable the button, There go to the layout and find the ID of the button. say it is 'BTN'.
    3. Now go to methods tab, scroll right and selct post exit method of wddomodifyview emthod.
    4. there write the code with the condition you want.
    if  flag  eq 'yes'.
    data  lv_btn type ref to cl_wd_button.
    lv_btn ?= view->get_element( 'BTN' ).
    lv_btn->set_enabled( abap_false ).
    endif.
    5. one last thing is you can create a attribute named flag of type string and set its value to 'yes' when you want the button to enable.
    Thanks
    Sarbjeet Singh

  • 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

  • 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

  • How to use "used webdynpro components" in nwds 7.0

    hi all,
    I am using NWDS 7.0 SP8 version. I want to use my local DC1 in my local DC2. I have created public part of DC1 and integrated it into DC2 as used DC. But when I try to add the webdynpro component from the Used Webdynpro Components of DC2, I am not able to view the DC1component. Plz let me know the procedures that I need to follow to fix this issue.
    Regards,
    Athulya.

    hi
    i will mention the steps that I have done for the same.
    1. Create DC1- LocalDevelopmentdc1sap.com
        . Create PP(Provides an API)->PP_DC1
        . Webdynpro Component->DC1Comp->Add as Source
        . Finish
        . Rebuild
        . Deploy
    2. Create DC2- LocalDevelopmentdc2sap.com
        . Right Click Used Dc's- Selected PP_DC1(Build, Run)
        . Finish
        . DC->Build
        . Right Click Used Webdynpro Components->Add Webdynpro Component->
                                                                       Browse->Can find only DC2Comp....   
    Plz correct me if I have done something wrong.
    Regards,
    Athulya

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

  • DCs being removed from 'Used WebDynpro Components' list

    Hi,
    I am having a problem while creating a project from an already activated DC. The DC uses 6 other DCs and was built properly, activated and deployed from a client machine. Now I need to have this DC in my machine (also a client). So I made sure the DC is built & synced properly and proceeded with the project creation from the inactive DC.
    The DC is getting created in my machine, but the Used DCs, though being shown properly in the 'Used DCs' List is missing from the 'Used WebDynpro Components'. And if I try to add a new DC under the 'Used WD Comp' list or edit the component usage of an existing DC, the added DCs are not available for selection.
    <a href="http://img85.imageshack.us/my.php?image=dcerror1ac.gif">Error Screenshot</a>
    I have tried removing and adding the DCs from 'Used DCs' list, reopened the project, restarted the NDS, did a sync, but nothing could help me to resolve this.
    Could someone kindly help me to resolve this ?
    Thanks in advance,
    Regards,
    Nibu.

    Hi Pran,
    As you already know now, the problem has been resolved :). But for the benefit of others like me let me put down what happened:
    On seeing Pran's reply, Since he is an acquaintance of mine, I called him up & explained my problem.
    As per his advice, I checked the DTR and found that the entire DC structure has been added there. But from him I could learn that only the following folders/files should be in DTR:
    - cfg
    - def
    - Meta-Inf
    - Model Folder
    - src
    - test
    - .dcdef file
    Therefore, the rest of the folders/files were deleted and the activity was checked-in. This resolved the problem and all the missing DCs were being shown again.
    Pran, Thanks a lot for your help.
    Best Regards,
    Nibu.

  • How to find the leave request layout in standard Webdynpro ESS business pac

    Hi Gurus,
    How to find the Intial leave request layout from the standard webdynpro ESS business package.
    Can you tell me the exact component that i need to look for this particular layout.
    Its a urgent requirement can you guys send me the answers ASAP
    Higher points will be rewarded for the useful inputs.
    Thanks in Advance,
    Dharani

    look for ess~lea dc
    reward points if helpful

Maybe you are looking for

  • How to remove my credit card from the App Store

    How to remove my credit card from the App Store

  • IPod Touch 5th gen. wi-fi issues

    I recently purchased an iPod touch 5th gen. I have had no issues except with he wi-if connection. Every time I hit the sleep button, or it times out, the wi-fi disconnects. Every time I want to use my iPod, I wake it back up, and sometimes the wi-if

  • How to get the list of parameter and set them using RESTFul WS for a Crystal Report

    Hi All, I am able to schedule a Crystal report using following POST Restful call - http://localhost:6405/biprws/infostore/4738/scheduleForms/now and with a request xml body. But report is failing because I am not passing the parameter. But I need pas

  • Inconsistency in the Dictionary for the structure "MC02M_0ITM".

    Hi Expert, we are applying ehp3 for ERP 6.0. I am getting the below abap dump DDIC_TYPE_INCONSISTENCY. Runtime Errors DDIC_TYPE_INCONSISTENCY Date and Time          29.08.2011 10:12:27 Short text      Inconsistency in the Dictionary for the structure

  • How to clone & sync systems?

    Hi How do I sync my files from one mac to another? I have a macbookpro 15 and would like to copy ALL files to another macbook pro 13. Is there a way to "migrate" all files without having to re-install all apps? And is there a way to syn both of my ma