on 06-28-2010 8:55 AM
Hello,
I'm trying to identify the sender system and client (ABAP) for a processFunction call implemented as ejb (with JCO interface).
Does someone knew a method to access caller information from the processFunction call?
Regards,
Frank
com.sap.mw.jco.JCO.Server jcoServer =
((com.sap.mw.jco.IServerThread) Thread.currentThread()).getServer();
com.sap.mw.jco.JCO.Attributes attributes = jcoServer.getAttributes();
String systemID = attributes.getSystemID();
String client = attributes.getClient();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frank,
I have to admit that my proposal does not work.
There is a thread change in the 7.0x JCo RFC Provider service so that casting the thread this way is illegal.
I am afraid that there is no possibility as you would like to have one.
But I think the switch with release 7.10 to internally use the new JCo would allow a similar cast then.
I think it should be possible with release 7.10 and higher. But that does not help you right now.
I'm sorry.
Best regards,
Stefan
No solution available, I have used another method to validate security context.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.