Hello Experts,
Firstly, I am not sure if this is in the correct location, but I am willing to accept the criticism for posting it here.. oops
The issue I am encountering is as follows:
We access the SRM Shopping Cart BSP application using NWBC.
Users log into ECC using NWBC and one of their roles in ECC is read in via RFC from the SRM system.
This role has the Shopping Cart BSP added as a menu item. The role of course has the SRM RFC in the target system.
This setup is working fine for us in our environments which only have 1 client which is being accessed by the users, however in our training environment we have multiple clients, for example client 500, 501, 502, 503, 504
Of note in this situation, we have client 500 set to production client in SCC4 and the other clients set to training/education in SCC4, and the profile parameter login/system_client set to 500 in the training environment
So.. the functionality which we are trying to perform is:
If a user logs into ECC500 using NWBC, and they click on the menu item for the Shopping Cart BSP, they are directed to the Shopping Cart BSP on SRM500.... and so fort... ECC501 to SRM501... etc
Currently the behavior we are getting is that no matter which ECC client the user logs into and clicks the Shopping Cart BSP, they are being logged into SRM500.
We have updated the role in each SRM client to add the parameter option 'sap-client' in the NWBC menu item, with the appropriate client number and then re-read via RFC into their respective ECC clients.... but still all connections go to SRM500.
We are deleting the server NWBC menu cache after each role update and deleting local NWBC cache and browser cache to ensure we are not getting invalid results.
So, ... that is the first issue ... hopefully someone might have an idea for us (it may be as simple as changing the SCC4 parameters or the profile parameter, which we will be testing tomorrow anyway)
Secondly...
We thought a good work around would be to specify the BSP application by using a web address in the NWBC menu and using the sap-client parameter on the URL.
This actually works fine, but when we add the role to the test user account which has many roles already, we start getting an error displayed on the screen. "An item with the same key has already been added."
![Capture.PNG]()
We are very sure we have not added the same URL in any other roles, and this occurs when adding the URL's to existing roles or creating completely fresh new roles.
Has anyone encountered this issue before? This component of the post should probably be in another area I guess.
Anyways,
Looking forward to some replies.
Thanks in advance,
Kind regards,
Patrick