cancel
Showing results for 
Search instead for 
Did you mean: 

debugging RFC-call in ERP-system

andreas_mann3
Active Contributor
0 Kudos

Hi experts,

I've a similar problem as decribed - but the opposite direction:

we send data from PI, which received a FTP-file, to ERP by RFC-Function.

last week we enhanced the output structure for this fm in PI (resp. in ERP: input structure)

result: the field is filled in the xml-file, which leaves PI - but the field comes blank into ERP-system

we've already emptied PI-cache!

is there any chance to debug the process in ERP-system???

thank you and regards

Andreas from germany

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The solution:

After structure change in FM

- re-upload the FM into PI

- update cache (SXI_CACHE)

- stop and re-start the RFC channel

Viola !

Former Member
0 Kudos

For debugging:

Putyour user of the target system into the logon data of the used receiver RFC channel.

In target system set an external brakepoint.

Answers (2)

Answers (2)

madhusudana_reddy2
Contributor
0 Kudos

Hi,

Put break point in function module and call this function module with report program so that you can debug.

Note:--if your sap systme is Unicode based. Then please select Unicode option in MDMP/Unicode tab.

thanks,

madhu

Former Member
0 Kudos

Hi Andreas,

We had the same problem.

Clearing all the caches and even restarting the PI system did not help.

Reactivating all the configuration objects for the specific scenario fixed the problem.

This means:

- sender agreement (if existing)

- receiver determination

- interface determination

- receiver agreement

- communication channel

If you want to debug the rfc that is called, insert an external breakpoint on the userid that is connecting from PI towards ERP (configured in receiver communication channel). You can change this userid via:

Utilities --> settings --> abap editor -->debugging --> external debugging userid

Hope this helps.

Kind regards

Joris

Edited by: Joris Verberckmoes on May 31, 2010 9:33 AM

Edited by: Joris Verberckmoes on May 31, 2010 9:36 AM

andreas_mann3
Active Contributor
0 Kudos

thank you Joris for your respond:

one doubt with respect to debugging

PI calls ERP-system with user "SSST01"

I've changed userid in ERP-system (iin se38-Utilities --> settings --> abap editor -->debugging --> external debugging userid?

with "SSST01" and have set external break-point in fm in ERP system.

Is this correct?

kind regards

Andreas