Skip to Content
avatar image
Former Member

OVSProvider and OVSDialog

Dear all,

I want to implement a quite generic OVSProvider and OVSDialog class that i can you for my custom search helps. I have a working example now. I used the implementation SAP suggests here (http://help.sap.com/saphelp_nwce711/helpdata/en/48/1f9a51ea6a4e70e10000000a42189c/frameset.htm).

I hava Employee component with a view for searching employees, and a rootcomponent where i've attached this to an inputfield. What is the best way to pass data from to the root component? At first, i tried with passing it through context on the interface controller of my EmployeeComponent. But since i delete the component usage in the exit() of the IWDOVSDialog implementation, this data is not passed to my root component. When i do not delete the component usage, i can use the data in my root component through the interface of the used employee component.

Another option i tried was raising an event employeeSelected when i select the employee i want and then close the window. The rootcomponent can subscribe to the event and use the selected employee.

But now i'm wondering, what is the best way to pass data from the value selector to the component/screen that wants to use the data? (what is the best practice for custom implementation of IWDOVSDialog and IWDOVSProvider?

Kind regards,

J.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 05, 2009 at 02:59 PM

    Hi Joren,

    Please check this article:

    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/401975e3-e2ee-2b10-e191-a8140aabe9d6&overridelayout=true]

    Using context, u can send the data to the employee component using OVSControl... for more info check the article.

    Thanks and Regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 08, 2009 at 09:51 PM

    Closed, not answered

    Add comment
    10|10000 characters needed characters exceeded