on 10-24-2008 1:30 PM
Hi Experts,
I have a requirement in WebDynpro Java which is , I need to develop an application in WebDynpro java which uses some BAPI's ( RFC) . Based on the user authorization in SAP R/3 System my application should get the data from Backend system ( R/3).
But ! My application is getting the data without considering the Authorizations. May be it is using different user when it connects to R/3 system I hope.
What should I do for getting the data as per the authorizations ?
thanks
Suresh
Hi Suresh,
If you want that the data should be as per the user id who has logged in then you have to either configure SSO between portal and R/3. Make sure that you have not used basic authentication while configuring JCO Destinations.
OR
You have to pass user id as one of the parameter to your BAPI and fetch the data accordingly.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murtuza Kharodawala ,
My system is configured as SSO already . There are many IViews are running now. When I create the JCO Destinations I used my Username and passport for creating the JCO destinations for authentication.
Shell I use the Ticket for Creating the JCO Destinations ?
Thanks
Suresh
Hi Murtuza Kharodawala ,
I have done as you said. It is working fine in Development and when I did the same in production, I am not able to get the data from Back -end. It is showing the following error.
Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST_TEST - Model: class suresh1.Header. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST_TEST - Model: class suresh2.TABSWORK. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST_TEST - Model: class suresh1.Header. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
Can u give me a clue
Thanks
Suresh
Hi Murtuza Kharodawala ,
I did as you said.But ! When I select the Ticket in JCo Destination and test it , I am getting the following error. I don't know what to do now for this .
Can u help me on this ?
com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: System received an expired SSO ticket
Thanks
Suresh
not working when i transported to production system.
But ! when I use the User name / Password authentication at JCO Destinations. Then It is getting the data.
any clue please.
thanks
Suresh
Edited by: Suresh Mandalapu on Oct 25, 2008 2:01 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Enable authentication for your webdynpro application by double clicking application->Application Properties->Add-> Authentication- > Set the value to true.
Make use of tickets while configuring Jco.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.