Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Webdynpro Navigation back to first screen.. second screen not refreshed

Former Member
0 Likes
1,058

Dear All,

Pardon me but I haven't worked much in web dynpro hence this might be a silly question but please care to help.

The Process is having 2 Views main and next  when I am navigating from main to next , view next is displayed some values which are editable.

View Next is having a button back to main which is working perfectly.

The issue that I am facing is that when I am selecting different value from Main view the View Next it is displaying old values.

Please suggest.

Thanks in Advance

Ashish

Dear All,

Pardon me but I haven't worked much in web dynpro hence this might be a silly question but please care to help.

The Process is having 2 Views main and next  when I am navigating from main to next , view next is displayed some values which are editable.

View Next is having a button back to main which is working perfectly.

The issue that I am facing is that when I am selecting different value from Main view the View Next it is displaying old values.

Please suggest.

Thanks in Advance

Ashish

3 REPLIES 3
Read only

Former Member
0 Likes
805

Hi Ashish,

First, you have posted in wrong thread. Use thread below.

http://scn.sap.com/community/web-dynpro-abap/content

Coming to your issue,

You have 2 views Main -> Next

Main view has it's context linked to input fields and

View has it's own context linked to the fields on screen.

You need to connect these 2 nodes using component controller. For this create a node structure in component controller and map them to these views. This will ensure that data changed in one view would be reflected in other. This is referred as BINDING.

Now in case, you don't have a requirement where data from one Node in view to be mapped directly in other view, still in that case, you need to populate data in Main or Next View context and update accordingly. To get data from Main View 1, create the same node in component controller and next views and read from there.

Cheers,

VS

Read only

0 Likes
805

Moving to webdynabap .

also, couldn't understand what to said . mapping is fine.

Read only

0 Likes
805

Hi Ashish,

In second view are you doing your coding in WDDOINIT?

If so, then the values will not get change in second view when you will call it second time after executing your WD component once.

WDDOINIT is initialization method which executes only once.

To change the values displayed in the second view you have to do your coding in WDMODIFYVIEW.