cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering RFC data not working

Former Member
0 Kudos

Hello,

I've created an R3 program that calls a function to get material master data and then triggers the information to XI with calling another dummy function. I've followed that blog post:

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5398] [original link is broken] [original link is broken] [original link is broken];

Then I've created my RFC destination in R3 SM59 and my communication channel in XI Integration Directory. Finally I've tested my RFC destination 'SAPXIGATEWAY' and the result is OK.

Then, when I execute my report in R3, the program ends without errors, but when I go to XI SXMB_MONI no messages has arrived. And I've checked SM58 in XI server and there is nothing.

I really don't know what's wrong... I'm trully desperated. Why adapter is not receiving RFC data???

My R3 code:



CALL FUNCTION 'ZRFC_GET_MATERIALS'
    EXPORTING
      WERKS                     = G_WERKS
    TABLES
      IT_MATERIALES        = IT_MATS.

* Dummy RFC to send data async (without exporting params).
  CALL FUNCTION 'ZZRFC_GET_MATERIALS'
    IN BACKGROUND TASK DESTINATION 'SAPXIGATEWAY'
    TABLES
      IT_MATERIALES         = IT_MATS.

  COMMIT WORK.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

check ur RFC Sender adapter in communication channel monitoring. check SM58 in source system

Answers (1)

Answers (1)

former_member192892
Active Contributor
0 Kudos

Hi Marshal,

Can you see anything the communication channel monitoring for the Sender RFC??

Former Member
0 Kudos

Oh! Thanks.

There is an error in the SM58 of sender RFC:

Commit fault:

com.sap.aii.af.rfc.afcommunication.RfcAFWException

: senderA

What does it mean? What is wrong?

Former Member
0 Kudos

try activating the comm channel again and test the RFC destination. do u have a receiver

Former Member
0 Kudos

Yeah!

I've solved the problem. The Sender Agreement Interface was wrong!

Thanks to all, without your help I couldn't get that!

deidre_logan
Participant
0 Kudos

what was wrong with the Sender Agreement interface. I have a developer with the same issue and they are not able to figure it out.

thanks,

deidre logan