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: 

Interactive report

Former Member
0 Kudos
80

Hi,

How to trigger ‘AT Line-Selection’ and ‘AT User-Command’ together in an interactive report

7 REPLIES 7

FredericGirod
Active Contributor
0 Kudos
62

To play with at user-command, you have to define user command, start with the SET PF-STATUS.

Fred

Former Member
0 Kudos
62

Hi Basu

if u select any line in a basi reportit will trigger at line-selection event

if u select any button from menu or appl tool bar it will trigger at user-command

reward points to all helpful answers

kiran.M

Former Member
0 Kudos
62

Hi Sourav,

at line-selection event is triggered when we click on any line of the list. at user-command is triggered when pressing a function key. if we wnt to have some function key in secondary list display, at that time we can use at line-selection and at user-command.

Reward if useful

Former Member
0 Kudos
62

Hi

for at line selection you have to hide the field on which you wsh to use the command prior to writing the statement.then you can use it.

then you define 2 variables get field and get value

in get field you will get the field name user has clicked and in get value yo will get the value.

the use case or if else to check ur own condition.

for using pf status you have to attach a menu to the program and then write SET PF STATUS in ur code.

after that write a case on each button f code and write the appropreate code under that.

please reward points if useful

thanks

vivekanand

Former Member
0 Kudos
62

Hi

write the same code under the two events

what ever action done acording to that event code will execute

creat one form for that logic

and call that form under that two eveents

reward if usefull

Former Member
0 Kudos
62

Hi ,

please reward points if ur question has been answered

Former Member
0 Kudos
62

Hi,

in your Set PF-STATUS statement double click the PF status name. Now there under Function Keys in Corresponding line of <b>F2</b> function you just write on left hand text box <b>PICK</b> and left the right text box as usual <Choose..>. Activate your PF Status.Back to your program and activate it. Test the program.