cancel
Showing results for 
Search instead for 
Did you mean: 

How can I call a RFC from dynpage ?

Former Member
0 Kudos

Hi!

I would like to know how can I call a RFC from a Portal aplication, dynpage or jspdynpage. there include some libraries ?

any idea?

thanks

Accepted Solutions (1)

Accepted Solutions (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can use jCo(Java Connector).

You can start with this link.

http://help.sap.com/saphelp_nw2004s/helpdata/en/de/e6c9255044b241a9401a3a1b7009a9/frameset.htm

REgards,

Rich HEilman

Answers (2)

Answers (2)

Former Member
0 Kudos

for deploying SAP Jra :

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933...

For lookup of SAP Jra use:

com.sapportals.connector.connection.IConnectionFactory connectionFactory =(IConnectionFactory) initctx.lookup( "deployedAdapters/SAPFactory/shareable/SAPFactory");

Using SAP Jra

http://help.sap.com/saphelp_nw04s/helpdata/en/47/13044258bdd417e10000000a1550b0/content.htm

The important jars required are:

connector.jar

Genericconnector.jar

prtjndisupport.jar

Thanks

Former Member
0 Kudos

Hi,

I have the same requirement. I have one problem yet, though.

I can connect to SAP and run an RFC from my application using the JRA factory if I use a single logon ID (power user), coded in the JRA properties.

What I have not yet been able to do is connect with SSO (SAP logon ticket) using the JRA factory. I need to connect to SAP as the LOGGED-ON user(the user that authenticated thru the portal). Would someone be able to share a bit of a code example or description of how to accomplish this?

Thank you.

Kevin Haller