2.12.10

SAP Note 10963 - Quy/schedule reliability w. variances > 100 % .antit

Symptom

    1. The statistics (S012/S013) are updated with the value 0 for purchase order items which have a quantity variance of more than 100% or a schedule variance of more than 100%.
    2.
    Quantity reliability:
    If the assignment of a points score to 99.9% variance is missing (Customizing of the vendor evaluation 'Points scores for automatic criteria'), then purchase orders that are subject to extremely poor performance are not rated, so that an existing rating does not become worse.

    Schedule reliability: If the allocation of a points score to 99.9% variance is missing (Customizing of the vendor evaluation 'Points scores for automatic criteria'), then purchase orders subject to poor delivery performance are rated with the value 0.
    3. Abnormal termination in SAPLEINS LEINSF02 in routine LIS_WE_3 at the point H-PROZ = F1.
Cause and prerequisites
    1. Wrong CHECK in SAPLEINS, module LEINSF02
    2. The rating is only carried out if an entry exists in T147K, so that the value would still be the initial 0 in the above case.
    3. Large variances may lead to a field overflow.
Solution
K11K091865 - quantity reliability
S11K145767 - schedule reliability

Module LEINSF02:
---------------
FORM LIS_WE_1
...
...
* Prozentuale Abweichung -----------------------------
CHECK F2 GT 0.
F1 = F1 / F2 * 100.
* CHECK F1 LT 100 AND <--- Delete
* F1 GT -100. <--- Delete
IF F1 GT '99.90' OR F1 LT '-99.90'. <--- New
H-PROZ = '99.9'. <--- New
ELSE. <--- New
H-PROZ = F1.
ENDIF. <--- New
VRT-TEMNG = VRT-TEMNG + H_MENGE.
* Punktwert zur prozentualen Abweichung ------------
...
...
ENDSELECT.
IF SY-SUBRC NE 0. "Bei großen Abweichungen <---New
VRT-TEPKT = VRT-TEPKT + H-MENGE. "schlechteste Bewertung <---New
ENDIF. <---New

ENDFORM.
...
...

FORM LIS_WE_3.
.
*- Punktwert zur Mengentreue ------------------------------------------*
IF LIBE NE SPACE.
IF XMCEKPO-MABW GT '99.90' OR XMCEKPO-MABW LT '-99.90'. <--New
H-PROZ = '99.9'. <--New
ELSE. <--New
H-PROZ = XMCEKPO-MABW. <--New
ENDIF. <--New
* CHECK F1 LT 100 AND <--Del
* F1 GT -100. <--Del
* H-PROZ = F1. <--Del
IF F1 LT 0.
...
SELECT * FROM T147K WHERE EKORG = T147-EKORG
...
ENDSELECT.
IF SY-SUBRC NE 0. "Bei großen Abweichungen, die nicht <--New
XMCEKPO-PWMT = 1. "in T147K def. sind, wird die <--New
ENDIF. "schlechteste Bewertung gesetzt ! <--New
ENDIF.
...
ENDFORM.

Only for Release 3.0 'Confirmation reliability'
----------------------------------------------

FORM LIS_AVIS.
...
...
*- Prozentuale Abweichung -------------------------
CHECK F2 GT 0.
F1 = F1 / F2 * 100.
* CHECK F1 LT 100 AND. <---Delete
* F1 GT -100. <--- Delete
IF F1 GT '99.90' OR F1 LT '-99.90'. <--- New
H-PROZ = '99.9'. <--- New
ELSE. <--- New
H-PROZ = F1.
ENDIF. <--- New
VRT-TEMNG = VRT-TEMNG + BT-DABMG_NEU.
*- Punktwert zur prozentualen Abweichung -----------
...
...
ENDSELECT.
IF SY-SUBRC NE 0. "Bei großen Abweichungen schlechteste
VRT-TEPKT = VRT-TEPKT + BT-DABMG_NEU.
ENDIF. "Bewertung setzen !
ENDLOOP:

...
...

Key word: LIBE/ME61/LIS

No comments:

Post a Comment