SAP Database - The Unofficial SAP Knowledge Base

Free Business and Tech Magazines and eBooks

ABAP Programs: External flow of control (events)

Print This Post Email This Post Written by admin on Nov 15th, 2007 | Filed under: ABAP Programs

REPORT ZSOURCE0901.

* Display a list of customers
TABLES CUSTOMERS.
SELECT * FROM CUSTOMERS.
WRITE / CUSTOMERS-NAME.
ENDSELECT.

* Event for drill down
AT LINE-SELECTION.
WRITE: / ‘This line appears after drill-down’.

~~~~~ end of post ~~~~~

Type rest of the post here
———————
ABAPer, mail: abap.community@gmail.com http://abaplearner.blogspot.com

If you like this post, you may as well like these too:

  1. ABAP Programs: Working with get events REPORT ZSOURCE1504. * Work areas TABLES BOOKINGS. * Reading data GET BOOKINGS. WRITE / BOOKINGS-FLDATE. ...
  2. ABAP Programs: Selection screen events 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 REPORT ZSOURCE1603...
  3. ABAP Programs:External perform call This is the simple code which will show you as to how you can call the external routine from the current program. Program 1 REPORT ZSOURCE2307. * List of the...
  4. ABAP Programs: Internal flow of control (if, case, do, while) REPORT ZSOURCE0902. * Declarations for later useTABLES CUSTOMERS.DATA: COLOR(10) VALUE ‘yellow’, N(4) TYPE N VALUE ‘123′, P TYPE P, C4(4) VALUE ‘124′, C5(5) VALUE ‘00124′, SQUARE_NUMBER TYPE I, [...]...
  5. ABAP Programs : Using the events start-of-selection and end-of-selection REPORT ZSOURCE1503. * Work area TABLES BOOKINGS. * Initial processing START-OF-SELECTION. WRITE / ‘Start’. * Reading data GET BOOKINGS. WRITE: AT /3 BOOKINGS-FLDATE. * Final processing END-OF-SELECTION. WRITE / ‘Finished’....



This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply

  • Subscribe to RSS

  • Free Ebooks