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

Dynamic help in screens

Former Member
0 Likes
594

Hi all

I craeted a screen which contains id,name,city,rating,commercial,retail,other fields.I took these from the database so I got the help values for id,nameand city.But now I want to display the values in name and city automatcally when id is selected from the help values or when name is selected then I have to get values in id and city vice versa.Please give me solution.

Thank You.

Regards

Giri.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
573

Hi,

Your req is not very much clear.

But as Far i understood if you want to get the corr values of name and city for some id write the code in PBO event of that screen.

And if you want to catch some user action and then do the processing ,

write the code in PAI event of that screen.

Please reward if it helps.

Hi all

I craeted a screen which contains id,name,city,rating,commercial,retail,other fields.I took these from the database so I got the help values for id,nameand city.But now I want to display the values in name and city automatcally when id is selected from the help values or when name is selected then I have to get values in id and city vice versa.Please give me solution.

Thank You.

Regards

Giri.

3 REPLIES 3
Read only

Former Member
0 Likes
574

Hi,

Your req is not very much clear.

But as Far i understood if you want to get the corr values of name and city for some id write the code in PBO event of that screen.

And if you want to catch some user action and then do the processing ,

write the code in PAI event of that screen.

Please reward if it helps.

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
573

HI,

This is possible only if the search help is directly assigned to the structure( Table) that you are using to create your screen fields. Also you need to see that the search help you are using has these other fields which you want to populate automatically in their list of Export parameters. If this is not the case my advise is to create a search help copying the existing search help and add these new fileds as export parameters. And then copy the structure that you are using for screen filelds into a new structure and then assign the new search help to this new strucutre and map the export parameters of the search help to corresponding fields of the structure.

Regards,

Sesh

Read only

Former Member
0 Likes
573

Hi,

Add function code for the id.

When the id is filled with a value, the PAI of the screen is called. Within that,

call the function "VRM_SET_VALUES" and call the function "VRM_REFRESH_VALUES" for refreshing the values.

But here you should make the name and city as drop down lists.

For the "VRM_SET_VALUES" function module, you should pass a table, which contains the list of values that should be available in the dropdown.

If you still need information, i will send the sample code.

Regards,

Prasanth

  • Reward if helpful