cancel
Showing results for 
Search instead for 
Did you mean: 

Basic configuration guide to set ECC to PI

Former Member
0 Kudos

Hi Experts,

I would to set a scenario for BAPI to File.

Please let me know the basic configuration to be set for ECC and PI.

Explain in detail as I am totally new to this.

Thanks

Sunil

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member183908
Active Contributor
0 Kudos

Hi

In ECC system.

-->In ECC system you need to create the LOGICAL SYSTEM using BD54

-->Assing the LS to client using SCC4

-->Create RFC destination of type 3 using SM59 pointing to PI system,u need to give the details of PI system

-->Create PORT using WE21.

After that import your BAPI in to your IR. for that while creating the namespace in IR make sure that the RadioButton -->Import of RFC and IDOC Interfaces from SAP systems Permitted.(BAPI is nothing but the RFC ie Remote Enabled Function Moule)

Thanks

Former Member
0 Kudos

Hi Pavan,

What we understand is do we need to create RFC type 3 ot type T because most of the other say its Type T. How can we call this RFC from PI system!

Thanks & Regards

Sunil

kenny_scott
Contributor
0 Kudos

The SM59 RFC connection type is type 'T' (TCP/IP Connection).

Regards

Kenny

prateek
Active Contributor
0 Kudos

The RFC is of type TCP/IP.

TCP/IP call does not work as other RFC calls. For TCP/IP, a program ID is provided. This program ID gets registered and could be seen in transaction SMGW at R3. Now the same program ID is used in PI. PI checks for the registered program ID name and thereby select the communication path.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

I did the same but the error I am getting is system failure.

When I try to execute Function module and in that I give the RFC target system,I get the error.

We are really confused.

Thanks

Sunil

former_member183908
Active Contributor
0 Kudos

Hi Sunil

-->you would like to deal scenario with BAPI to FILE.So on sender side we need to configure RFC adapter and FILE on receiver side.

--->In Sender RFC we need to maintain the PROGRAM ID.

--->In ECC we need to create RFC destination of Type TCP/IP.

Thanks

Former Member
0 Kudos

Hi,

We did exactly the same but still we are getting System Failure Error.

When we executing the Funtion Module , it is asking RFC destination and we gave the RFC which was created in ECC,this RFC has the Programm ID.

Please help me.

Thanks

Sunil

kenny_scott
Contributor
0 Kudos

Hi Sunil,

is the gateway specified correctly in the SM59 RFC destination? If there are no gateway entries then the local gateway is used. Check if the Program ID registers on the gateway, i.e.,

TCode

SMGW

-> GoTo

-> Logged on clients

The unique <Program ID> that you have specified in the RFC destination should appear in the

'TP Name' column.

Regards

Kenny

Edited by: Kenny Scott on Apr 24, 2009 5:34 PM

Former Member
0 Kudos

Hi Kenny,

Can you be more clear! Where is TP name column? Secondly do I need to excute FM from ECC system or PI system. I could get the Program ID. and did mention in the RFC which was created in ECC.

Thanks

Sunil

Former Member
0 Kudos

Hi Kenny,

When I execute the FM i get an error saying System Failure when I give RFC target system:RFC(the pne created with Program ID)

When I dont give the RFC it is executing successfully.

Please help me

Thanks

Sunil

kenny_scott
Contributor
0 Kudos

Hi Sunil,

the 'TP column' can be seen by using

TCODE

SMGW

on the gatway system that you are registering the <Program ID>.

Menu option

GoTo

-> Logged on Clients

The 'TP Name' column is the 3rd column.

Can you advise :

(1)

if the RFC destination (created on the ECC) system is working by using the 'Test Connection' option in the SM59 RFC destination?

(2)

Is the respective RFC Sender Adapter Communication Channel activated?

(3) how you are call in the RFC, e.g. ABAP report or SE37?

Regards

Kenny

Former Member
0 Kudos

Hi Kenny,

We are able to test the connection, secondly we did activate the sender communication channel.

And we are calling using SE37( Function Module) and trying to execute using the RFC which was created in ECC.

Hope this is clear.

Thanks

Sunil

Former Member
0 Kudos

Hi,

I have raised the ticket to SAP.

Former Member
0 Kudos

Hi,

Check these

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Regards

Seshagiri

Former Member
0 Kudos

Hi,

I tried to check the links but still i am not able to execute the scenario.

When exectuing the BAPI is asks for RFC target system, so what is that RFC.

Secondly how this is going to reflect PI system.

Thanks

Sunil

prateek
Active Contributor
0 Kudos

The RFC name should be the name of RFC type TCP/IP as mentioned in the blog.

This would be reflected in PI using the unique Program ID that you would be providing in R/3 and in communication channel at PI.

Regards,

Prateek

Former Member
0 Kudos

Hi Sunil,

Please find the below links will help you

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/sapR3%2528Idocs%2529ToXI--Steps+Summarized&

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/ale-idocconfiguration-+%2528R3XIFile%2529

http://help.sap.com/saphelp_nw04/helpdata/en/d4/0a43a124e8924ea890cf0855860db5/frameset.htm

Regards

Venkat Rao .G