ABAP Code Samples

 

Find Extensions in ABAP

New Version - Improved!

This program is very useful to find all types of extensions in a program or transaction.

This new version shows active implementations for BADI's.

find_extensions.txt

Send Messages

Using this program you can send messages to any user logged on to the SAP System. You choose the users you want, set the number of times to send the message and that's it!

z_send_messages.txt

ABAP Queries

The following programs are basically to execute SQL queries. You can read their codes in order to see the different ways of showing the information (ALV or Dynpro).

query1.txt

query2.txt

query3.txt

ABAP Tic-Tac-Toe

The famous game written in ABAP:

tictactoe.txt

This is GPL code.

Roulette

Check this implementation of a roulette in ABAP. You must first execute the Corupier program, and then each player runs the player program.

See how locking objects have been used for communication purposes.

z_croupier.txt

z_player.txt