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

Filling Receiver Partner for the whole landscape

Hi Experts,

I have requirement where I need to send iDoc from one SAP System to another SAP system. The landscape contains Development, Test and production for both systems. (System 1: S1D-100, S1T-100 and S1P-100 || System 2: S2D, S2T and S2P). The partner profiles are set for whole landscape.

My question is while creating a control record in the development system, we are hardcoding the Partner Number of Receiver (RCVPRN) as S2DCLNT100 and Partner Number of Sender (SNDPRN) as S1DCLNT100. This is working fine in the development system. But when move this code to Test systems S1T and S2T, this will not work.

How to solve this issue. How can I get receiver system name respective to sender system?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2013 at 07:44 AM

    SY-SYSID field has system id.

    Using system fields sysid and mandt, I think you can concatenate them to get correct partner number in runtime.

    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.