cancel
Showing results for 
Search instead for 
Did you mean: 

Error in excuting BAPI

Sudip1
Participant
0 Kudos

Dear All,

We have EP7.0 (sps14) on HP UX (DB Oracle 10g Unicode).

I created one JCO to the backend R/3 system (ECC 6.0 on HP UX, DB Oracle 10g Unicode).

This JCO has been used in one application and is working fine when I am selecting the user/pwd option (the user I am specifying, is a dialog user - existing in R/3 system and has SAP_ALL authorization).

As soon as I am changing the option to Ticket, the JCO is failing with the following error message:

Could not create JCOClientConnection for logical System: JCO_ED3_RD3_200 - Model: class com.sap.tut.wd.flightlist.model.FlightModel. Please assure that you have configured the RFC connections and/or logical system name properly for this model!

But the strange thing is, after selecting the "Ticket" option and save, the "Test" is getting executed successfully - which implies the SSO has been configuered properly in the R/3 backend system.

Can anyone please through some light into it?

Thanks & Regards

Sudip

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Are you using authentication in your application?

If not the SSO is used against the user "GUEST".

Switch on that application parameter and your problem will be solved.

Aviad

Sudip1
Participant
0 Kudos

Hi,

Thanks for the reply.

Could you please elaborate and guide me which parameter needs to be set and how to?

I have not understood what you meant by "SSO is used against the user "GUEST"."

Thanks & Regards

Sudip

Former Member
0 Kudos

Hi,

In order to change authentication mode in your wd application do the following:

1. Open NWDS and open your project

2. Navigate to your application and DblClick on it.

3. Switch to "Application Properties" tab.

4. Click "New" button.

5. Click on "Browse" and select "Authentication"

6. Select value - "true"

7. Click "Finish" button.

8. Deploy

9. Run

Aviad

Sudip1
Participant
0 Kudos

Hi,

Many Thanks.

The issue resolved.

Regards

Sudip

Answers (1)

Answers (1)

PradeepBondla
Active Contributor
0 Kudos

Hi,

By the error message we can point out that its the error because of JCO's, not with SSO

check you max and min connections you configured for JCO connection pool.

this will help you

regards,

PradeeP

Sudip1
Participant
0 Kudos

Hi,

Thanks for the reply.

My JCo Pool Configuration is :

Maximal Pool Size : 100

Maximum Connections: 300

Connection Timeout (msec.): 40000

Maximum Waiting Time (msec.): 20000

Only One developer is now using this application.

Do I need to change this configuration?

Thanks & Regards

Sudip