Deletion of Warehouse Interface Messages

Messages from 'Order Init Stock Msg. Manage' (MHS850) and 'Internal Stock Msg. Manage' (MMS850) in status 90 or higher can be deleted.

The functionality is defined by partner on 'Stock Msg Partner. Open' (MMS865/E). The following two parameters control this behavior:

  • Parameter 235 'Filing/Deletion' must be set to 2-'Delete'
  • Parameter 240 'Days before filing/deletion' must be greater than zero.

To delete records from (MHS850), run program 'Stock Messages. Archive' (MHS894).

To delete records from (MMS850), run program 'Archiving Stock Msg' (MMS894).

Messages are deleted as per partner setup. Messages qualifying for deletion must be in status 90 or higher. The number of days specified in parameter 240 is the number of days that the messages will be retained.

When a message is deleted from (MHS850), all related records in tables MHIHED, MHIPAC, MHILIN, MHISUB, MHIATR are also deleted.

When a message is deleted from (MMS850), all related records in tables MMIHED, MMIIDE, MMIINS, MMISUB are also deleted.

Example:

Partner ABC is set up as below:

235 'Filing/Deletion'= 2-'Delete'

240 'Days before filing/deletion= 1

The message number 0000000123 in (MHS850) is in status 90 with partner=ABC. The message is two days old.

The message number 0000000456 in (MHS850) is in status 90 with partner=ABC. The message is less than one day old.

Run (MHS894).

Result: All message numbers with generated dates older than one day and in status 90 with partner ABC will be deleted.

Message number 0000000123 is one of the messages that will be deleted. Message number 0000000456 will not be deleted since the message does not fulfill the selection criteria of being at least one day old.