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: 

In the function application question of report create buttom?

Former Member
0 Kudos

Daer all,

Has set up one buttom in report, but when pressing buttom, how can reach the function selected to the data showing completely?

If permitted Please give an example .

Thank you very much!

2 REPLIES 2

Former Member
0 Kudos

use this..

REPORT demo .

START-OF-SELECTION.

set pf-status 'DATA'.---->double click here ...it will take to you some other screen -


> asking to create >yes> give short description-->expand the application tool bar -
>give as DATA in the first box then save and activate it and come back

DO 4 TIMES.

WRITE / sy-index.

ENDDO.

at USER-COMMAND.

case:sy-ucomm.

when 'DATA'.

write : ' button pressed '.

endcase.

Former Member
0 Kudos

Hi,

I hope You set up the Button in PF-STATUS.

Now Write SET PF-STATUS 'STATUSNAME' Before you diplay the list or report.

Call the event-

AT USER-COMMAND.

Case sy-ucomm.

WHEN 'BUTTON'. ( Button name in Capital letter)

Write : 'secondary list'. (Display the report You want).

Enscase.

Go like the above way.

Regards,

Sujit