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?