on 01-02-2012 9:44 AM
Hello JCo Experts,
My requirement is as follows:
> I need to create a Web Dynpro Java Application
> I have multiple users (different Users on SAP System).
> I need to execute BAPI/Module Functions through these multiple users.
Example:
Users: A and B
User A has logged in from a remote location
User B has logged in from a another remote location
both users have logged in through SAP system Login Ids
Two JCo Connections should be created and all the request from User A must use Connection A and request from B must use Connection B.
> The connection should be created at first time when user login first time.
How can I handle this scenario through JCo or other way. I have multiple BAPI/ModuelFunction which I need to execute but with User specific.
waiting for positive response.
Hi Shiv Kumar,
You are unnecessarily getting confused. just use standard JCO's
1. WD_Modeldata_Dest (Configured with SSO)
2. WD_RFC_Metadata_Dest (Configured with UIDPW)
This JCO's will take care of connections for multiple users. However, if your application is dependent on user credentials then you need to write code for user validation in wdDoInIt() method.
Hope it helps or please details your query in more detail.
Regards
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Shiv,
Please need to look into [How to Configure the JCo Destination Settings|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1]
http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicJCOHandling-Creation,Updationetc
Best Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
cannot follow you......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.