on 09-16-2014 9:52 PM
All,
We are on PI 7.4 Dual stack -
Scenario:
IDOC to FlatFile via Reciver SFTP adapter - FCC is done by XML2Plain adapter module.
The receiver comm channel logs are looking good. Please see below.
But we dont see any file on the SFTP server.
Please note that -
1. We were able to write a file to the SFTP server without using XML2Plain bean
XML2Plain module parameters.
Receiver Comm Channel - logs:
09/16/2014 04:03:38.457 PM Information Message was received by the messaging system. Protocol: XI URL: http://<PISERVER>:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISDX1
09/16/2014 04:03:38.459 PM Information Using connection SFTP_http://sap.com/xi/XI/SFTP. Trying to put the message into the receive queue
09/16/2014 04:03:38.471 PM Information Message successfully put into the queue
09/16/2014 04:03:38.474 PM Information The message was successfully retrieved from the receive queue
09/16/2014 04:03:38.493 PM Information Delivering to channel: CC_GoodsMovementsFileRcv
09/16/2014 04:03:38.493 PM Information MP: processing local module localejbs/AF_Modules/MessageTransformBean
09/16/2014 04:03:38.493 PM Information Message status set to DLNG
09/16/2014 04:03:38.494 PM Information Transform: using Transform.Class: com.sap.aii.messaging.adapter.Conversion
09/16/2014 04:03:38.495 PM Information Transform: transforming the payload ...
09/16/2014 04:03:38.496 PM Information MP: processing local module localejbs/CallSapAdapter
09/16/2014 04:03:38.496 PM Information The message was successfully delivered to the application using connection SFTP_http://sap.com/xi/XI/SFTP
09/16/2014 04:03:38.496 PM Information Transform: successfully transformed
09/16/2014 04:03:38.498 PM Information Message status set to DLVD
Hi Naveen
There are a few typo errors in your configuration.
First one is xml.conversionType - your value have a lower case p while it should be in upper case (SimpleXML2Plain)
The next one is xml.endSeperator - should be xml.endSeparator.
Try to make these typo corrections to see if it helps.
Also, you have configured a lot of parameters that are not applicable for the SimpleXML2Plain conversion, i.e. documentName and documentNamespace, fieldNames, lastFieldsOptional, processFieldNames and structureTitle. These can be removed. You can refer to my blog below for the list of parameters that are applicable.
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you Introduce Dynamic Configuration for placing file to Directory and check ASMA properties to see whether it works or not.
DynamicConfigurationKey key = DynamicConfigurationKey.create(“http://sap.com/xi/XI/System/SFTP”,“Directory”);
Also I went through this blog (http://scn.sap.com/thread/3453030 ). This might be helpful
Thanks
Rohit Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
If possible
Also please check the position of Message tranformation bean Module , you should place it accordingly.
Thanks
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AFAIK - processfieldnames & Last field optional might not be applicable at receiver end.
Also may be you can try writing the empty files too and see if it's creating an empty file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.