About refresh on WBP

About refresh of unit please check the page below :

Unit of measure / Quantity unit / UOM -> RSIMPCUST

Conversion Unit C_MATNR2 - UOMCMAT2 - Specific rules

The recursive transformation TSRF : UOMCMAT2 -> UOMCMAT2 (recursive) add conversion factors to missing units : KG / LB / TO / VKG / VTN

Program Steps

  1. Generate a matrix of unit per LogSys/Material/BuoM


    KG UnitKG NomKG DénTO UnitTO NomTO Dén1KG Unit1KG Nom1KG Dén...
    WP1/Material 1/KGKG1.0001.000TO1.000.0001.000


    ...
    WP1/Material 2/KGKG1.0001.000


    1KG1.000277...


  2. Add KG unit
    1. Read TO unit if available
    2. Read LB unit if available
  3. Add TO unit
    1. Read KG unit if available
    2. Read LB unit if available
  4. Add LB unit
    1. Read KG unit if available
    2. Read TO unit if available
  5. Add VKG unit
    1. Read by priority VTN > 1KG > 1TN > KGW > TOP > KRE > KG > TO if available
  6. Add VTN unit
    1. Read by priority VKG > 1KG > 1TN > TOP > KGW > KRE > KG > TO if available

A Unit has only one internal code and is corresponding to one or more external code (country specific display and other reasons ...)

For example :

  • KGW (Internal) is corresponding to KAI / KMA / KGR ... (External)
  • TOP (Internal) is corresponding to AIT / ... (External)

Only the Internal code need to be check during the process.


Example of conversion bloc.

Legend:

**** Add VTN
      IF <FS_MAT_UNT>-unit_VTN IS INITIAL.
        l_SOURCE_PACKAGE-UNIT 'VTN'→ Initialize the unit to add
        l_SOURCE_PACKAGE-record lv_tabix + 1. → Change the record number
        IF <FS_MAT_UNT>-unit_VKG IS NOT INITIAL→ Check if the corresponding Unit is filled in the matrix
          l_SOURCE_PACKAGE-uomz1d <FS_MAT_UNT>-uomz1d_VKG * 1000→ Nominator (* factor if necessary)
          l_SOURCE_PACKAGE-uomn1d <FS_MAT_UNT>-uomn1d_VKG→ Denominator (* factor if necessary)
          APPEND l_SOURCE_PACKAGE TO SOURCE_PACKAGE→ Append in Result Package
          <FS_MAT_UNT>-UNIT_VTN l_SOURCE_PACKAGE-UNIT→ Update the matrix
          <FS_MAT_UNT>-uomz1d_VTN l_SOURCE_PACKAGE-uomz1d→ Update the matrix
          <FS_MAT_UNT>-uomn1d_VTN l_SOURCE_PACKAGE-uomn1d. → Update the matrix
        ELSE/ENDIF.  → Next unit in the priority list or end of process

SKU vs RU (VKG) 

SKU = Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased / sales in business. It bases on material master

RU   = Reporting unit, it is a conversion unit called VKG, which used for displaying as of product 100% and reporting in order to align unit of measure to calculate sub total
For example, material 35077 (H2O2 AG-BATH-350)
At material master (MM03), it shows KG is Base Unit of Measure, which will be SKU 
In order to converse to RU (VKG), go to 'Basic Data Text' on 'Basic data 1' tab
Go to 'Units of measure' tab, at row AUn = VKG, it shows calculation between VKG and base unit of measure in this case is KG
It means 1000 KG (SKU) of H202 AG-BATH-350 (35077) equals to 350 VKG (RU), which contain 350 KG of H2O2 and mix with something else like water 750 KG for example. 
See below a technical documentation about the routines that load data in UOMCMAT2, including a recursive transformation used to load special units like VKG and VTN.
See below example about the end routine of recursive transformation to load special unit like VKG and VTN: