on 02-26-2018 2:49 AM
Hi Experts,
I have got a requirement to ignore errors in AIF.
The situation is like, the user check error data and confirmed that this error can be ignored, just create the data directry from input file.
For example, inport sales document data and create sales document in SAP, and if the amount is over 10000, the record will be an error.
I have enabled this by using Interface Variant function.
I have created a field "ignore flag" to RAW structure and set the field as a interface key field.
So that when the flag is 'X', there is no check and the data just go through strait to Action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I dont think that there is a built in mechanism for that. But i could imagine that you can add a field to the source data and make it editable by the user. The field is empty initially and if it is the checks are executed but once it is filled by a user in /AIF/ERR and the message restarted all previously failed checks should pass. You could name it "override_checks" or something like that.
Another approach would be to implement a custom engine that "upon restarting a message" asks the user whether it should override the checks or not and if the user confirms it can set the additional field and restart the message.
You would have to adjust your checks to take that new field into account in both cases.
Both approaches are not particularly pretty but should allow you to implement the requirement.
If you find another approach please share 🙂
Kind regards
David Rittinghaus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.