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

User command and line selection

Former Member
0 Likes
676

Can user comand and line selection be implemented in the same report?

6 REPLIES 6
Read only

Former Member
0 Likes
657

hi

yes you can use both in same report.

FYI,

EVENTS:

Event keyword Event

AT LINE-SELECTION Event triggered by the user double-clicking a line or selecting it using

F2

AT USER-COMMAND Event triggered by the user pressing a function key

Edited by: manoj murugesan on Feb 19, 2009 9:17 AM

Read only

Former Member
0 Likes
657

hi...

you can impliment both in the same program...

for any issue always welcome

regards

Read only

Former Member
0 Likes
657

Hi Sam,

We can use both the events in the same report.

Refer the following thread:

Regards,

Nitin.

Read only

Former Member
0 Likes
657

Hello,

Yes...both must be in same report but u need maintain the pf-satus for that in that u need give PICK statement then only it will work.

Thank u,

santhosh

Read only

Former Member
0 Likes
657

Hi,

U can.

At line-selection.

perform selection.

at user-command.( this will handle buttons u create on gui status )

case sy-ucomm.

when 'DISPLAY'.

perform display.

endcase.

Read only

Former Member
0 Likes
657

yes,

like

At line-selection.

perform display_second.

where you can wriote logic for select statement for second report.

and other event can be used for user commands like..

at user-command.

case sy-ucomm.

when 'BACK'.

leave to screen 0.

endcase.

Regards