Skip to Content
author's profile photo Former Member
Former Member

Pass data between view and pop-up

Hi,

I am unable to pass data between a standard view and my custom view, which I want to display as a pop-up.

In the standard component BT116QH_SRVQ I have created a table view (DisplayOrders) that should be displayed as a pop-up when pressing save. The view contains contains 2 context nodes: BTAdminH and the value context node Orders (with order ID and description).

In the OVViewSet, I have added the Orders context node too and in the EH_ONSAVE method I populate the Orders context node and call the pop-up.

I have tried to create a custom controller in order to pass the data from the OVViewSet to the DisplayOrders, but when I check in the DisplayOrders the custom controller is empty. I have bound both the contexts node in the OVViewSet and the DisplayOrders to those in the custom controller.

Does anybody have any suggestion?

Thank you,

Andra.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2011 at 02:52 PM

    HI Andra,

    Please check the steps given in this blog.

    /people/vikash.krishna/blog/2009/12/28/crm-70-how-to--5d-custom-controller-and-binding-of-context-nodes

    hope this helps.

    Cheers, Satish

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      The problem was that when populating and reading the custom controller, I had to add GLOBAL. in front of the custom controller name. Like this: 'GLOBAL.ZKBT116QH_SRVQ/CuCoOrders'

      Thank you,

      Andra.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.