on 04-24-2014 10:24 AM
Hi Experts,
I have come across File to File scenario(NFS) where I have to serve 2 purpose in one scenario using single receiver communication channel as the client have more than 40 plants.
1. I need to copy the file from source directory to target directory without creating the mapping objects.
2. based on source file name the target directory path will be the 'target directory + First 4 character of source file name i.e.(Plant name)'.
I am able to achieve the First requirement, can any one tell me how to achieve Second requirement.
Thanks in advance.
Ragards,
Gopi
Thanks Inaki Villa/ Anupam Ghosh,
I have seen these threads but as I am new to SAP PI and from ABAP Background I was hoping to have standard module to achieve this.
I will try both the ways mentioned in the threads that you have provided.
Regards,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inaki Villa/ Anupam Ghosh,
Thanks for your previous reply. I was busy with some other WS related task.
I have gone through the thread which uses java code to dynamically set the Target Directory.
'Dynamic file name for pass-through scenario - Process Integration - SCN Wiki'.
But the mentioned JAR files are not available on our clients PI System (PI 7.0) I tried by importing the required JAR files from other system but it was giving some error. So I decided to go with ABAP Mapping and I am quite successful in setting the target directory. I am able to view the Target Directory and Target File name in 'DynamicConfiguration' in SXMB_MONI.
But it is not over writing the 'Target Directory' path mentioned in Receiver Communication Channel.
Could you please help me in this? Do I need to set anything else?
Regards,
Gopi
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 |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.