cancel
Showing results for 
Search instead for 
Did you mean: 

SYSTEM ERROR on Executing RFC SE37 .??????/

Former Member
0 Kudos

I am trying to execute Outbound / SEnder RFC Scenario

On Executing RFC se37 with RFC Target sys: I am getting following error " SYSTEM ERROR ".

I am getting Messages in MONI with erronious Status " RED Status".

I have checked following things :

1. My Communication channel is working with programID "RFCSender_xxx".

2. On Executing SMGW " RFCSender_xxx " found resgisterd on XI/PI Hostname.

3. I have created RFC SM59 TCP/IP Types With Same program ID "RFCSender_xxx"

now on se37 i am executing function module with same RFC Destination TYPE T created in above step , i am getting following error :

SYSTEM ERROR ?????/

My RFC is with Table type parameter " with Select statement into i_tab"

Please Suggets .

Edited by: prabhatxi on Sep 16, 2010 12:10 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Solved by itself.

former_member241146
Active Participant
0 Kudos

Hi.

It is better you execute your RFC in a Report Program, like Sarvesh Singh says. Then, you have to put a COMMIT WORK statement.

When you execute a RFC throught SM37 transaction, your RFC works in the syncronous mode because you don't have commit work then it cause a error in SAP PI (if your interface is assync).

Regards.

Bruno.

Former Member
0 Kudos

First of all check ST22 I am sure you must have got some dump there.

Secondly you have to create an ABAP program and there you have to call your RFC like this... and then by executing this program you can do your testing..

CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'     "(RFC name)
  IN BACKGROUND TASK
  DESTINATION 'R3_TO_XI'   "(This the name of RFC destination which you created in SM59)
  TABLES
    comp_detail = company_detail.    "(internal table)

COMMIT WORK.

stefan_grube
Active Contributor
0 Kudos

you get always a system error in SM37, when your message in SXMB_MONI runs on error.

That is quite normal.

Fix the issue on PI side.