Archiving Promotions (LO-MD-PR)

 

Archiving object W_PROMO is used to archive promotions.

 

Promotions serve as a method of changing (usually lowering) prices on certain merchandise in order to boost sales. Promotions always have a specific validity period; after the promotion end date, prices automatically revert back to the normal price, so it is no longer necessary to keep the old data.

This archiving object allows you to back up outdated promotion data to an external storage device and delete it from your active system to free up space.

Note Note

If you have activated the business function set Retail , you must use the archiving object W_PROMO_AD instead of W_PROMO.

End of the note.

To archive a promotion, choose the following from the Retail menu: Start of the navigation path Master Data Next navigation step Promotion End of the navigation path and then Start of the navigation path Promotion Next navigation step Archiving Next navigation step Archive promotions End of the navigation path.

To display promotion data that has already been archived, choose the following from the Retail menu: Start of the navigation path Master Data Next navigation step Promotion End of the navigation path and then Start of the navigation path Promotion Next navigation step Archiving Next navigation step Display archive End of the navigation path.

Structure

Archiving object W_PROMO includes all data for a given promotion. It consists of the following segments:

  • WAKH: Promotion header data

  • WAKT: Promotion description (short text)

  • WAKP: Promotion item lines

  • WAGU: Assignment of site groups to the promotion

  • WALE: Assignment of materials to sites

  • WAZB: Assignment of assortment modules to site groups

  • WAZW: Assignment of product catalogs to the promotion

  • WAZT: Assignment of themes to the promotion

  • WAKC: Assignment of coupons to the promotion

  • WAKHIND: Index table for conditions

  • WAAL: Assignment of vendors to the promotion

  • WAKR: Special Offer Discounts

  • WAKRW: Promotion Discounts by plant

In addition, the NAST records which were created for promotion notification messages are also archived.

The long text for a promotion (header data and item line data) is archived via archiving class TEXT.

Change documents for the promotion are archived via archiving class CHANGEDOCU.

You can use the following programs to archive promotion data:

  • W_PROMO_ARCH_WRITE: To select and write data to an archiving file

  • W_PROMO_ARCH_DELETE: To delete data from the database (after it has been written to an archiving file)

  • W_PROMO_ARCH_READ: To display data in the archive

Integration

ILM-related Information for the Archiving Object

The SAP Information Lifecycle Management (ILM) component supports the entire software lifecycle including the storage, retention, blocking, and deletion of data.

SAP Retail provides ILM objects that enhance archiving objects with the information for data retention. For more information, see ILM Objects in SAP Retail.