cancel
Showing results for 
Search instead for 
Did you mean: 

Send Message to SAP via RFC but FM Doesn't Exist

Former Member
0 Kudos

I tried searching for answers but failed. We are recently doing testing and (Staging) PI sent a message via RFC. It was successfully sent to our (Staging) SAP environment.

HOWEVER, the function module/RFC wasn't yet transported to the Staging SAP system. In our Staging PI, nothing was in error:

- SXI_MONITOR - Successful

- SM58 - Nothing was stuck. Hence, successful.

Is this the expected behavior? Is it possible to catch this "issue"?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member312864
Active Participant
0 Kudos

Hi ,

Could you please check your PI staging  RFC receiver communication channel whether its pointing to some other SAP system other than staging SAP system .

Regards,

Sarojkanta

Former Member
0 Kudos

Hi Sarojkanta,

Yes, it's only pointed to one staging SAP system. Our challenge is that everything was successful in PI despite the RFC/FM not existing yet in our SAP system.

Thanks,
Arvin

Dimitri
Active Contributor
0 Kudos

Hi,

Is it an asynchronous interface?

Can you share your configuration? Especially the receiver side.

Kind regards,

Dimitri

Former Member
0 Kudos

Hi Dimitri,

Yes, it's an asynchronous interface. We imported the structure in our Development System. RFC object, Z_PHYSICAL_INVENTORY. It is a File-To-RFC interface.

So we transported our PI objects to our staging system and did some tests, which showed successful mapping and transmission to SAP. Problem is that the FM/RFC itself wasn't yet in our SAP staging system.

If the FM/RFC itself isn't in SAP yet, wouldn't it have been in error in PI, for example, in SM58?

Thanks,

Arvin

Dimitri
Active Contributor
0 Kudos

Hi,

That was the intention of my first question.

SAP PI just delivers the message to the receiving SAP system without expecting anything back.

That is why you do not see an error in the monitoring. The message was just delivered successfully.

Do you have a screenshot of your receiving adapter? Configuration?

Kind regards,

Dimitri

former_member191435
Contributor
0 Kudos

Hi Jan,

Please check the RFC communication channel of receiver as suggested by Sarojkanta and verify the program ID of the receiver system,

Thanks,

Sreenivas

Former Member
0 Kudos

Hi Dimitri,

But, to which FM/RFC will it send if the RFC/FM doesn't exist in our staging SAP?

Here are screenshots:

Receiver Agreement

Receiver Comm. Channel

Thanks,

Arvin

Dimitri
Active Contributor
0 Kudos

Hi,

Your receiver communication channel just points to the SAP system and delivers the message.

Did you check the Message Monitor @ your SAP system? What does it say?

I guess successfully processed.

Kind regards,

Dimitri

Former Member
0 Kudos

Hi Dimitri,

Is there a way to direct it to the RFC/FM itself?

Thanks,

Arvin

Dimitri
Active Contributor
0 Kudos

You can only point to a system, not a specific function module

Former Member
0 Kudos

Where does the data now reside if the FM does not exist in SAP?

Dimitri
Active Contributor
0 Kudos

Did you check the message monitor on the SAP backend system side?

former_member191435
Contributor
0 Kudos

Please check sxmb_moni in your sap system as Dimitri suggested...

Is there any message is there are not....