cancel
Showing results for 
Search instead for 
Did you mean: 

Question on RFC's

Former Member
0 Kudos

Hi Experts,

How can we call RFC's defined on ABAP Stack of PI to Java Stack (into Java Code)? What is the type of connection that needs to be defined while creating RFC destination on PI ABAP Stack?

Do we really need to define a seperate RFC Destination on ABAP Stack to talk to J2EE Stack?

Please clarify

Thnx

- Ramani

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member200962
Active Contributor
0 Kudos
What is the type of connection that needs to be defined while creating RFC destination on PI ABAP Stack?

RFC destination of Type T needs to created to send the RFC data from the SAP system to the XI/ PI system. Details of this RFC destination need to be maintained in the Sender RFC channel.

Getting details from a RFC using a JAVA code (UDF) is called RFC Lookup....SDN is hosting some very informative blogs on this...just a simple search is needed.

Regards,

Abhishek.

Former Member
0 Kudos

If I understand you correct you are looking for calling RFC via java J2EE engine then you need to use JCo API

provided default by SAP, For more details check the below link

https://wiki.sdn.sap.com/wiki/display/SI/Java+Connectivity

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0704763350DB10206084555647717560End...

Rajesh

former_member187339
Active Contributor
0 Kudos

Hi,

>>How can we call RFC's defined on ABAP Stack of PI to Java Stack (into Java Code)? What is the type of connection that needs to be defined while creating RFC destination on PI ABAP Stack?

You can call it in RFC Lookup of Message Mapping (Graphical) or else you can call the same in Java mapping (by writing th Java code)

>>Do we really need to define a seperate RFC Destination on ABAP Stack to talk to J2EE Stack?

Check this wiki page http://wiki.sdn.sap.com/wiki/display/XI/CrossReferencewithinSAPABAPStack-+Steps

Regards

Suraj