Skip to Content
Former Member
Sep 11, 2010 at 02:35 AM

component usages: context not updated...anything like dynp_read_values?...


Hi .

I have Comp A which uses Comp B ... Comp B is used across several applications. Comp B has a context node N which has external mapping (ticked).

In a view V1 of Comp A, view container is used to display the view V2 of Comp B which contains the Context node N.

When user enters a value in a field in the view V2 (this is done through View V1), the context of comp A doesnot automatically get updated.. I also have a button in V1 which opens a popup, when the user clicks CLOSE on popup, the values in V1 change to the original values. eg: Initial value is 'SAP' , user changes the value to 'SAP1' but after clicking the button and closing the popup, the initial value 'SAP' is displayed again.. I need SAP1 to be visible..

Can anyone tell me how this can be achieved..

In Classic Dynpro f.m dynp_read_values could be used to read screen field values even without trigerring PAI...Is there something similar in WDABAP which allows me to read the screen field values.

I am thinking of reading the screen field values and updating the context in the WDDOBEFOREACTION() method of the view..

Please let me know how this can be achieved

Edited by: sk123456 on Sep 12, 2010 3:29 PM