on 02-11-2009 10:13 AM
Hi all,
I'm getting an idoc in a BPM and there's a field with a file name, which is the one I have to read in the following step.
I'm not sure this is possible, but I'd like to hear from the PI community...
The problem is that in the usual FTP sender comm channel, I have to specify in configuration time the folder and the pattern of the file names to be read. And in my scenario I only know that in execution time (that's possible when the FTP channel is receiver though).
Thanks
Hi Jorge,
if you have a certain number of possible file names, you could create for each file name one adapter and activate it by http message, see William's blog: [Control Communication Channels Externally without using RWB|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6456] [original link is broken] [original link is broken] [original link is broken];
If you dont know the file names before you could could try to configure the adapter with ABAP from a ABAP proxy, looks a bit comlex see Allesandro's blog: [Using the Communication Channel Web Service with ABAP: A Sample Report|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11633] [original link is broken] [original link is broken] [original link is broken];
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Udo,
that answers my question, I didn't know that the comm channel was exposed as a web service, so you can access to it and modify it in execution time.
Anyway I'm afraid that that solution won't be feasible in my scenario, as PI will be getting thousands of idocs. There will have to be some functional changes.
Jorge
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oops!! I misunderstood it
At sender, neither of them would work. In fact, there is no other direct options at sender. You have to specify the filename. As Udo suggested, you have to create multiple channels.
Still if you could explain your BPM configuration, some solution may turn up. You said you are receiving Idoc in BPM and a file too?
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have the filename in receiver side payload too, then you may use variable substitution. If in case you have data only at sender side, you may use Dynamic Configuration.
/people/sravya.talanki2/blog/2006/12/20/accessing-system-parameters-in-mapping-runtime
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.