SAP Message WRF_WLAY136 - An error occurred during material exclusion (see long text)

Diagnosis
A variant is to be used to exclude a material, even though the materialis not assigned to the version.
The error occurred in layout moduleV3 version v4 variant v2 for materialV1.

System Response
INCLUDE ISR_STOP

Procedure
First assign the material to the layout module version and then excludeit.