on 02-07-2011 5:16 PM
Hi Gurus,
I have a multiple IDOCs to one file interface, and for collecting IDOCs I'm using BPM with correlation.
For filename, I need it to be called as "file1.txt" if there is text "1" in an idoc field, or "file2.txt" if there is text "2" in same field.
I created a variable in mapping with condition for filename but it is not working, it is always creating the same filename.
Is there other way to have 2 different filenames with a BPM with correlation in the same interface?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chapa_akd,
Yes it is possible.
To achive dynamic file name you can use one of the two options
1. Dyanic configuration, need to use UDF in Message Mapping [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm]
2. Variable substitution, if target XML structure has element which can be used to define target file name [Link2|http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6a316af5a23672e10000000a114a6b/frameset.htm ]
I am curious to know, why are you using BPM collect pattern to collect IDOC's? Is it possible to use IDoc Packaging [Link3|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/17573] [original link is broken] [original link is broken] [original link is broken]; [Link4|http://help.sap.com/saphelp_nwpi711/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm]
Regards,
Raghu_Vamsee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.