on 09-14-2009 11:11 AM
Hi All,
I am having an issue in moving the faulty source files to a particular directory. i.e all Successfully processed files are moved to a archive directory, but the file having some data problem is not able to move to another archive directory for errors.
I.e an XML file is generated from asource system and for aparticular field the value that is passed to it is having seom special character which is not recognised in XML ex. -Ø87, which is not accepted in XML and it fails and that loads the server with the archive logs since my polling interval is 10 secs and it is not processing other files in that input directory.
So I want to move this file to another directory and continue with my processing of other files. How can this be done
Pelase help
Regards,
Nithiyanandam
Hi
Besides cheking the option Archive Faulty Source Files and metion the location, you need to use MessageTransformbean.
Transform.PermanentErrors with value true/false with this option you can check the error type.
[MessageTransformBean Fauty Source files|http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
Regards,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nithya,
Are you using Archive faulty message with timestamps mode?
Check this Note 1265534 - Archive faulty files does not work with add time stamp mode
Regards
suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj,
Its not working even if i remove add timestamp option for both archive faulty source file and for normal archive.
the file still resides in the same folder in ftp server. How could we handle those errors incase the file contains thespecial characters like "Ø" symbol wher the XML file doesnot get parsed properly
Regards,
Nithiyanandam
Hi Nithya,
Are you saying that the error files are not getting archived or that they are not going into the correct archive directory (which is the error archive directory)?
as per help.sap.com
To archive source files where a permanent error occurred during processing, set the indicator.
*A permanent error occurs either during the conversion of the file content, or in a module in the module processor.*
Here when the XML is invalid it will not throw any error, because it is not stuck in your communication channel.
Try to follow this link ansd try using MessageTransfomration Bean and see whether it works:
http://help.sap.com/saphelp_nw04/helpdata/EN/57/0b2c4142aef623e10000000a155106/frameset.htm
Regards
Suraj
Hi Suraj,
I am getting an Invalid XML file the error is not due to FCC or module in module processor.
Message are getting error out in CC as
9/14/09 4:29:28 PM e682a319-4de0-4ad2-3a6f-f44302a58b8c Retry interval started. Length: 10.0 seconds
9/14/09 4:29:28 PM e682a319-4de0-4ad2-3a6f-f44302a58b8c Error: com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException
9/14/09 4:29:28 PM e682a319-4de0-4ad2-3a6f-f44302a58b8c Error: com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
So how do we handle this, it creates the error messages becasue of this file alll other files coming later are also not processed.
Regards,
Nithiyanandam
Hi Suraj,
What should be the processing sequence, because I am doing the scenario file to RFC without BPM which already has certain paramters
AF_Modules/RequestResponseBean> Local Enterprise Bean> 1
CallSapAdapter> Local Enterprise Bean>2
AF_Modules/ResponseOnewayBean>Local Enterprise Bean>3
Now added this AF_Modules/MessageTransformBean>Local Enterprise Bean>Transform
Regards,
Nithiyanandam
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.