on 12-18-2015 7:33 AM
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 suggest me to solve the issue or other ways with out BPM to achieve the requirement,Thanks!
-Nithin.
Hi Raghu,
Thanks! and it means no changes to be done from PI end right?
-Nithin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghu,
Any idea what should be the cause for the data issue here?
Thanks in advance!!
-Nithin.
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 Raghu,
Yes it works now, thank you!
But I see the status on ECC as 51 still I am doubtful whether the constant values mapped to fields of control record of the IDoc casued on any problem ? I mapped the TABNAM field with constant value EDI_DC40 and ignored the field EDI_DC40 of control record of IDoc.
Thnx,Nithin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nithin,
Import the IDOC from SAP system and use the same in
1.Message mapping
2.Operation mapping
If you still face any issues,let us know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nithin,
Dont use external definition for IDOCs, reference imported IDOC in message mapping, operation mapping and in ICO.
Check below SAP Note.
1862655 - NullPointerExceptions during IDoc_AEE Receiver Adapter processing
Regards,
Praveen.
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 | |
9 | |
7 | |
6 | |
5 | |
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.