cancel
Showing results for 
Search instead for 
Did you mean: 

Set Default JCO Connection in Interface View

Former Member
0 Kudos

Hi,

my default jco connection points to r/3 client 102 (WD Content Admin).

I have configured a second jco to client 202 and can use it with the url parameter "sap.wdarfc.useSys=<jco>:202"

Is it possible to set the default (and only this) to client 202 in a interface view of the wd application programmaticly?

Regard

Sebastian

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

any suggestions ?

thx

Sebastian

ThatSAPGuy
Advisor
Advisor
0 Kudos

Sebastian-

Don't know if I understood your question. You are passing the client number as a parameter through the URL. In your controller you are fetching the value passed and connecting to that particular client. Is your question how to default it to client 102 if this field is not passed?

If so all you have to do is check the value of the parameter being fetched from the URL. If the value of client is null, then it means that the URL param was not passed (or passed with no value). In such a case default it to client 102.

I hope this addresses your problem.

Cheers-

Atul