on 03-26-2007 1:51 PM
Hi, everybody
I have a simple task: create the WDP application with one view - screen with students list. Student list retrieved from R/3 function via RFC adaptive model. This app requires authentication. The R/3 function has an access restriction for "Student" user. (SSO working properly). The requirement is when I log in under the Student - this app must show me the second view with a message "User ... have no rights".
This is the code
try {
wdContext.currentZnrx_Get_List_Students_InputElement().modelObject ().execute(); //just trying to get some students list via R/3 function
} catch(com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException e) {
//analyse what the reason of this exception
}
Could you please give a hint, how can I be sure about the reason of thrown exception? That it is exactly related to access rights failure. The error key of thrown exception is too common (RFC_ERROR_SYSTEM_FAILURE)
I really don't want to parse the text which getCause() method returns.
I mean "... the text which getLocalizedMessage() method returns"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.