on 08-23-2013 9:11 PM
Hi All,
I have this scenario.
R3 Generates
File_A.txt
File_B.txt
File_C.txt
File_D.txt
And I have to pick up and send to an FTP only one with the name FILE.txt but if a file exits in FTP (Legacy) I dont have to overwrite it.
Example:
R3
File_A.txt
File_B.txt
File_C.txt
File_D.txt
Legacy
FILE.txt --> does not exits and I will create it with content of File_A.txt
So, I dont have to send other ones (File_B.txt File_C.txt File_D.txt)
Any idea how to do it?
Thanks!
Cerbero.
Hi Cerbero,
To process multiple files into single message, you need to use ccBPM.
See below example for 2 files:
http://saptechnical.com/Tutorials/XI/BPM/Fork1.htm
For the requirement of not overwriting, see below:
Select the File Construction Mode.
○ Create
The file is created. The document received last is saved in each case.
If you want the created file to be overwritten, set the Overwrite Existing File indicator. If you do not set the indicator, processing is stopped until the created file is processed.
Regards,
Nabendu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for your coperation.
@Nabendu, with your help, I found the option APPEND.
Select the File Construction Mode.
○ Append
So, I pick up several files, and I create only one appended.
Thanks!
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cerbero,
As Naveen and Ambrish said if you only need the first source file you can do a simple scenario File to File, and if you dont need any transformation of the data file you can do it without ESR development (http://scn.sap.com/message/10868977#10868977)
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
--->So, I dont have to send other ones (File_B.txt File_C.txt File_D.txt)
Do you want to skip those files (File_B.txt File_C.txt File_D.txt)??
Regards,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cerbero,
What file name File_B.txt File_C.txt File_D.txt have to be written with ? Same as source ?
Can u elaborate on your requirement pls.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.