on 08-06-2009 8:55 AM
Hi,
We're setting up the following flow:
PI transfers files to directory, puts the filename into a table with a date, etc.
On requests from R/3 specific files should be sent to R/3, though they should pass over PI so we have monitoring, we can't just copy the files from directory to directory using some ABAP coding ... What I was thinking of doing is making a second File Sender CC and then when R/3 requests a specific file, change the selection of the CC to be equal to the filename, so just that filename is transferred.
Is this possible? And how?
Kind regards,
Frederik-Jan.
Using a workaround
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think wht u need is to maintain the filename when it is send from source to target. is it so?
Do refer these blog so that you will have an idea its relatively very simple and can be achieved with just one CC
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
/people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I didn't explain myself correctly, I'm not interested in mainting the filename.
I'll give an example:
I have a directory with three files:
file1_20090101.xml
file2_20090101.xml
file3_20090101.xml
I want to pick up JUST file2_20090101.xml without touching or moving the other two files.
That file I want to send to another directory.
So the result will be:
file1_20090101.xml
file3_20090101.xml
How would I go on implementing that? I was thinking of changing my File Sender CC to just pick up files with the following name: file1_20090101.xml. But how do I change it at runtime?
Kind regards,
Frederik-Jan.
I'm just going to use a work-around as it is impossible to change CC settings at runtime.
I'm going to have a second folder where I pick up everything, and use an ABAP Function Module to move the file from the original directory to the second folder where I pick up everything. That should mimick the functionality I need.
Kind regards,
Frederik-Jan.
Hi Fredrick,
I guess there is no straight forward way to acieve this. You may try something like this:
1. RFC will provide the Filename to XI and correspondingly XI needs to read and move (or write the same files again) to some separate directories.
2. Do the required mapping on the moved files.
Regards
Suraj
Hi,
Your requirment is not very clear to me. But in case you want to have 2 sender File cc then configure two file sender service.
and accordingly configure the senerio in ID.
Regards,
Shweta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.