USE EXIT-COMMAND IN OOP ABAP - NESNE TABANLI PROGRAMLAMADA USER-COMMAND KULLANIMI

 Firstly, you don't need to use commands like;

CASE 'OK_CODE'.

WHEN '&F03'.....


  • Go to your pai-pbo screen. Then define the following sentence.

MODULE EXIT AT EXIT-COMMAND.

Example;






  • Double click on exit module and create it somewhere in your program. And write leave to screen 0 as below: 



  • After that, go to your gui status screen. Open your standard Toolbar.





  • Double click on the button which you want to use for exit. Change functional type with the letter 'E' like the following example.










ALARA UMDU - SAP ABAP DEVELOPER

Yorumlar