on 02-19-2014 9:02 AM
Hi Experts,
I have an interface scenario from IDoc to File.
IDoc could generate a dynamic number of files in dynamic folder.
IDoc could generate 3/4/5 files at the following sample directory:
/root/AAA/output.xml
/root/BBB/output.xml
/root/CCC/output.xml
the "AAA", "BBB", "CCC" part comes from the IDoc content.
I've tried Using ASMA to get the dynamic directory, but it seems that all files generated at "/root/CCC/output.xml" the last IDoc content.
Seems that the dynamic Directory value can only be populated once for one Message Mapping.
Is there any workaround to this?
Thank you,
Suwandi C.
Hi,
I've tried Using ASMA to get the dynamic directory, but it seems that all files generated at "/root/CCC/output.xml" the last IDoc content.
Seems that the dynamic Directory value can only be populated once for one Message Mapping.
Yes, that is standard behavior of dynamic configuration in multi-mapping. You need to use variable substitution for your requirement (search in SDN).
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Suwandi,
Another alternative to multi-mapping is to use a file lookup. By defect you can send always the first file with the classical ASMA parameters. For the file 2 to n you can use a UDF or java mapping to send them (File Lookup in UDF - Process Integration - SCN Wiki)
Regards.
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.
Hello Suwandi,
As already pointed out by Mark, it would be better to use "Variable Substitution". Please refer the link:
Regards,
Ankit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suwandi,
We can use Dynamic Configuration for Multi Mapping. As Mark suggested use variable substitution.
Still face any issues please let us know..
Thanks,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.