cancel
Showing results for 
Search instead for 
Did you mean: 

How to retreive the dynamic file name in the AAE configuration?

Former Member
0 Kudos

Hi Guys,

I have configured File to File with the integrated configuration and in the mapping i need to retreive the file name dynamically and i am unable to retreive it from the run time in AAE configuration. I am able to retreive with the normal configuration where integration engine is the run time.

I am using the code as below. Is it possible to retreive the file name dynamically in the AAE configuration? any help or suggestions would be appreciated.

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

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

String ourSourceFileName = conf.get(key);

return  ourSourceFileName;

Thanks,

Srini

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member556603
Active Contributor
0 Kudos

Hello Srinivas,

Brief Solution:

1. Using dynamic configuration, set the attribute value of payload dynamically to ASMA

2. Using AF module, write the value of ASMA in a variable

3. Using the variable substitution, set the receiver file name schema

Plz go through the below link:

http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot

Thanks,

Satya Kumar

former_member200962
Active Contributor
0 Kudos

The dynamic containers that we use (FileName, Directory, TargetURL etc) reside on the Integration Engine....when we use AAE we bypass IE and hence these variables do not get filled....hence cannot use them....i hope that my guess is valid

Regards,

Abhishek.