on 12-09-2008 9:13 AM
Hello,
I have a flat file scenario: flat -> XI -> flat.
I have configured the sender channel for archiving messages after processing and it work fine.
But what i want to do is :
if the message is processed succesfully i want to archive the send file in the directory "c:/sucess" and if the message is processed on error (for example due to a mapping error) i want to archive the send file in the directory "c:/error". For the moment i don't see if it's possible, all the file successfull and on error are archived in the same directory.... Is it possible to use 2 directories for archiving ? One for success, second for error ?
Thanks in advance.
Hi
You can Archive or Delete message, But can not Archive Processed files.
http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/80553b4d53273de10000000a114084/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We can do through UDF. If mapping is success automatically file will be move to archive, this option is available in channel. In mapping check field level condition if condition is success pass value to receiver side else generate error file from UDF and pass to corresponding folder directly from mapping. Once of my requirement i have done like that, with this configuration we can get success and error files also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for Archive mode, please check these things in Sender Communication Channel :
1. Processing Mode is Archive
2. Archive Directory path is correct.
3. In Advance Tab : Set Adapter-Sepcific Message Attribute is Checked.
Filename, direcotry, filetype are also Checked.
You have one option on Processing Tab : Archive Faulty Source File, Please use the same.
Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is not possible via the standard way in XI to archive a file if it encounters a mapping error.
The only way is Archive Source Files with Errors i.e during the processing of the file at the Adapter level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.