Skip to Content
avatar image
Former Member

Debugging

Hi ,

We are calling RFC enabled function module in BODS to update few transactions in SAP , Is there any way i can debug the FM once i executed the job from BODS ?

Thanks,

AJ.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jan 07, 2015 at 04:51 PM

    Hi

    when you say you want to debug the function module, it is outside the designer interface. I dont think this is possible when passing the data using BODS. Also debugging in the function module in SAP GUI are usually session based.

    When debugging using the designer interface for RFC enabled function calls to SAP, you can use the AL_RFC_RETCODE to see if te RFC call was completed successfully or not for a given record in a dataset. But control from BODS Designer to the SAP GUI cant be transferred when debugging to follow the execution steps in the FM that you are calling in the job that you are debugging.


    Hope this helps.

    Also can you give me a bit more detail on whether the issue is with data not being processed or an error faced in BODS when calling the RFC enabled FM?


    kind regards

    Raghu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2015 at 01:59 PM

    Apart from checking the function module at the SAP end there is no way to debug the function. Perhaps you can first try with 1 record.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks but what if my first record has an error and i wanted to debug and see what went wrong 😕

  • Jan 07, 2015 at 02:11 PM

    You could debug the job and somehow preview the datasets if that helps.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2015 at 03:33 PM

    There has been instances where my FM works independently in SAP but when its embedded into BODS it doesn't .

    Any more leads pls .

    Add comment
    10|10000 characters needed characters exceeded