OBJECTDATAPROVIDER  WD ABAP Component

Did anyone use OBJECTDATAPROVIDER WD ABAP component in their WD component and tried calling  "INIT_DATA_FROM_DATAVIEW" method of the interface controller to create data from Dataview directly. I am facing problem with this method because there is no sap provided method in the interfacecontroller of OBJECTDATAPROVIDER through which I can pass the Objects details required for getting the dataview.
I checked the code and after calling INIT_DATA_FROM_DATAVIEW , it raises an event "FILL_APPL_OBJECTS"  ie wd_this->fire_fill_appl_objects_evt( instance_id = wd_this->instance_id ). which application should implement and in the implementation, application should supply the objects details in form of structure "HRWPC_S_KEYOBJEC" . Problem is there is no method to pass the Objects to OBJECTDATAPROVIDER and only method available is Get_Objects in the interface controller of OBJECTDATAPROVIDER.
Any help related to this would be highly appreciated.
Regards
Saurabh

try the right forum maybe?

Similar Messages

  • Consuming EJB Web Service in WD ABAP component

    Hi,
    I have a scenario where I have Portal KM access methods exposed as EJB Web Service. This web service is deployed on J2EE engine.
    And I have to consume this web service from my WD ABAP component controller.
    Any idea how this can be achieved?
    Thanks and regards,
    Amey

    This doesn't really have anything to do with Web Dynpro.  Normal ABAP functionality is used for the consumption of a web service.  In ABAP we create a proxy class based off the WSDL of the web service.  This proxy class can then be called from within Web Dynpro like any other ABAP class.  You can read about consuming a web service in the online help:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/9e/c7a3591dc74a679bbc9716354e42af/frameset.htm

  • Calling a webdynpro ABAP component from a BSP...

    We have a BSP application. On which we have a tab strip control. Upon clicking on one of the tabstrips, is there a way I can launch and display an output from a webdynpro ABAP component?
    Any ideas will be appreciated.
    Thanks
    - Sekhar

    Raja,
    I tried get the iframe tag
    <IFRAME NAME="Frame1" SRC="your_web_dynpro_link.htm" >
    </IFRAME>
    with the SRC = "<the URL from the web dynpro application>"
    Did not work. I am sure I am doing something wrong. In fact it did not work even for a BSP application.
    Any ideas anyone?
    Thanks
    - Sekhar

  • Access Portal groups in webdynpro ABAP component

    Hi Experts,
    I have a requirement to access portal group in web dynpro ABAP application and based on whether user is assigned to particular group or not further processing for application will be done.
    Are there any UME API or some other API's available to access portal groups in Webdynpro ABAP component?
    Thanks in Advance..!!
    Regards,
    Shruti Shah

    This might be a question better suited to the portal forum. The WDA Portal APIs do not have such functionality.  You might be able to take the Java Portal APIs and wrap them in a web service so that they are callable from ABAP.

  • Enhancing standard WD ABAP Component!!!

    Hi Experts,
    I am enhancing some WD ABAP components by creating enhancement implementation. But in the enhancement implementation I am able to create new UI Elements, Views, Methods etc. But it do not allows me to change the Properties of preexisting standard UI elements and Methods like wdinit, wdmodifyview etc. But if I open the WD ABAP component and start working on the application in change mode out of the enhancement implementation it only warns me to make changes in the standard component if necessary and after that I can modify the standard UI Elements and methods. It only asks me for a transport request when I activate it.
    Now what I want to know is:
    Suppose I make changes out of the enhancement component as explained the way above would these changes remain intact even when we apply any enhancement pack to the system or not. If not then what is the way to make enhancements (not changes) in the Existing UI elements and methods like wdinit, wdexit etc. Please suggest.
    Thanks and Regards,
    Vaibhav Tiwari.

    >you can enhance by getting in the enhancement mode ,in the method tab you will find two new columns called preexit and postexit for the method in that u can write ur own code.
    Actually there is a third option as well called Overwrite Exit.  This completely replaces the implementation of the standard with with your custom one.  This can allow you greater control.  Although it surrvives an upgrade as well, be careful as you will be bypassing any of the logic that SAP places into the method you are overriding.
    In enhancement mode you can't change the property of UI elements, but you can remove them.  Just right mouse click on the UI element in the UI element tree and choose Remove Element. It won't actually be deleted completely - just marked with a red X.  You can then easily undo the deletion at any later point.

  • WD ABAP component configurations

    We are using WD ABAP component configurations. We understand how to create and change them, but one question remains unsolved:
    Can we load WD component configurations dynamically at runtime from ABAP, so in case we have scenario 1 we load configuration 1.
    Any idea?

    Hi Frank,
    Yes, you can!
    First of all you can create different application configurations. You start it from SE80 from the application using the context menu "create/change configuration".
    There you can enter the ids of the component configurations for each component usage. You can create more than one application configuration, which means: for each scenario you should create one.
    If this does not fit for your application, you can load the component configuration dynamically.
    Variant 1: When you instantiate the component, you can pass the configuration key as an optional parameter.
    Variant 2: In each component you can load the configuration with a method of the personalization interface. You can do so using the code wizard.
    The configuration key is structured as follows: Create a data of type WDY_CONFIG_KEY, set the CONFIG_ID to the id you entered in the configuration editor, and keep the rest initial.
    Ciao, Regina

  • Suspend WD ABAP Component

    Hi All,
    I have a standard WD ABAP component, from which i have to call a BSP application for validating file uploads. The user selects the upload file from fileUpload UI element in WD ABAP, and i pass the file path to BSP application.
    The WD ABAP component being standard, i cannot use the suspend and resume plugs.
    Any help, on how i can get the WD Component to hold its state tll the BSP application returns the validation result of the uploaded file?
    Regards,
    Runal.

    I have tried to enhance the component, but we cannot add suspend or resume plugs in standard component.
    I have created a Iframe, and called the BSP application within that, but now the problem is how do i pass the data back to WD Component.
    Regards,
    Runal

  • SAP Netweaver Application Server ABAP Component

    Dear all,
    In my Company we are implementing GRC Risk Management and have read in SAP Installation guides
    that we have to install the SAP_ABA 7.01 (SP05) "SAP Netweaver Application Server ABAP Component"
    and were wondering if it is mandatory to make this upgrade or if there is another way to make
    the installation without this component.
    Thanks very much

    Hello Enzo,
      I hope that you are installing RM 3.0. For RM 3.0 you need the following:
    SAP_BASIS      701      SAPKB70103
    SAP_BW              701      SAPKW70103
    The Requirements for ABAP + Java is SAP NetWeaver 7.01 Support Package 3 or higher. This is Mandatory.
    You can find out more from the following guides available on SAP Service Market Place.
    Logon to SAP SMP -> Downloads -> Release and Upgrade Info -> Installation & Upgrade Guides ->  SAP BusinessObjects Governance, Risk, Compliance (GRC) ->  Risk Management -> Release 3.0 (click Release 2.0 if you are looking for RM2.0). -> Installation Guide. In this you should be able to get the prerequisite for the RM application.
    Hope it helps.
    Regards, Varun

  • Closing web browser from a Web Dynpro (ABAP) component in it

    Hi,
    I am opening a Web Dynpro component in IE.
    I have a requirement to close the Internet Explorer window on click of a "Close" Button in Web Dynpro (ABAP) component. I am using EXIT Outbound plug of the Main Window to perform the same.
    In the EXIT plug I am setting "CLOSE_WINDOW" parameter to ABAP_TRUE.
    On click of the "Close" button a pop-up dialog box (with "Yes" and "No" buttons) appears asking me whether I really want to close the IE window.
    If I click on "Yes" button of the dialog box, the IE window gets closed without any issues.
    But when I click on "No" button, the IE window shows up a blank screen. I want the control to come back to the calling Web Dynpro component's screen.
    Appreciate any help/guidance in the above issue.
    Thanks,
    Prasanna

    create an action 'YES','NO', 'CANCEL' in required view.
    copy and paste below code in YES action
    method ONACTIONYES .
      data : l_view_cntr type ref to if_wd_view_controller,
    l_win_cntr type ref to if_wd_window_controller,
    l_window type ref to if_wd_window,
    l_parameter_list type wdr_event_parameter_list,
    l_parameter type wdr_event_parameter,
    l_val type ref to data.
    field-symbols <fs> type any.
    l_view_cntr = wd_this->wd_get_api( ).
    l_win_cntr = l_view_cntr->get_embedding_window_ctlr( ).
    l_parameter-name = 'CLOSE_WINDOW'."'CLOSE_WINDOW'.
    create data l_val type c.
    assign l_val->* to <fs>.
    <fs> = 'X'.
    l_parameter-value = l_val.
    insert l_parameter into table l_parameter_list.
    l_win_cntr->if_wd_view_controller~fire_plug(
    exporting plug_name = 'EXIT_PLUG'
    parameters = l_parameter_list ).
    endmethod.
    goto your window
    create plug EXIT in Window of type EXIT and chect interface checkbox
    create a button - for example - "PUSH BUTTON"
    in pushbutton action
    copy and paste this code
    method ONACTIONEXIT_PLG .
    DATA: API TYPE REF TO IF_WD_COMPONENT,
          WINMAN TYPE REF TO IF_WD_WINDOW_MANAGER,
          WIN TYPE REF TO IF_WD_WINDOW,
          TEXT1 TYPE STRING_TABLE,
          ls_text type string,
          V_API TYPE REF TO IF_WD_VIEW_CONTROLLER.
    API = WD_COMP_CONTROLLER->WD_GET_API( ).
    WINMAN = API->GET_WINDOW_MANAGER( ).
    LS_TEXT = 'Do You Want To Close the Window'.
    INSERT LS_tEXT into table text1.
    win = winman->create_popup_to_confirm(
                                           window_title = 'CONFIRM'
                                           text = text1
                                           button_kind = if_wd_window=>co_buttons_yesnocancel
                                           message_type = if_wd_window=>co_msg_type_question
                                           window_position = if_wd_window=>co_center ).
    V_API = WD_THIS->WD_GET_API( ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_YES
            ACTION_NAME = 'YES'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_TRUE ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_NO
            ACTION_NAME = 'NO'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_FALSE ).
    WIN->SUBSCRIBE_TO_BUTTON_EVENT(
            BUTTON = IF_WD_WINDOW=>CO_BUTTON_CANCEL
            ACTION_NAME = 'CANCEL'
            ACTION_VIEW = V_API
            IS_DEFAULT_BUTTON = ABAP_FALSE ).
    WIN->OPEN( ).
    endmethod.

  • We're sending an OSS customer message on WDr_TEST_EVENTS (ABAP component)

    Here's the text of the message we're sending
    Although the ABAP WebDynpro component WDR_TEST_EVENTS shows as “Active” in SE80 on our NW2004s system, we get a run time error if we try to run the associated application (see Exhibit A on page 1 of attachment.)
    If we try to re-activate the component, we get the error shown in Exhibit B on page 1 of attachment.
    We're sending an OSS Customer Message on WDR_TEST_EVENTS (ABAP Component)
    If we choose “Web Dynpro Component > Check > Complete Object” from the Menu Bar, we get the compile error shown on pages 2 and 3 of the attachment.
    Here is the release info for our NW2004s system.
    SAP_ABA         700       0008     SAPKA70008    Cross-Application Component
    SAP_BASIS      700       0008     SAPKB70008    SAP Basis Component
    PI_BASIS          2005_1_700       0008     SAPKIPYJ78     PI_BASIS 2005_1_700
    SAP_BW          700       0008     SAPKW70008   SAP NetWeaver BI 7.0
    The "NULL object reference" error we get when running the complete object check is in the constructor method of CL_WDY_MD_VIEW_ELEMENT - line 119:
    if sy-uname <> 'ROSENBERGERC'.
       me->ui_element_definition->if_wdy_md_object~get_definition( importing definition = wa_wdy_ui_elem_def ).
    else.
        me->ui_element_definition->if_wdy_md_object~get_definition( importing definition = wa_wdy_ui_elem_def ).
    endif.
    According to Rich H, this component works fine on his sneak preview edition. 
    So if someone can send me a copy of the constructor method of CL_WDY_MD_VIEW_ELEMENT from the ABAP sneak preview edition, I'd like to compare it to see what the problem is in our copu.

    Sent to your email.  I have included the source from Sneak Preview SP08.
    Regards,
    Rich Heilman

  • Importing WSDL File in Webdynpro abap component

    hi experts,
    I wanted to use a wsdl in my webdynpro component, ie. in wd java, i can create model and in that i get options to import a wsdl via wsdl file, i have a wsdl file, but how can the same be achived here in wd abap, i could import a functional module, but i dont know how to import wsdl ...
    have gone through this url but i could not find the blog.
    https://scn.sap.com/thread/502026
    Regards
    Govardan Raj S

    hi Kiran,
    The links you have suggested are help full, im completely new to this feild,
    here il explain what i did,
    i have a wsdl file named as M****_*******_Pzzzz_Baaaaa_Details.wsdl
    using se80 i went to my package where my webdyrnpro component is stored.
    right click of this pkg, i selected create -> enterprise service /webservice - > proxy object.
    here i got a pop with options as 1) consumer Group 2) Exception Classes 3) Service Provider 4) Service Consumer 5) Data Types 6) Data Types Enhancements
    i selected service consumer , coz i wanted to consume wsdl.
    then on click of continue ,
    here i selected Local File  radion button.
    then browse my wsdl file in my computer, then gave prefix as zbaadtlprxy
    and assigned a package and request that im using currently and completed.
    now i created a proxy object with name available as
    M****_C*********_P*******_Batch_D .
    i activated the same.
    now after this what is the next step. ?

  • Webdynpro ABAP component TREE - on event onaction do onloadchildren

    Hi experts,
    I have a specific requirement from my client. On our custom WD ABAP app (see below) which has a CL_WD_TREE component we want to force the event onaction on the tree node to do exactly the same of event onloadchildren of the node selected:
    This will avoid some questions on the users that are not pressing the small triangle to load node's children. Is there any way to load children when executing event onaction on the node selected?
    Thanks in advance.
    Best Regards,
    AS

    Hi Andre,
    If you need to fill child data based on the parent, then define supply function to the child node.
    for eg: create SALES node under node MATERIAL. MATERIAL is a parent node and SALES is a child node. define supply function to the child node as shown
    Supply function gets called automatically when mateials node is filled
    Supply function gets called
    1. When the node is initial
    2. on the lead selection
    Thanks & Regards,
    Sankar Gelivi

  • Problem in a webdynpro abap component - Really very urgent PLZ help me

    Hi Experts,
    I am working with FITV_POWL_TRIPS webdynpro component.In that my requirement is to keep a button and input fields near the create travel request button and to add some functionalities.
    I worked in the  component , unfortunately the component get corrupted. i don't know how to retrieve the component to its original state.I tried with version management but no use.
    Can anybody suggest me how to retrieve the component. Any of your inputs is valuable to me.
    if the patch should be installed is the only way mean plz tell me the patch details.
    Actually FITV_FPM  , this component get damaged. This component is under FITV_POWL_TRIPS.
    Regards,
    Ramanan
    Edited by: Ramanan Panchabakesan on Jul 9, 2008 12:10 PM

    Dear Thomas,
    Really i failed to use the enhancement mode to work with that POWL component.Actually the thing i did is added an attribute directly to the component controller of that component and  binded it to the drop down then activated , it shows some error "Configuration missing error" so again i deleted that attribute and reactivated it again but it shows the same error. so i tried to retrieve it back from version.But failed, then compared with other system the methods and attributes are same as it is.Finally copied the methods and code from that system though all are same in two systems, then activated.No error now.But clicking on the "create request" button the component shows a road map step with 1 as completed status.It looks with the following information
    Fite_Request
          1
    Completed
    and with two buttons one is disabled and thats capiton is Previous step and the other is exit that is enabled
    when i clicked that exit button it again goback to the intial screen of FITV_POWL_TRIPS.
    Before it shows with some 3 or 4 road map steps with some different status.
    Tell me any other way to retrieve it.As the patch to be  reinstalled is the solution means please tell in which patch this resides.Technically i want to retrieve it, going for patch update is secondary and i go for that if and only if there is no other way.
    with hope and regards,
    Ramanan.P
    Edited by: Ramanan Panchabakesan on Jul 15, 2008 7:34 AM

  • Fetch value from custom container in WD Abap component

    Hi all,
    I am using a web service to call a RFC function module into my web dynpro component.When I create a new service then a new custom controller will created and in this controller a method is created for FM.
    Now my query is, when I run the WD application, FM will retun a table at my end and I want to use it at view level.
    I declared a global table in Component controller attribute and want to fill that table when I execute service. when I use wd_this-><Table name> (at custom controller level, in method for FM) then it shows me that this table is not exist.
    Please suggest how to fetch table's value.
    Thanks
    Sanket sethi

    solved.

  • Web Dynpro ABAP Component configuration - Invalid access Key

    Hi Friends,
    I have copied HRESS_CC_MENU_OVP to ZHRESS_CC_MENU_OVP and trying to configure it. Even after registering the object it is giving the same error Invalid access key.
    We have registered HRESS_CC_MENU_AREA_GROUP and the access key worked fine. But registration for HRESS_CC_MENU_OVP is giving error Invalid access key. We have deleted and registered the object thrice but system is giving the same error.
    Can someone please suggest me where I have gone wrong.
    Thanks,
    Ravi

    Hi,
    Each component will have different access key. you cannot use the same access key to different application.
    You can try with different access key else you have an option of enhancing the HRESS_CC_MENU_OVP.
    Regards,
    Jyothi

Maybe you are looking for