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: 

selection screen

Former Member
0 Kudos

hi!

i need to add print icon in selection screen near the execute icon.

how do i do it?

and how do i treat it afterwards?

regards

yifat

1 ACCEPTED SOLUTION

Former Member
0 Kudos

REPORT ZNEGI12 .

TABLES: sscrfields .

INCLUDE <icon> .

SELECTION-SCREEN FUNCTION KEY 1 .

parameters: pc(1) .

INITIALIZATION .

CONCATENATE icon_next_object 'test button at applicatin toolbar'

INTO

sscrfields-functxt_01 .

AT SELECTION-SCREEN.

IF sscrfields-ucomm EQ 'FC01' .

break sy-uname .

ENDIF .

2 REPLIES 2

Former Member
0 Kudos

REPORT ZNEGI12 .

TABLES: sscrfields .

INCLUDE <icon> .

SELECTION-SCREEN FUNCTION KEY 1 .

parameters: pc(1) .

INITIALIZATION .

CONCATENATE icon_next_object 'test button at applicatin toolbar'

INTO

sscrfields-functxt_01 .

AT SELECTION-SCREEN.

IF sscrfields-ucomm EQ 'FC01' .

break sy-uname .

ENDIF .

former_member188685
Active Contributor
0 Kudos

hI yIFAT,

YOU ARE NOT talking about the ICON in selection screen, i think you are talking about the PRINT button Beside to EXECUTE button in selection screen

if so you have to do this way..

REPORT  ZTEST             .

TABLES sscrfields.


PARAMETERS: P_TEXT(10).

<b>INITIALIZATION.
set pf-status 'AAA'.</b> "Here add EXECUTE,PRINT, and enable BACK,CANC,EXIT buttons.
"Handling the Buttons..
AT SELECTION-SCREEN.
IF  sscrfields-ucomm = 'PRINT'.

ENDIF.

Regards

vijay