cancel
Showing results for 
Search instead for 
Did you mean: 

Strange JCA behaviour

Former Member
0 Kudos

Hello All,

OK... I'm trying to execute an iView which uses the JCA on EP 6.0 SP9 (yes I know... webdynpro). Pretty simple Java iView which uses JCA to call RFM in R/3 which returns table data. I've used the SAME code in EP 6.0 SP2 where it worked w/o any issues. But now I get this very strange behaviour.

  • User myang logs into EP and runs iView. Because myang DOES NOT have R/3 user, exception is thrown and no data is displayed.

  • User jsmith logs into EP and runs iView. jsmith DOES have R/3 user and permissions, data is displayed.

  • User myang logs back into EP and runs iView. Data is displayed (myang DOES not even exist in R/3!!!).

I've turned off every caching setting I could find including client side caching. The STRANGE thing here is that after some debugging and troubleshooting it seems that what is happening is that for user 'jsmith' an RFC connection is created. Then when 'myang' logs in again, the iView uses THAT connection and pulls data. I say this because in SM04 you can see 'jsmith' as an RFC user... kill this session and 'myang' can no longer pull data. WEIRD... any ideas?

Thanks,

Mike

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Mike,

You posted in this thread that SAP provided you with the .SDA that resolves this issue. Can you let me know which .SDA exactly this is, and perhaps who has recomended this as a work around? I wonder if this can save upgrading to SP 11.

thanks a bunch,

Gerd Peter

former_member194198
Active Participant
0 Kudos

I have no ideas why - but I have exactly the same problem - Java iview running a function module that just returns SY-UNAME from the SAP system.

First user logs in and it creates a connection and returns user "X". Second user logs on to the portal and executes the component and it returns user "X", not "Y". Once "X"'s session is killed, the next person to log in gets the correct data and then everyone else gets that data.

I hate the portal.

Please let me know if you find a solution.

Richard

Former Member
0 Kudos

Hello Richard,

A couple of questions:

  • does this behaviour persist even when the iView caching level is set to 'none'?

  • what patch level of EP 6.0 are you running?

Thanks,

Mike

former_member194198
Active Participant
0 Kudos

Hi Mike,

I'm not running them as iviews - purely as components in the component starter so there should be no caching.

I'm running EP6 SP8 I think.

This morning I wrote an alternative routine using IJCOClientService and that works fine so it looks like its a bug with the connector framework.

Former Member
0 Kudos

Richard,

As I understand it, this issue is resolved in SP11. But, looking at the Service Marketplace it's not there (therefore not released yet). I put in an OSS message into SAP and they provided me with the .SDA that resolves this issue. I recommend you do the same if you cannot wait for SP11 to be released.

Cheers,

Mike

detlev_beutner
Active Contributor
0 Kudos

Hi Mike, hi Richard,

SP11 is planned for 11th of March 2005.

Hope it helps

Detlev