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: 

how to display value?

Former Member
0 Kudos

Hi experts,

Iam trying to display some value using application toolbar button.Just copy and paste this code.If i click 'Download to excel' button i want to display 'testing'..


REPORT ytest.
TABLES: sscrfields,rlgrap .
INCLUDE <icon> .

SELECTION-SCREEN FUNCTION KEY 1 .
PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'C:test.txt' .

INITIALIZATION .

  CONCATENATE icon_next_object 'Download into excel'
  INTO sscrfields-functxt_01 .


AT SELECTION-SCREEN.
  IF sscrfields-ucomm = 'FC01'.
   message(zmsg).
  ENDIF .

START-OF-SELECTION.
    WRITE: 'TESTING'.

Why it is not working??

thanks

kaki

1 ACCEPTED SOLUTION

dani_mn
Active Contributor
0 Kudos

report zwa_test1.

TABLES: sscrfields,rlgrap .

INCLUDE <icon> .

SELECTION-SCREEN FUNCTION KEY 1 .

PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'C:\test.txt' .

INITIALIZATION .

CONCATENATE icon_next_object 'Download into excel'

INTO sscrfields-functxt_01 .

AT SELECTION-SCREEN.

IF sscrfields-ucomm = 'FC01'.

message s000(su) with 'testing'.

ENDIF .

START-OF-SELECTION.

WRITE: 'TESTING'.

Regards,

Wasim Ahmed

Message was edited by: Wasim Ahmed

2 REPLIES 2

dani_mn
Active Contributor
0 Kudos

report zwa_test1.

TABLES: sscrfields,rlgrap .

INCLUDE <icon> .

SELECTION-SCREEN FUNCTION KEY 1 .

PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'C:\test.txt' .

INITIALIZATION .

CONCATENATE icon_next_object 'Download into excel'

INTO sscrfields-functxt_01 .

AT SELECTION-SCREEN.

IF sscrfields-ucomm = 'FC01'.

message s000(su) with 'testing'.

ENDIF .

START-OF-SELECTION.

WRITE: 'TESTING'.

Regards,

Wasim Ahmed

Message was edited by: Wasim Ahmed

Former Member
0 Kudos

thank u wasim

full points alloted..

cheers

kaki