Fonction SAP WAUF_DISPATCHERRULE_SEARCH -

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IM_AKLAR KLAH-KLART C 3
IM_AUFGR KLAH-CLASS C 18 SPACE X
IM_AUGR_SW 0 SPACE X
IM_FILKL KLAH-CLASS C 18
IM_MATNR MARA-MATNR C 18 X

Paramètre Reférence Long. Facultatif Description
T_HINWEISE RW014A 185
T_T624 T624 37

Exception Description
AUGR_IS_NOT_CLASS
CLASS_INKONSISTENZ
LOCGR_IS_NOT_CLASS
MATNR_NOT_FOUND
NO_AR_ENTRY_FOUND
NO_AUGR_INPUT
NO_CLASS_FOR_MATNR


Dispatcherrule_search - find allocation rule
INPUT:
1. Material
2. a. Allocation group type (material class type from ISR materialmaster)
b. Allocation group (material class from ISR material master)
3. Switch -Material group data - set (-/X)
4. a. Store group type (store class type)
b. Store group (store class)
OUTPUT:
1. Set of allocation rules (the default ID first)
2. Set of messages
PROMOTION:
IF Switch article group data set
THEN check article group data from parameter
EW
IF article group entered
THEN find control entries for mateial and store parameter
EW
IF NOT found
THEN read article class hierarchy
LOOP at material class hierarchy for material
Filter description structures;
Find control entries for article class and store paramter;
ENDLOOP;
EW