cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.4 - SFTP Adapter - Logs successful - No File Written

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

engswee
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi All,

We are facing the same issue, may i know what is the solution for this issue?

Regards,

Krushi.

Former Member
0 Kudos

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”);

  1. conf.put(key, "DIRECTORY VALUE");

Also I went through this blog (http://scn.sap.com/thread/3453030 ). This might be helpful


Thanks

Rohit Gupta

Former Member
0 Kudos

Hi Naveen,

If possible

  1. Can you please check the detailed logs in NWA.

Also please check the position of Message tranformation bean Module , you should place it        accordingly.

Thanks

Rohit

former_member184720
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Hareesh,

The parameter to write empty files is already ON. It is not writing any empty files too.