cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the Same File Name in Sender & Receiver SFTP Channel in PI 7.3

Former Member
0 Kudos

Dear All,

    we are on PI 7.3 JAVA stack only.

    my problem is I would like to get the same file in SFTP reciver as wll as same file name in Sender Comm. Channel.

    e.g is i am picking up a file abc.xml from one location & writing it on the other location, while writing the file to Destination it should create with the same name as source file name.

    if i am giving the .* in receiver SFTP channel. it is giving error. not able to understand .*

    how to solve this.?

Pl. help me....

Regards,

Umesh.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member200386
Active Participant
0 Kudos

Hi Umesh,

As Gagan Suggested this can achieved by using ASMA  at both comm channels.If you are using SFTP adapter

you have to use Name space as" http://sap.com/xi/XI/System/File".

Please find the screen shot of SFTP comm channel config.

former_member556603
Active Contributor
0 Kudos

Hi Umesh,

Please find the below Useful blog for SFTP Adapter Config:

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

http://scn.sap.com/message/14209438

Thanks,

Maruthi Satya Kumar

Former Member
0 Kudos

Hi Umesh,

Give * in the target communication channel File Name Scheme and check the Adapter specific message attributes in Advanced tab. This would work provided you have an UDF for dynamic configuration in your repository.

Thanks,

Swetha.

gagandeep_batra
Active Contributor
0 Kudos

Hi Umesh,

Did You select ASMA parameter in both CC.

And select File name in both Sender CC and Receiver CC

And put dummy name in Receiver CC

and * in Sender CC

Regards

Gagan

Former Member
0 Kudos

Gagan

   did u mean .* in sender CC or only *

   because only * is giving error.

Regards,

Umesh

former_member200386
Active Participant
0 Kudos

Hi Umesh,

Please maintain File name schema in sender comm channel  as per your requirement.

For example if you want to fetch all the files from particular directory. You can choose *

And also check the Folder access permission with network team to fetch the file.

Thanks & Regards,

Pavan

Former Member
0 Kudos

Former Member
0 Kudos

Hi Gangandeep,

Basically my requirement to get Filename in idoc segments in order to validate the posting at month end.


Its an File to idoc scenario- GL Posting.


Please check attached UDF and it gives error. Kindly help. Thanks