cancel
Showing results for 
Search instead for 
Did you mean: 

sending multiple files

Former Member
0 Kudos

in file to file. i am sending multiple file with different file name and in target side the same file names should be displayed.help me how to solve problem

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

HI ,

sending multiple file with different file name and in target side the same file names should be displayed

for sending multiple files

in sender communication channel:

1.Enable ASMA properties, and Enable File Name

2.we have to enable "Advanced Selection Source File" then need to provide multiple files .

target side the same file names

In Receiver File Communication Channel:

1.Enable ASMA Properties in Advanced Tab then Enable File Name

thanks,

Former Member
0 Kudos

Hi,

In recevier communication channel we have advanced tab, asam properties we have enable that file name.

try {

String filename = "";

DynamicConfiguration conf1 = (DynamicConfiguration) container

.getTransformationParameters()

.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http:/"+"/sap.com/xi/XI/System/File","FileName");

filename = conf1.get(key1);

filename = filename".xml";

conf1.put(key1,filename);

return filename;

}

catch(Exception e)

{

String exception = e.toString();

return exception;

}

regards,

ganesh.

former_member191435
Contributor
0 Kudos

Hi Priya,

Can u please check file name in Advanced tab of both sender and receiver communication channel...... so that we can get different file names...

Thanks,

ENivass

Former Member
0 Kudos

chk ASMA (file name) in both sender and receiver file adapter: