anthyiaconsulting

ABAP Tutorial

2 Example

  • 1. SE11: create SAPMZJI_mos_pool as a module pool (notice how the program starts with the keyword PROGRAM and not REPORT.

  • 2. Activate program

  • 3. Create SE51 screens of type Normal screen

  • 4. click Layout button

  • 5. create group name for radio buttons and fct_codes

  • 6. flow logic: uncomment Module status_0100 and rename PROCESS AFTER INPUT. MODULE PAI_0100.

  • 7. element list ok-code

  • 8. write code in SE38; declare variables.

  • 9. create module via flow logic

  • 10. create default values and functionality

  • 11. create leave program

  • 12. create transaction sm93 with gui support

(image)

Figure II.1: Create Module Pool Program

(image)

Figure II.2: Create Object Directory Entry

(image)

Figure II.3: Inactive Program

Activate with the magic wand

(image)

Figure II.4: Screen Painter: Attributes

Choose the Normal Screen Type.

(image)

Figure II.5: Screen Painter: Create Text field

Choose the Normal Screen Type.

(image)

Figure II.6: Uncomment Module

(image)

Figure II.7: Create OK Code