Skip to Content
author's profile photo Former Member
Former Member

how to debug the function module

Hi,

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 08:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05, 2006 at 08:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05, 2006 at 08:47 AM

    Hello Preethi,

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

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 11:20 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.