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

how to debug the function module

Former Member
0 Likes
1,327

Hi,

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
760

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
Read only

Former Member
0 Likes
760

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

Read only

Former Member
0 Likes
760

Hello Preethi,

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

Regards.

Read only

Former Member
0 Likes
761

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

Read only

Former Member
0 Likes
760

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

Read only

0 Likes
760

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