Application Development 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: 

how to debug the function module

Former Member
0 Kudos

Hi,

i working on BAPI the BAPI name is BAPI_INCOMINGINVOICE_CREATE. How to debug the bapi.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You can probe it in se37, also, you can enter in the code and put a breakpoint where you want to stop, with f5, f6 and f7 you can go through the code seeing the variable values

regards

5 REPLIES 5

former_member223537
Active Contributor
0 Kudos

Hi,

Just Put a break-point on the BAPI and then execute the program.

When the control stops at the BAPI press F5 button. The control will go inside the BAPI.

Best regards,

Prashant

0 Kudos

Hello Preethi,

se37 -> 'BAPI_INCOMINGINVOICE_CREATE'. F8-> fill need values -> Ctrl + F7.

Regards.

Former Member
0 Kudos

You can probe it in se37, also, you can enter in the code and put a breakpoint where you want to stop, with f5, f6 and f7 you can go through the code seeing the variable values

regards

Former Member
0 Kudos

Hi Preethi,

it is vary simple

1. run tcode se37

2. function module = BAPI_INCOMINGINVOICE_CREATE

3. press f8

4. input import parameter as per your requirement and than click on Debugging button next to F8 button

5. now you will be in debug mode for single step processing keep pressing F5 and if you have set break point in BAPI than you can press F7 to reach at break point

regards,

John

0 Kudos

hi,

Debugging bapi or any report is very simple. Goto the report/FM and execute. Enter the requisite paramters and write /h in command line. then again press f8 to execute. Now you can use f5(go step by step), f6, f7 or f8(Debugging off). if you want to reach a specific point, just place the break-point in the source code and execute the control will stop at the break point and you can check the values and debug the code further.

Regards,

Richa