yeah u r correct… here is the snippet of the rfc logs -
008810 [B2B-SAP.0012.0020] Message: type:com.wm.app.b2b.server.AccessException user:null port:5544’ from:10.249.48.5
but where should we pass these user credentials when we execute SAP RFC FMs to connect to SAP BC ?? I belive all these happens during RFC-HANDSHAKE at operating system level, but still it’s a MYSTERY to me…
From your Administrator, check your setup parameters in the Adapters>SAP >SAP Server settings>Login Defaults. You ought to have a User and password specified here. BC uses this to connect and interface with SAP.
I think the problem you face is the following:
The SAP Adapter checks whether the user on SAP (the user executing the RFC that connects to SAP BC) exists on the BC. If it does, it creates a session on BC with this user. If not, it will create a session with user ‘SAPUser’.
If the user in SAP exists on BC, make sure it’s in the ‘SAPUsers’ group and ACL.