Skip to Content
avatar image
Former Member

Ignore errors in AIF

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 27 at 10:13 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Mar 25 at 09:32 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded