06-28-2008 2:26 PM
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!
06-28-2008 2:48 PM
use this..
REPORT demo .
START-OF-SELECTION.
set pf-status 'DATA'.---->double click here ...it will take to you some other screen -
DO 4 TIMES.
WRITE / sy-index.
ENDDO.
at USER-COMMAND.
case:sy-ucomm.
when 'DATA'.
write : ' button pressed '.
endcase.
06-28-2008 3:04 PM
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