on 03-25-2015 4:40 PM
Hi SDNites,
I have a scenario in which my sender IDOC generates multiple files which is happening absolutely fine. But each file should have a unique name which will be decided based on the 2 payload parameters. I have to use one payload parameter as it is and the other I don't need to use the same in file name and have to use a corresponding defined value.
For ex: If Payload has,
1. Parameter 1 as 123 and parameter 2 as Test 1 then I have to create file name with 123_ABC. (Test 1 = ABC)
2. Parameter 1 as 789 and parameter 2 as Test 2 then I have to create file name with 789_PQR. (Test 2 = PQR)
I have this mapping detail with me. Based on my understanding we cannot use Variable Substitution as the parameter2 cannot be used directly to create File name. So I have created a UDF implementing Dynamic Configuration but somehow in the Filename I always get the last value which I have read for Parameter 1. Based on above example, 2 files generated are coming with File name as 789_ABC and 789_ABC. Can you provide your suggestion on the above.
Regards,
Abhi
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.