on 02-02-2012 9:08 AM
Hello every one, i am doing a IDoc to File scenario.
In IDoc to file scinario how we will get file name as idoc number at run time for every IDoc number?
in mapping:
doc num-> udf(dyn.conf) -> target root node.
udf:
String DynamicConfiguration(String a, Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
conf.put(key,a);
return "";
in receiver comm,channel:
you have to enable check box's for file name and using ASMA in advanced tab
pls refer below blog for example:
http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
Edited by: bhavanisankar.solasu on Feb 2, 2012 2:43 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friends,
here is new document for IDOC TO FILE scenario..
http://jskcomput.blogspot.com/2013/08/idoc-to-file-scenario.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.