How to check duplication in AIF.
Tags:
Three steps for check duplication message
- Define an AIF named check:
Path: SAP Application Interface Framework->Interface Development->Define Checks:
Here, custom message could be assigned.
The table ZTEST_TABLE_V2 also could be master data or transaction data table.
With this check, there are two options:
a) X Check Existence only: then the inbound message must contain data in this table, otherwise stop with error.
b) Check Non-Existence: then the inbound message must not contain data in this table, otherwise stop with error.
2.Define custom table
3.Define structure mapping with AIF named check:
Path: SAP Application Interface Framework->Interface Development->Define Structure Mappings:
4.Test message with exist data in custom table:
In AIF Error Handling:
5.Test message with not existing data in custom table:
Ok.