cancel
Showing results for 
Search instead for 
Did you mean: 

What is mTime in Dynamic configuration.

Former Member
0 Kudos

I have been working in the UDF for dynamic configuring filename. It was the already existing code. Anyone please explain what is mtime in the following code,

try {

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

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

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

String s_Mtime = conf.get(key1);

String s_SourceFilename = conf.get(key2);

Mtime.addValue(s_Mtime);

SourceFilename.addValue(s_SourceFilename);

}

Accepted Solutions (1)

Accepted Solutions (1)

gagandeepbatras
Employee
Employee

You can enable the "timestamp" in sender SFTP channel by enabling ASAM ,you can see "MTime" as mentioned below.

<sap:Record namespace="http://sap.com/xi/XI/System/File" name="MTime">2122283644</sap:Record>

So this is for Server timestamp

Regards

GB

Former Member
0 Kudos

Where to import this

http://sap.com/xi/XI/System/File"; name="MTime">2122283644

to know the value of mtime.

Answers (0)