Programme SAP WVXPRA01 - Convert Old Table TWPKO to New Table TWEGO

Description
This conversion program converts entries in the old table TWPKO (theassignment of pricing data to distribution chain/material group), whichcannot be used as of Release 1.2A1, to the new table TWEGO (price pointgroup assignment).
In the new table TWEGO, which can be found by choosing CentralCoordination -> Sales -> Pricing -> Assign Price Point Group to Org.Level/Material Group in the Retail Implementation Guide (IMG), youcan assign price point groups to a combination of distribution chain,material group, price list, price point currency and price pointcategory.
For each entry in TWPKO this conversion program generates two entriesin TWEGO (with price point category 01 and price point category 02).
First entry:

  • TWEGO-VKORG = TWPKO-VKORG (sales organization)

  • TWEGO-VTWEG = TWPKO-VTWEG (distribution channel)

  • TWEGO-MATKL = TWPKO-MATKL (material group)

  • TWEGO-PLTYP = ' ' (price list)

  • TWEGO-WAERK = TWPK-WAERS (currency)

  • TWEGO-EPTYP = '01' (price point category)

  • TWEGO-EPRGr = TWPKO-EPRGR (price point group)

  • Second entry:
    • TWEGO-VKORG = TWPKO-VKORG (sales organization)

    • TWEGO-VTWEG = TWPKO-VTWEG (distribution channel)

    • TWEGO-MATKL = TWPKO-MATKL (material group)

    • TWEGO-PLTYP = ' ' (price list)

    • TWEGO-WAERK = TWPK-WAERS (currency)

    • TWEGO-EPTYP = '02' (price point category)

    • TWEGO-EPRGr = TWPKO-EPRGR (price point group)

    • The system determines the price point currency (TWEGO-WAERK) here byreading the check table for the price point groups (TWPK).

      Output
      The start and end times of the conversion are entered in the log. Thefollowing situations are also logged (as warning messages):

      • The price point group that is assigned in the old table TWPKO does not
      • exist in check table TWPK
        • An entry intended for inclusion in the new table TWEGO already exists
        • there