cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP adapter

Former Member
0 Kudos

Hi Experts,

I have  SFTP to FILE adapter without ESR objects scenario.

I just need pick file from remote location and drop in to receiver side with same file name.

In this what ever I am picking up source files via SFTP adapter need to generate the same file name in receiver side.

When I have choose ASMA in  SFTP adapter it is failing receiver side (File) . File name is not found like .

I have put file name is XYZ_*.* in source in SFTP adapter and Target side *.* in File adapter

this configuration is not working getting error in receiver side.

Can you please suggest to me any alternate solution for this scenario.

Regards

Tahir

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I am getting below error.

Could not process due to error: com.sap.exception.standard.SAPIllegalArgumentException: The parameter "argument" has the value "/sap/XD1/interfaces/inbound/reorderlevels_*.TXT", so it contains the character "/sap/XD1/interfaces/inbound/reorderlevels_*.TXT" which is not allowed.


Can you please any one suggest what needs to be done here.


Need to write any Javamapping for this issue?


Regards

Tahir

Muniyappan
Active Contributor
0 Kudos

did you do the below settings in the sender channel?

i would suggest you to share your sender and receiver channel's ASMA properties. it will help to find your issue.

Former Member
0 Kudos

Hi Tahir,

SFTP Sender Adapter :

File name : In case of .txt file give the filename as ".+\\*.txt",in case of .csv file give the filename as ".+\\*.csv" and in case of any other file format give the filename as " ".+\\*".

Asma Settings :

File Adapter :

File name :

Asma Settings:

Thanks,

Durga

Former Member
0 Kudos

Hi Durga,

I will implement this above settings in interface and will update the results.

Thanks & Regards

Tahir.A

Former Member
0 Kudos

Hi Durga,

Thanks for the your solution it is working now..

After I have given  .+\\*.txt .

Regards

Tahir.A

Answers (4)

Answers (4)

sahana_ps
Participant
0 Kudos

Hi ,

Try this it will work

In receiver Channel congiure as below:

In Namespace,dont forget to add "/File" as shown in the screenshot

former_member202642
Participant
0 Kudos

Hi Tahir,

Please provide file name scheme in receiver channel as "*".

Don't forget to check file name under ASMA attributes.

Regards,

Aamir

Former Member
0 Kudos

Hi ,

Sender is SFTP and receiver is File adapter I am using.

I have checked File Name ASMA both sender and receiver channels.

While providing the "*". I am getting error in receiver side.

Please provide any other solutions.

Regards

Tahir

former_member202642
Participant
0 Kudos

Hi Tahir,

See the image below and check ASMA attribute file name in sender as well as receiver channel:

Muniyappan
Active Contributor
0 Kudos

What is the error you are getting in the receiver file adapter?

are you able to see the sender file name in the message monitroing?

could you paste the error here if possible?

can you try this patter (xyz_/?.*)

iaki_vila
Active Contributor
0 Kudos

Hi TahirBabu,

Have you check the File Name ASMA option in the sender and receiver channels?

Regards.

Former Member
0 Kudos

Hi

Plz xhk the below link:

Configure SFTP Adapter  to FIle in sap PI:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/305eeb5b-81e7-2f10-d8aa-9216de04c...

SFTP Adapter in PI 7.3x:

http://scn.sap.com/docs/DOC-35572

..........

Mutti

Message was edited by: Mutti KK Rao