SAP Program CRM_MKTMSA_CHECK_AUSP - Comparison AUSP and SMOAUSP

Purpose
This report checks tables AUSP and SMOAUSP for correctness. First aloop is made via AuSP. A check is made for each record to see if thereis a corresponding record in SMOAUSP. If not, a record is issued in theerror log with key '1'. The record is also saved in the help tableZSKI_SMOAUSP2. Additionally a check is made for each record to see ifthere is a corresponding record in KSSK, if not an error record iswritten with key 2 and the record is written in table ZSKI_AUSP2.
In the second step a loop is made via SMOAUSP:
- Check if record is available as duplicate in SMOAUSP. If yes -> writeerror record with key 3,
Include in table ZSKI_SMOAUSP2
- Check if record available in AUSP. If not -> write error record withkey 4,
Include in table ZSKI_SMOAUSP3
- Check if record available in SMOKSSK. If not -> write error recordwith key 5,
Include in table ZSKI_SMOAUSP3