Skip to Content
author's profile photo Former Member
Former Member

Connect to MDM with one user

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2013 at 06:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2014 at 11:30 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.