on 09-30-2009 9:32 PM
We have an issue in moving the faulty source files to a particular directory.
We could move all successfully processed files to an archive directory, but not able to move the error files (having some data issue) to another archive directory, so that we can continue with processing of other files.
Module used:
AF_Modules/MessageTransformBean --> 1
Parameter:
Transform.PermanentErrors --> true
But this is not working.
I see a similar thread which is not answered:
Your inputs are appreciated.
Hello
Check note #1265534 Archive faulty files does not work with add time stamp mode. Is this relevant to your configuration?
Regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what is the specific error you are getting?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I actually have two scenarios:
1. Asynchronous
2. Synchronous
In Asynchronous; best part is, all files are getting processed, in spite if there are any erroneous files in between, at least it continues with next file. My problem here is, it archives all successful and error files to the same Archive directory; though I have mentioned different directory for u2018Faulty Source Fileu2019. And there are no errors when I see in the CC monitoring. But there is error in sxmb_moni (actually I have failed it intentionally)
Runtime exception occurred during application mapping com/sap/xi/tf/_CreateProductMaster_to_CreateProdu~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:The element type "Products" must be terminated bythe matching end-tag "</Products>".
In Synchronous: If there are any error files in between: it never go to the next file, it is stuck in the same file and retries the same. And error in CC monitoring is:
Error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Application:EXCEPTION_DURING_EXECUTE:
In sxmb_moni
Runtime exception occurred during application mapping com/sap/xi/tf/_CreateProductMaster_to_CreateProdu~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:The element type "Products" must be terminated bythe matching end-tag "</Products>".
when you say a faulty file, the file should have failed processing in the adapter level itself i.e it should not get passed further into the integration engine.
only then the parameter will work and archive the file
from sap help;
13. To archive source files where a permanent error occurred during processing, select Archive Faulty Source Files.
A permanent error occurs either during the conversion of the file content, or in a module in the module processor.
More information: Adding MessageTransformBean in the Module Processor
u25CB Specify the Error Archive Directory.
u25CB To add a time stamp to the archived file, select Add Time Stamp.
>> if there are any erroneous files in between
based upon what parameters you decide if the file has error or not?
Since "Archive faulty file" works on Java stack,it will only archive files which have error in FCC or in module.
any other error (wrong XML,missing values etc ) won't be considered as error (since they are caught in message mapping on ABAP stack).
>>In Synchronous
How are you doing synchronous scenario with file adapter?
Thanks
Aamir
Edited by: Aamir Suhail on Oct 1, 2009 9:22 AM
Yes in synchronous the file did fail at the adapter level
and i have already applied the below at my sender file adapter:
13. To archive source files where a permanent error occurred during processing, select Archive Faulty Source Files.
A permanent error occurs either during the conversion of the file content, or in a module in the module processor.
More information: Adding MessageTransformBean in the Module Processor
u25CB Specify the Error Archive Directory.
u25CB To add a time stamp to the archived file, select Add Time Stamp.
also in synchnous i had the below parameters:
AF_Modules/RequestResponseBean> Local Enterprise Bean> 1
CallSapAdapter> Local Enterprise Bean>2
AF_Modules/ResponseOnewayBean>Local Enterprise Bean>3
Now added AF_Modules/MessageTransformBean at the top.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
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.