Application Development 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: 

List values refresh

Former Member
0 Kudos

Halo experts,

I have a simple problem but difficult to solve for report

I have 3 list boxes say p_list1 p_list2 p_list3

Depending on the values of p_list1 the p_list2 (list box domain) and p_list3 (list boxdomain)values are filled up.I am doing the same using FM VRM_SET_VALUES . This is coming correctly.

But the problem is

If the user selects a diiferenct value in p_list1 and press enter the screen valuews in p_list2 and p_list3 should be refreshed( along the list box domain values )

.So I am doing like below.


perform clear_list2_n_list3_values." Which clears all the list1 and list2  screen values a.
perform set_list2_n_list3_values."ehich sets the list2 and list3 values depending on list1 valee

This i am writing in at selection screen output event.

Now when variant comes this becomes a problem and you cannot clear this values.

More ever when the user presses back from the report output all the values are getting refereshed ( this should not be ). Is there any way to identify that the user has pressed back from the report output?

Regards

Kallu

2 REPLIES 2

Former Member
0 Kudos

you need to use FM VRM_GET_VALUES

maybe you need to use first VRM_REFRESH_VALUES... and then VRM_GET_VALUES

<ponits begging removed by moderator>

Edited by: Thomas Zloch on Mar 21, 2011 5:47 PM

former_member184578
Active Contributor
0 Kudos

Hi Kallu,

I think U have to preform

perform clear_list2_n_list3_values." Which clears all the list1 and list2 screen values a.

perform set_list2_n_list3_values."ehich sets the list2 and list3 values depending on list1 values

AT Selection Screen Event., not at Selection screen output event..

If u are using module pool perform it in PAI module..

FYI: At Selection Screen Output will trigger before the screen is loading.. So the values are not refreshing.. use AT Selection Screen Event

If u are performing it at selection screen output event u need to loop the screen and check the function group and clear and set the values..

Reply if u need some more clarifications.,

Thanks & Regards

Kiran