cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Debugging in function module from portal

vipra
Participant
0 Kudos

Hi All,

I am not very clear about debugging an RFC FM where the debugging needs to start from the creation of shopping cart.

The RFC user id is changed to DIALOG user and has the debug rights.


I logged into the GUI using the requester id and the debugging did not continue in to the back-end system, the module was executed and the results were given but could not debug in back-end.

I need to login to GUI with which user id to continue debugging the back-end RFC FM in ECC?

Any suggestions?

Accepted Solutions (0)

Answers (3)

Answers (3)

vipra
Participant
0 Kudos

Hi All,

We have a classic scenario SRM(702) and ECC(4.5B), during the creation of shopping carts i am adding free text items and want to know the types of source of supply that are fetched from backend by debugging ECC function module using the RFC debugging.

I have already performed steps 1-5 mentioned by Summer Wang.

I am logging into SRM UI using "ABC1", logged in to ECC with user "ABC1" and set the breakpoint in the FM in ECC.

Logged into SRM GUI using "ABC1" and set the breakpoint before the call to remote funciton module.

During SC creation when i add a free text, the debugger opens in SRM and when press F5 at the point of RFC, the control does not go to ECC but the module gets executed.

I want to continue debuggin the ECC module.

Regards,

Prasad.

summer_wang
Contributor
0 Kudos

Hi ,

Please try the following :

1, Log on to the ECC system

2, SU01 input the SRM dialog user  (The user name is the one you maintained in SM59 in SRM system)

3, Maintian user type D = Dialog

4, Profile SAP_ALL or at least debugging authorization

5 Please ensure you are calling a RFC functim module reaches that destination .

Best regards

Summer Wang

Former Member
0 Kudos

Hi Prasad,

What is your SRM implementation scenarios: Extended Classic/Classic ?

Scenario - ECS

SC creation would not trigger an RFC call to the ECC system as it does not create a PR.

- It would either be in pending approval status or approved and get converted in to a PO

- To debug in such case, put an "EXTERNAL" break-point in the BADI "BBP_DOC_CHANGE_BADI" and check the stack to to see the program where you would have to put the break-point.

Scenario - Classic

I believe, RFC to ECC would happen after the SC is approved to create a PR, so please check if the status of the SC after its created and put an external break-point int he same BADI.

Also, you might try using the FBGENDAT parameter in the BAPI which would be called in ECC system to create the follow-on document (PR/PO) based on your system settings.

Please check with your functional team regarding the existing setup.

Br,

Raghu