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

Similar Messages

  • PM01 - Enhance the Standard List Screen

    Morning All
    I have read the various posts and standard SAP documentation on enhancing the standard list screen. However, I am stil in position of having my new structure - ZPLIS0019 being populated in subroutine fill_liststruc but the fields do not appear on screen 3000 as indicated. The standard documentation implies that I do not have to do anything to screen to screen 3000 - that the fields will appear dynamically - although other threads have suggested different.
    Is it that the screen 3000 can only be repaired to include the new fields?
    Can anyone clear this up for me?  I'm on 46C.
    Any input really appreciated...!
    Cheers
    Ian
    Message was edited by:
            Ian Stubbings
    Message was edited by:
            Ian Stubbings

    A repair has to be made and then the system is able to regerate the screen 3000.
    The 'Generate Enhanced List' option from the List Menu option should also be taken and the new structure put into the 'table name' field of the correct entry (you may have to create this entry).
    Ian

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

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

  • 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

  • Screen enhancement to add input parameters to standard selection screen IE05

    Hello Experts,
    How can i enhance the IE05 selection screen to add some input parameters in the screen.
    Please refer the following screen to be done and please guide me for the same.

    Since i am adding a select option of type ekko-ebeln, i have to add a statement TABLE ekko.

  • F4 help for Time field in Webdynpro Screen

    Hi Experts,
    I'm using TIMS data type for my Time field. In ECC we will have F4 function for the same data element, but in Webdynpro screen, am not getting the F4 help.
    I got some information from SCN that I need to go for some custom search help. But with which reference to the table, am I want to create it.
    Please let me know, is there any other possible way to create F4 for time field for webdynpro.
    Even I tried to use some standard search help, but am getting an error as 'Sending of dynpro ' ' not possible. No window system type specified'.
    Expecting valuable information from you experts.
    With Regards,
    RAM.

    Hi RAM,
    For time field, there is no SAP delivered search help in WDA , so we need to go for freely programmed search help.
    Please refer the below link, in which Mr. Thomas, has provided the links for search help document you can follow and create new search help component
    and also nugget of the component which can be imported using ZSAPLINK program.
    search help for time
    Regards,
    Rama

  • How to Enhance the Standard Report?

    Hi All,
    How to Enhance the Standard Report? :
    When I am trying to execute the query called ZTIMES in the user group SQ01 it is navigating the screen to selection-screen with some inputs to be given here on the selection screen company code is mandatory as an input. The company code field is having the search help and it is fetching the values for the company code from table called PROJ  Table (Project definition Table).But I want the company code should fetch the value from the  PRPS Table ( Work break structure(WBS Element) Level).
    Tables used are PROJ and PRPS.
    The company code in PROJ is PROJ-VBUKR
                                    In PRPS is PRPS-PBUKR
    In the coding part related to that selection screen I have to replace PROJ-VBUKR with
    PRPS-PBUKR.But it is standard report to enhance.
    What is suggestible solution for this issue?
    Thanks,
    M Raju

    Hi,
    Since this is an ABAP Query, You can change the infoset query in SQ02 and establish the join linkages between PROJ and PRPS
    Also on the selection screen of the Query make sure you provide company code from PRPS table and report output also from the same table reference.
    Once you have modified the ABAP Query, activate and generate it so that it will internally regenerate the a standard program.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb4256455611d189710000e8322d00/frameset.htm
    ABAP Query (Sq01)Modification
    Hope this helps
    Regards,
    Shiva

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

  • Showing fields of Custom infotype in standard infotype screen

    Hi Experts
      I have created a custom infotype 9xxx. Now when I go to the PA30 maintenance screen for a standard infotype 0795, i should also see the fields from custom infotype 9xxx. Can you please let me know how I can enhance the standard infotype 0795, since SAP does not allow me to change it directly.
    Thanks
    Neo

    Hi,
    I'm gonna be an *ss and ask why you wanna see the fields of your 9xxx - infotype in SAP IT0795.
    If this is for information purposes, I believe this should be incorporated in reporting and not within master data infotypes.
    Wilfred.

  • 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

  • ABAP Webdynpro: Creating a table on webdynpro screen to enter new data.

    Hello Experts,
    Does anyone know, how to create a  table on webdynpro screen that can be used to enter new data in database?
    I have tried to create a Table UI element (with Standard Cell Editor as Input Field) but it is "Display only" if there is no data in the table. This means, while you can use it to modify the data if some data already exist, but you cannot use it to enter new data if no data already exist. What I am looking for is something similar to a Table Control (or Step-Loop) functionalty of a traditional (non webdynpro) SAP screen. How to achieve this in Webdynpro for ABAP?
    Thanks in advance.
    ABAPer

    Even if no data is not there,  you can pass blank work areas to table, so now table will blank rows where you can enter the data even if  previous data is not there.
    below is the sample code to get blank rows in table in  order to enter data.
      DATA LO_ND_N_EDUCATION1 TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_N_EDUCATION1 TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_N_EDUCATION1 TYPE WD_THIS->ELEMENT_N_EDUCATION1.
    navigate from <CONTEXT> to <N_EDUCATION1> via lead selection
      LO_ND_N_EDUCATION1 = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_N_EDUCATION1 ).
    DATA: ET_DATA TYPE WD_THIS->ELEMENTS_N_EDUCATION1,
            EW_DATA TYPE WD_THIS->ELEMENT_N_EDUCATION1.
      DO 10 TIMES.
        APPEND EW_DATA TO ET_DATA.
      ENDDO.
    get element via lead selection
      LO_EL_N_EDUCATION1 = LO_ND_N_EDUCATION1->GET_ELEMENT(  ).
      LO_ND_N_EDUCATION1->BIND_TABLE( NEW_ITEMS = ET_DATA SET_INITIAL_ELEMENTS = ABAP_FALSE ).
    now table will have 10 rows, here node name is N_education1.
    Thanks and REgards
    Srinivas

  • Enhancement of Standard Datasource in LBWE.

    Hi,
    I am enhancing the standard datasource for additional fields from the extract structure in LBWE. I have selected the fields in maintenance and pushed them into the selection criteria (first column), and saved the daatsource change in a request. but to my surprise the field contents in Selection criteria and pool(Second Column) column are same as of original in R/3 Development server itself.
    I have then redone the activity and then generated datasource followed by deactivation and activation of datasorce, this has collected a workbench and customization request . But when i again open the maintenance screen of the data source it is again same as of original before change.
    I don't understand why this is happen.
    can some one please guide me and guide how to enhance the datasource in the maintenance screen of the datasource.

    Hi,
    Its very simple.
    1. delete setup table and delta queue ( all the clients)
    2. If fields can be added through lbwe maintainance then add other wise create a append structure
       and exit for filling up the value for the fields..
    3. change mode in data source ---> uncheck hide buttuon --> if you want data to be extracted
        using newly added fields plz check selection checkbox..
    4.. Thats it...
    Regards,
    Viren.

  • How to enhance the standard web query template in BW 3.5

    hello experts,
    How can I enhance the standard web template in BW 3.5? I can see that in 3.5 0QUERY_TEMPLATE is not longer the standard web template, the new standard template looks completely different with new functionalities etc. I can't follow the steps in the How To guide as this refers to 0QUERY_TEMPLATE. Also in transaction RSCUSTV11, it's got now only two options: style sheet and template attributes but no longer web template.
    Any help would be much appreciated.
    Many thanks,
    Inma

    Many thanks for your help.
    I managed to set a new standard web template based on 0ADHOC but now I've found a new issue: in the WAD, I have created a new web template also copied from 0ADHOC. This web template will embed a query and the web report will be executed from WAD, not from BEx. The problem is that the different buttons (Save View, Bookmark, Variable Screen, Export Excel, Export to CSV, etc)don't seem to work when I click on them once the report is showing the results.
    Can you please give me any idea on what's happening and if there's anything else I should do?
    Many thanks in advance.
    Inma

  • Colored text in webdynpro screen

    How to have colored text in the webdynpro screen. I am using formatted text view, but there is no color option and also I want buttons to appear big, but there is no option of height for buttons, it would be great if you could let me know how to do this.
    Thanks.

    hi,
    You can change the appearance in the button properties in two ways.
    - The button 'design' can be changed from standard to emphasized, pervious and next.
    - You can add an icon on the button next to (or instead of) the text. Select an icon from the pre-defined catalogue under the 'imageSource' config.
    Refer Button Layout. (Answer by Phil).
    Thanx.

Maybe you are looking for