cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi Call using JCO

Former Member
0 Kudos

Hi all,

Please share your views on the below scenario:

A WD Java app, deployed on WAS and an iView created in portal, is calling a BAPI and works fine when assigned to the role.

Now the same application when viewed directly using

http://<host>:<port>/webdynpro/dispatcher/local/<appname>; does not execute the bapi and gives

com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null

The JCO are using a service user to connect to the backend, so SSO still exist.

Let me know what we could be doing wrong here.

Meanwhile I can check the connection pool to see the property value.

Thanks for your time

Avinash

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182598
Active Contributor
0 Kudos

Hi Avinash,

When you run the application outside portal, does it ask for UserID/Password..? If not then logon ticket will not be issued and you will get the error.

To resolve this, in the application property of the application set sap.authentication as true

Thanks

Prashant

Former Member
0 Kudos

Hi Prashant

Thanks for your quick response.

The application when accessed directly does not ask for user id/password.

If I set the application property 'authentication' as true, would this authentication be done against UME?

Also since there is no "SSO using logon tickets" why is there a need for issuing a logon ticket?

I will try what you suggested in the earlier post.

Thanks

Avinash