on 11-08-2016 5:43 AM
Hi,
We are on PI 7.4 single stack. My scenario is file to ECC where I am using 1:n mapping.
Source side I am using external definition and receiver side there are two idocs which I have to map. I have changed the occurences in the target side to 0 to unbounded both in MM and OM. I have disabled the EDI_DC40 segment for both the idocs in the receiver side and in ICO, I have given the PI logical system name in sender communication component in Oubound processing tab . I have also selected control record in IDOC XML not mandatory. Now when I test this interface I am getting the below error for both the Idocs
using connection SFTP_http://sap.com/xi/XI/SFTP failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error during transform: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable chars" style="WHITE-SPACE: normal" ti="0" lsdata="{0:'Transmitting the message to endpoint using connection SFTP_http://sap.com/xi/XI/SFTP failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error during transform: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable chars',9:true}" ct="TV" bResetTabIndex="true"Transmitting the message to endpoint <local> using connection SFTP_http://sap.com/xi/XI/SFTP failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error during transform: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable chars
I went through SDN and found that Interface name should be of
<MESTYP>.<IDOCTYP>.<CIMTYP>.
So, do I have to change the name of the External definition to above pattern? But then in my external definition MESTYP and IDCTYP are coming but not CIMTYP. How to go forward with this error.
Thanks,
Richa.
Have you created an Service interface for Receiver too ? i mean inbound interface should be idoc no need to use custom service interface .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Manoj and Evginey. I have changed the operation mapping and then the ICO. It started working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
I have created two inbound service interfaces for receiver. In the mapping I have selected Idocs directly but in Operation Mapping I have used service interfaces.
Thanks,
Richa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Richa!
You shouldn't create any interfaces for IDocs. Just use imported definitions in Operation mapping and Message mapping.
Regards, Evgeniy.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.