cancel
Showing results for 
Search instead for 
Did you mean: 

calling rfc

Former Member
0 Kudos

now my scenario flow is.... III party - PI - ERP.

There is a requirement to run 2 scenarios (synchronous) one after other as..

basically when iii party calls, pi has to execute RFC and get the response back.

1. III party - PI - ERP.

2. III party - PI

I am sure there is no problem with calling ERP as the scenarios are flowing in the same way.

But What settings I need to change in order to have a communication with RFC of the PI system?

Has anyone done this kinda scenario of calling a IDOC or rfc of PI system using PI?

regards,

Venkat.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

>

> now my scenario flow is.... III party - PI - ERP.

> There is a requirement to run 2 scenarios (synchronous) one after other as..

> basically when iii party calls, pi has to execute RFC and get the response back.

> 1. III party - PI - ERP.

> 2. III party - PI

>

> I am sure there is no problem with calling ERP as the scenarios are flowing in the same way.

>

> But What settings I need to change in order to have a communication with RFC of the PI system?

> Has anyone done this kinda scenario of calling a IDOC or rfc of PI system using PI?

>

> regards,

> Venkat.

you want to call the RFC on the PI server itself?

why not configure another client on PI and then treat it as a separate business system So say PI client XXX is your integration server and PI client YYY is configured as a separate BS. Now you can easily connect and use IDocs and RFCs.

All your worries should be over with that.

Former Member
0 Kudos

I cannot create a new client because I am getting details of the curent client by calling a RFC.

I was cross checking if it can be really done..

I saw a Business system in SLD for PI

so I am planning to use it ...

THanks,

venkat.

former_member181985
Active Contributor
0 Kudos

In case of RFC's you can use the same client. No issues..................

Answers (2)

Answers (2)

former_member181962
Active Contributor
0 Kudos

Hi,

As a check, do the following.

CReate a RFC destination in PI system(SM59 transaction) connecting to itself.

Test the RFC Destination and see if it works.

If it works, then I think your scenario will also work.

Regards,

Ravi

Former Member
0 Kudos

Guys,

it worked.

FYI, there is a RFC destination named None. Hence I dint had to create one more.

now I have 2 scenarios calling RFCs of PI and ERP respectively.

1. WS - PI - PI (RFC) - WS

2. WS- PI - ERP(RFC) - WS.

This scenario, I use to fetch system details of PI and ERP using RFC on respective systems.

I am thinking to make it one scenario and try it without using BPM.

It should be like.... WS sends one send request to PI... PI should process it from RFC send the response and use the same request message to send to ERP, send the response from ERP to WS.

Is there a work around to achieve the same without using BPM?

Regards,

Venkat.

Former Member
0 Kudos

Hi Venkat,

We are also working on the same File-RFC-File scenario and finding it difficult to get the connectivity settings right.

Can you provide the details of rfcdestination, port, logical system and other necessary settings.

Rgds

Kishore

Former Member
0 Kudos

Check recent blog from Raj for File - RFC - File.

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529&;

Are you talking about RFC on PI?

There is a standard RFC named None which can connect PI to PI's RFC of the same client.

Can you open a new post detailing your requirements?

All the best

-Venkat.

former_member189440
Participant
0 Kudos

Hi venkat

Actually ur scenario is related to web Service request to bapi/rfc and there from rfc response to webservice response.

u just create a custom bapi for ur requirement and expose this as webservice.

and later send a soap request using soap as an sender adapter to that wsdl and get th response using soap adapter. it will work surely.

any doubts ask me.......... don't hesitate....

former_member189440
Participant
0 Kudos

Hi Kishore,

for file rfc file sceanrio create program id in sm59 in r3 side as connection type as 't' and give the PI ip and gateway host there and now use this in rfc adapter.it will work surely i have done this earlier.it is worked.

former_member189440
Participant
Former Member
0 Kudos

Uday,

My requirement is

WS - PI- PI ( RFC )

WS - ERP - ERP ( RFC)

These are 2 different scenarios now, calling same RFC on PI and ERP respectively

I would like to combine them and make one scenario without BPM.

You gave a solution for one of those scenarios which I know already.

FYI, File - RFC - File does not require a prog ID. You use a receiver RFC CC not the sender.

Please do not post wrong answers that will confuse members.

Thanks,

Venkat.

former_member181985
Active Contributor
0 Kudos

Why you want to call PI's RFC or IDOCs? Any reason.

The setting will be same for PI too..........

You need a business system of type Web AS ABAP pointing to technical system of type WebAS ABAP for PI.

A RFC communication channel to call the BAPI's of PI system.