Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Test exceptions in SE37

Former Member
0 Likes
654

Hello abap experts,

in se37 when i execute the function modules I can specify input parameters and i can see the output. Wondering if I can see the exceptions raised if any for testing in the same screen. Is it possible.

Many Thanks in advance,

BWer

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
470

Set a breakpoint in the code. If the code runs over this statement, then it will be fired correctly in your program.

Regards,

Rich Heilman

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
471

Set a breakpoint in the code. If the code runs over this statement, then it will be fired correctly in your program.

Regards,

Rich Heilman

Read only

0 Likes
470

Or when you "Test" your function module, it should say on the list display something like this. Notice the text in BOLD.



Test for function group      SCON                                                                           
Function module              CONVERT_DATE_INPUT                                                             
Upper/lower case                                                                                
Runtime:        4,169,256 Microseconds                                                                                
<b>Exception       WRONG_FORMAT_IN_INPUT </b>                                                                      
Message ID:          S5                         Message number:           012                               
Message  :                                                                                
Only numbers and '/' are permitted in the date                                                                                
Import parameters               Value                                                                                
INPUT                           ASDF                                                                      
  PLAUSIBILITY_CHECK              X                                                                                
Export parameters               Value                                                                                
OUTPUT                                                                                

REgards,

Rich Heilman