Interactive Report – 1

REPORT  ZREP_0012  NO STANDARD PAGE HEADING  line-count 30(2).

data : it_spfli type table of spfli,

          wa_spfli type spfli.

start-of-selection.

  select * from spfli into table it_spfli.

end-of-selection.

  loop at it_spfli into wa_spfli.

    write : /1 wa_spfli-carrid,

             6 wa_spfli-connid,

             12 wa_spfli-COUNTRYFR,

             22 wa_spfli-COUNTRYTO,

             32 wa_spfli-AIRPFROM,

             42 wa_spfli-AIRPTO,

             52 wa_spfli-CITYFROM,

             62 wa_spfli-cityto.

  endloop.

top-of-page.

  write : /1 ‘CARRID’,

               10 ‘CONNID’,

                20 ‘COUNTRY FROM’,

                30 ‘COUNTRY TO’,

                40 ‘AIR FROM’,

                50 ‘AIRP TO’,

                60 ‘CITY FROM’,

                70 ‘CITY TO’.

  ULINE /1(75).

end-of-page.

WRITE : / ‘FLIGHT DETAILS ‘.

ULINE /1(75).

AT LINE-SELECTION. ” Events Triggers when the user double                                               “clicks on the list

WRITE : / ‘INTERACTIVE REPORT =’, SY-LSIND.


Output-

 

c5
c6
c7

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s