Hi Experts,
Currently we are working on PI 7.31 single stack and my scenario is CSV to IDoc where the sample file will have first row with heading for each column and each line item should be transformed to XML and should be posted as an DELVRY07 IDoc to ECC system and I followed the below steps :
1. Done SLD set up accordingly and imported the business sys to ID of PI and Imported the IDoc to ESR as external definition after changing the cardinality to 0..unbounded.
2. Used the IDoc_AAE receiver with manual type & Control record in IDoc XML is "Not Mandatory" and apply control record is disabled and also the mandatory fields in control record are mapped with constants like segment with 1, accordingly and I get the following error:
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System 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.
Since the receiver is IDoc with which is of external definition also I try to create Business component and replace the business system with Business component and assign the adapter specific Identifiers to business component it pops up the the destination and system are already in use as shown in the screen shot & also I cannot remove the adapter specific identifier in the business system since it is also used in the Outbound scenario also. Pls find the below screen shots of errors & required ones.
Kindly guide,Thanks!
-Nithin.