Archiving POS IDocs 

Use

SAP Retail uses IDocs to exchange data between the SAP system and the POS converters. SAP Retail saves files in the file system of the system concerned. However, the recipient (depending on direction of transfer, this is either the POS converter or the SAP system) deletes these files after that have been transferred to the database. Therefore, these files do not need to be archived.

However, IDocs remain in the SAP system database even after they have been processed completely. This applies to both POS inbound and outbound processing.

Integration

Object name: IDOC

Prerequisites

You should only archive IDocs that have been processed completely.

You can determine if IDocs have been processed completely using the following procedure:

IDocs that have been processed completely have status 53.

If the system reports errors for an inbound IDoc, you can go into the POS monitor and reject the parts of the IDoc that contain errors. If you re-process the IDoc, the IDoc will be assigned status 53.

If an IDoc has been completely processed, this is recorded in the POS profile. To activate this, see the Implementation Guide (IMG), Sales and Distribution ® POS Interface Outbound ® Maintain POS Outbound Profile. The Communication status ok profile field defines that processing has been completed for your IDoc.

Depending on the volume of data, you should archive all IDocs on the database if processing has been completed and, for example, if the data is older than a week.

You cannot reverse any transactions in IDocs that have already been archived.

Activities

See Archiving Procedure