viernes, 6 de mayo de 2016

The F Function Keys for Debugging

Hi All,

Today, I'm going to explain the F key that we use in the debugging mode.

Let's remember:

  1. F5 - Jump to the next Line.
  2. F6 - process a subrutine or function.
  3. F7 - Exit of the Current Function.
  4. F8 - Execute program.
When you start in the debugging mode it's because you are looking for something; Wrong value, wrong selection, wrong table or something like that.

Let's see an example:

Example: Before push F5 function key
Then, we push the F5 Key:

Example: After push F5 function key.
If you see, the yellow arrow change form line 14 to 26. Because, only the keyword of abap language is executed, in this case the Word Clear, that is useful to clean the content of a variable.

If you need to jump to the next execute line, you have to push F5, to jump to line 28, where the ask variable P_MAIL is assigned to variable W_STRING.



Now, the next line is an abap oo method, so to executed but don't enter to the method, we have to press F6 Key.


 Next, you will see that you go to he next intruction:



For F7 and F8 keys, is to finish one process, like to enter a subrutine, function or method and exit.


Regards,

Rober

No hay comentarios:

Publicar un comentario