Skip to Content

LGORT missing or incorect in MARD table.

HI Guys,

I have this situation, i want to return with SAP InfoSteward rule materials (MATNR) that are missing from a specific storage location (LGORT from MARD table). Is it possible to receive a message like material is not on LGORT 1351 or 1321?

The view is created joining MARD, MARC and MARA tables.

Here is the rule definition.

BEGIN IF ($MATKL_Material_Group IN ('TRAYS_CAN'))

BEGIN RETURN $LGORT_Storage_Location IN ('1321');

END

ELSE IF ($MATKL_Material_Group IN ('TRAYS_BTL'))

BEGIN RETURN $LGORT_Storage_Location IN ('1351');

END

ELSE RETURN FALSE;

END

This rule return materials with other locations that are ok, but i need something to say 'missing' from specify location.

short example:

Matnr = 39206 - Material_Group IN ('TRAYS_CAN).

LGORT returned = 1300, 1322,1398 (it's ok to have these slocations).

How can i know if the material is not on LGORT 1321 ?

Thank you very much.

Mihai Berar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers