cancel
Showing results for 
Search instead for 
Did you mean: 

Ignore errors in AIF

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

0 Kudos

That sounds like a good idea. Better than including the override into the check. Thanks for sharing.

0 Kudos

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

Former Member
0 Kudos

Thank you for the answer David!

Seems like adding field for override check looks like the most simple solution.

I will check each interface related requirements from the customer and think which solution is suitable.

Best regards,

Yoko