on 09-23-2013 3:11 PM
Hi All,
We have a requirement where in we need to fetch the data from MDM to SRM system and validate. We are currently able to do this, provide the SRM user exist in the MDM. If the SRM user doesn't exist in MDM my Query fails.
Method which fails
CALL METHOD LR_API_MO_CORE_SERVICE->QUERY. This doesn't return the results.
But our requirement is when it connects to MDM system it should use one default user irrespective of the SRM logged in user. We checked the TCP/IP RFC destination to default, but there is no option to default a user.
Is this possible to connect to MDM repository with one Standard user irrespective of the SRM logged in user?
Thanks,
Gopi
There is a small workaround that you can do.
1. Create a Custom Function Module which will have your MDM code to connect and get result
2. Create a RFC destination in SRM system that points to itself. In this RFC destination, configure the user you want to use for accessing MDM.
3. Call your FM using "WITH DESTINATION" keyword.
And you are done. You can also look at creating a class and wrapping the logic to ensure that you do not keep on creating connections to MDM, but reusing if an existing class object exists.
Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopi,
If you are trying to connect to MDM system from SRM or any other system, it is mandatory that the user should exist in MDM system. But for your above requirement, work around i suggest is, you can create a generic id in MDM system with required roles assigned to that id, and who ever access MDM system, let they access MDM with that id.
thanks
vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.