on 12-04-2017 4:12 PM
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);
}
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where to import this
http://sap.com/xi/XI/System/File"; name="MTime">2122283644
to know the value of mtime.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.