cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to MDM with one user

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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