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

F8 Key execution via ABAP Program

Former Member
0 Likes
4,067

Dear all,

Is it possible to execute F8 key via ABAP program i.e.

ALV Report having no. of links which when click should call a SAP Tcode with F8 key execution in the background and should display the final screen with results

Kunal Sheth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,611

ya you can assign GUI_STATUS for that . IF u assign that u can use F8 button

Regards,

Ajay

6 REPLIES 6
Read only

Former Member
0 Likes
2,611

Hi

U need to assign a comand of your ALV gui status to F8 key, anyway if u assign F8, it means this comand it can't use for doubleclick.

Max

Read only

GauthamV
Active Contributor
0 Likes
2,611

yes, it is possible.

In the interactive report define the pf-status and give F8 function key

for the field which when you click should call other transaction.

Read only

Former Member
0 Likes
2,611

Hi Kunal,

wouldn't CALL TRANSACTION help.

Thanks,

Sai

Read only

MarcinPciak
Active Contributor
0 Likes
2,611

As F8 simply means execute you can check the report's name for particular t-code (using se93) and call this report using SUBMIT. This would execute you report (t-code) displaying its results on the screen.

Read only

Former Member
0 Likes
2,611

Hi,

For this you have to use OO ALV and in that you can make use of Events like "after_user_command of cl_gui_alv_grid" .

To know how to use it you can refer the standard program BCALV_TEST_USER_COMMANDS.

besides this you have to assign a function code to key F8.

Regards,

Neha

Edited by: Neha Shukla on Dec 2, 2008 3:34 PM

Read only

Former Member
0 Likes
2,612

ya you can assign GUI_STATUS for that . IF u assign that u can use F8 button

Regards,

Ajay