Skip to Content
avatar image
Former Member

How to connect the diff ECCu2019s Depending upon the UserName by using WDJ Appl

Hi Friends,

I have one doubt in WDJ.

Presently I am working by connecting to ECC UK, Now I want to connect to multilple ECC Systems based on usernames and by using single WDJ Application.So here i was maintain User Groups.

For Example:

Now I am connecting to ECC UK. Now i want Same Application will connect to Multiple ECC System(ECC North America, ECC USA, And ECC INDIA).

How to Connect to the multiple ECC Systems.

Regards

Vijay K

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 21, 2010 at 05:31 AM

    Hi,

    Are you trying to fetch data from ECC system through RFC? If it is so then you can use JCO connections and modify its parameter during execution in WDJ based on your user logic to connect to different systems.

    Regards,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2010 at 06:29 AM

    Hello Vijay,

    You can get the Country of the user using UME API. The Country of the user is maintained in the User Profile this can read by getting the IUser and then reading the country through API.

    and for calling different systems we need to create the RFC detisnations with standard names and at the end we need to add the Logical system name of the different ECC systems

    WD_MODELDATA_DESTABC and WD_RFC_METADATA_DESTABC

    here WD_MODELDATA_DEST and WD_RFC_METADATA_DEST are the standard names and we should not change that names while creating the JCO and we need to append the Logical system names of differenct ECC systems in the above example it is ABC.

    now while importing the model you need to give the model destinations as WD_MODELDATA_DEST and WD_RFC_METADATA_DEST and while executin the model we need to append the logical system name in the URL as belo

    http://<hostname>:<port>/webdynpro/dispatcher/local/ESSProject/ESSApp?

    sap-wd-arfc-useSys=WD_MODELDATA_DEST:ABC&

    sap-wd-arfc-useSys=WD_RFC_METADATA_DEST:ABC

    Regards,

    Raju Bonagiri

    Add comment
    10|10000 characters needed characters exceeded