Friday, January 13, 2012

Code for FORMAT HOTSPOT

*&---------------------------------------------------------------------*
*& Report  YSAP_HOTSPOT
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT  ysap_hotspot.

DATA: square TYPE i,
      cube   TYPE i.

START-OF-SELECTION.
  FORMAT HOTSPOT.
  DO 10 TIMES.
    square = sy-index ** 2.
    cube   = sy-index ** 3.
    WRITE / sy-index.
    HIDE: square, cube.
  ENDDO.

AT LINE-SELECTION.
  WRITE: square, cube.

Output:



 Clicked on 5.


 

No comments:

Post a Comment