on 05-02-2016 12:36 PM
Hi All,
My Scenario is File to IDOC, and this is not a B2B scenario.
Sender partner type is LS and receiver partner type is KU.
Can you please help me, whether i would need to create a receiver party if the partner type is KU?
I created a party-less communication for the IDOC Receiver and File sender, but by default IDOC is getting created with Receiver Partner type as LS.
Iam working on SAP PI 7.1.
Thanks,
Tinu
There are multiple way to achieve this requirement where you need to send a Customer KU as the Sender Partner type when sending the IDoc.
I would recommend Option 1 as the easiest and simplest but do make sure that the Partner number is same in both QA and Production. If the Partner number value will change,. you would need to make sure you make this configurable through Parametrized Mappings or Value Mapping..
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tinu,
In idoc scenario, The default value will be always Logical System (Sender tag under Constants Tab in mapping), So you have to map the values for the control record in the message mapping from the payload.
Mark the communication channel to make sure the sender value will be got from the message mapping by checking a checkbox.
Thanks
Selva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tinu,
Have you got the control record in the payload?, there is an option "Apply Control Record Values from Payload" in your receiver channel.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inaki,
Iam getting the values for the control record from mapping and applied the option "Apply Control record from payload" in channel, but when the IDOC is getting posted to ECC, its not taking the value KU for the partner Type instead its taking the default value LS.
Control Record from Mapping:
<SNDPOR>DX1CLNT504</SNDPOR>
<SNDPRT>LS</SNDPRT>
<RCVPOR>SAPDR1</RCVPOR>
<RCVPRT>KU</RCVPRT>
<RCVPRN>1000215</RCVPRN>
But when i checked the IDOC Outbound XML, below is the value generated
<SAP:SNDPOR>SAPDX1</SAP:SNDPOR>
<SAP:SNDPRT>LS</SAP:SNDPRT>
<SAP:RCVPOR>SAPDR1</SAP:RCVPOR>
<SAP:RCVPRN>DR1CLNT507</SAP:RCVPRN>
<SAP:RCVPRT>LS</SAP:RCVPRT>
its not taking the value RCVPRN as 1000215 and RCVPRT as LS, because of this values its failing in ECC.
Thanks,
Tinu
Hello Tinu,
No need of party.
It depends on how you map the control records?
Are you mapping the control records?
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.