on 04-05-2019 11:07 AM
Hi All,
I have a requirement to archive faulty files in /error folder on SFTP server and successful files in /archive folder.
Archiving faulty files
Archiving the files on SFTP server
But the faulty files are moving to /error folder as well as /archive folder and I want faulty files to be in /error folder only.
Is this requirement can be achieved or it is default behavior of SAP PO that it will always archive error file in /archive folder if it is configured.
Regards,
Shankul
Hi Shankul,
The normal archiving options does not limit the archiving to success scenarios, as soon as file is polled it is first archived into "ARCHIVE" folder, then when engine realizes it is faulty file then archives one more copy into "ERROR".
You can't do this with standard options. If it is must to do ( i recommend to convince to not make it more complicated), then do it with another sftp channel in receiver which sends file to ARCHIVE directory whenever success. so 2 receivers one normal and one to archive. very lame solution better don't go for it 🙂
Regards,
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shankul,
I think there is no Archiving parameter %TS for SFTP, it is %TIME. May be the adapter is ignoring the wrong one and putting back the faulty files to both directories.
And try to remove the "-" from the directory path.
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shankul,
I'm not much experienced in working with SFTP adapter, but don't check "Delete file" option on the Processing tab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.