cancel
Showing results for 
Search instead for 
Did you mean: 

how to pass the JCo destinations as URL params?

Former Member
0 Kudos

Hi,

I have requirement to pass my JCo names as Url Params.

jcoParam = "WD_ORD_RFC_METADATA_DEST:MNR "+" WD_ORD_MODELDATA_DEST:MNR";

how do I combine and sent to URL params

urlParameters.put("sap-wd-arfc-useSys",jcoParam);

I am passing like this but the URL will take one parameter

with one name but I need to pass the same parameter with diffrent Jco destination how to solve this please guide in this.

I need like this But

Url will take one parameter with sap-wd-arfc-useSys this name only the parameter sap-wd-arfc-useSys name is not taking once again .

sap-wd-arfc-useSys=WD_ORD_RFC_METADATA_DEST:MNR

& sap-wd-arfc-useSys=WD_ORD_MODELDATA_DEST:MNR

Any body suggest on this.

Thanks,

Lohi.

Accepted Solutions (0)

Answers (2)

Answers (2)

Sharadha1
Active Contributor
0 Kudos

Hi Lohita,

The parameter sap-wd-arfc-useSys should be given in the iview properties in the Content Administrator. The portal will be able to read the parameters properly even when you repeat the parameters like

sap-wd-arfc-usesys = WD_ORD_RFC_METADATA_DEST:MNR & sap-wd-arfc-usesys = WD_ORD_MODELDATA_DEST:MNR in the iview properties.

You will not abe able to pass it from the application as we would be using HashMap to pass the url parameters.As far as i know there is no other parameter available for the same purpose. Try giving the same in the iview of that applicaiton, it will work.

Regards,

Sharadha

Former Member
0 Kudos

Hi,

Thanks for immediate response.

We have gone thru passing the params onlu on hashmap only.

Is it possible to pass the both in with one param.

We donot have chance to pass the Iview Params.

thru Hash map is any possibility?

Thanks,

Lohi.

Sharadha1
Active Contributor
0 Kudos

Hi Lohitha,

I do not think it is possible in any other way also. I tried for a long time without success.

Regards,

Sharadha

Former Member
0 Kudos

Hi,

Here We are calling the External window and displays BAPI output.

that require All the JCO destnations and input params.

For this we are using the hashmap and passing this hash map as URL generator param.

How to add the same parameter to the hash map value.

Any suggestions on this.

Thanks,

Lohi.

Sharadha1
Active Contributor
0 Kudos

Hi Lohitha,

As you know it is not possible to add two similar keys in the Hash Map as it violates the property of the HashMap datastructure.

I do not get the scenario in which you are trying this.Is there an iview that displays the output? can you please explain further.

Regards,

Sharadha

Former Member
0 Kudos

Hi Sharadha,

Thanks for your support.

It has been done by myself another way.

Thanks,

Nageswara

Sharadha1
Active Contributor
0 Kudos

Hi ,

Can you please let me know how did u achieve it?

Regards,

Sharadha

Former Member
0 Kudos

Hi,

Just we have get the JCO client and set to model thru coding.

We willl any thing on model data only. pass the Meta data to URL and set second model data to be set to current Model.

Thanks,

Lohi.

Former Member
0 Kudos

Hi Lohitha

We are also facing the same issue. can provide us with the code how to change model parameter.

In our scenario we want to connect to different R/3 system using the same Model for Adaptive RFC to connect.

we want to change JCo connection dynamically for the same Model

Thanks and regards,

Shruti

Former Member
0 Kudos

shardha,

What the name of the iview properties in the Content Administrator?

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Lohitha,

read the related SAP Online Help on Model<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/82/76a2406546ba15e10000000a1550b0/frameset.htm">Multiple Backend Support for the Adaptive RFC Model</a> and <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/af/84a34098022a54e10000000a1550b0/frameset.htm">Mapping Logical Systems</a>.

Regards, Bertram