cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member211387
Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Raghu,

Thanks for the detail explanation. I have already incorporated the FM return code to check on the success / failure of the FM call .

my data works fine with my FM in SAP but not when calling the same through BODS and important point to note here is my FM return code is successful.

Thanks,

Arun.

former_member211387
Contributor
0 Kudos

Hi Arun,

Can you provide me more detail on the scenario and the actual FM you are calling? It may well be that the data being passed is not the same as what is reaching the FM.

Screenshots/ATL or anything will be useful.

kind regards

Raghu

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Any more leads pls .

former_member214071
Participant
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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