cancel
Showing results for 
Search instead for 
Did you mean: 

Purpose of RFC Destianation on XI to ERP

Former Member
0 Kudos

Hi

Can someone tel me the exact purpose of RFC destination on XI side when I am doing an IDOC to File ( asyn ) ?

I have been through existing posts, dint find any useful inference

IDOC is sender and file is receiver. Why do we need to create a RFC destination on the PI end to an ERP system?

regards,

Nikhil.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In XI you need to maintain the Sender PORT in IDX1 for the ERP system. For IDOCs sender PORT information is must. In XI the IDOC metadat is stored in IDX2 based on the PORT name.

So to set-up this port you need to have the RFC Destination for ERP system.

If you don't have the RFC destination, the pushed IDOC will stuck up in R/3 only at SM58 with PORT error.

Thanks

swarup

Former Member
0 Kudos

Thanks Swarup.

I have one question.

Does it mean we create RFC destination on PI just for the sake of IDX1 and IDX2?

and PI do not need to communicate back to ERP during asynch scenario?

regards,

Nikhil.

Edited by: Nikhil A on Aug 12, 2008 8:54 PM

Former Member
0 Kudos

HI,

When IDOC will pushed to ERP system then the PORTS on receiver side ERP system was preferred.

BUT whenver you used IDOCs, you need to have the rgister Meta Data of IDOC for particular PORT ans which possible by maintaining in IDX1 and IDX2.

So for sender as well as receiver side ...doesn't matter you must need to have the PORTS ready with meta data...else..if its 1st time that IDOC processed, then Meta Data will get verified and if its not there then it will register automatically...So without having Meta Data of IDOC its not possible to convert the IDOC from IDOC-XML or vice-versa.

Thus RFC-Destination is must in this case for sender as well as receiver side.

Thanks

swarup

Former Member
0 Kudos

thats good.

as per my understanding, to convert from IDOC-XML, it looks into meta data in which sender and recevier ports are speicified.

and to create port we need to create RFC destination.

does it means PI do not look back in ERP, during coversion of IDOC-XML?

I couldnt able to understand if PI check the original structure of IDOC during this process and is that a second reason to create RFC?

Thanks

Nikhil.

Edited by: Nikhil A on Aug 12, 2008 9:39 PM

Former Member
0 Kudos

HI,

Validating the structure is one thing, but you need to have the control recodes to be as per the Ports defined for IDOC..Either for sending or receiveing the PORTs are vary much important...this is the main reason of maintain the RFC destinations...

Refer similar discussion in below link

Thanks

Swarup

Former Member
0 Kudos

Thanks Swarup.

Its clear now.

Answers (2)

Answers (2)

Former Member
0 Kudos

we are creating RFC Destination for establishing communication between XI and IDOC

VijayKonam
Active Contributor
0 Kudos

In order to let the R3 system talk to XI, one has provide a means of communication. RFC destinations are nothingbut those means.

VJ