Skip to Content
0

What is mTime in Dynamic configuration.

Dec 04, 2017 at 04:12 PM

39

avatar image
Former Member

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);

}

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member
Dec 05, 2017 at 07:02 AM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Where to import this

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

to know the value of mtime.

0