‎2021 May 19 2:22 PM
Hi,
I've an error E28038 "Numerical expression is expected here".
How can i solve this error ?
Here is the code :
--------------------------------------------------------------------------------------------------------------------------------------
*To install a dimensional limit for a swimming pool (maximal width and lenght) when it's a particular model
*is choosen in RESTRICTION
*If the dimensions are out of the size range specified in CONDITION then SAP doesn't accept the dimensions
OBJECTS:
res is_a (300)cl_swimming_pool
CONDITION:
( res.LENGHT in ('1000' , '10000')
and res.WIDTH in ('1000' , '5000') )
.
RESTRICTIONS:
*this coding means the selected swimming pool serie is 'Garden' and the 'model' is 'Atlantic'
if (
res.SERIE = 'Garden' and
res.MODEL = 'Atlantic'
).
FALSE.
--------------------------------------------------------------------------------------------------------------------------------------
‎2021 May 20 10:59 AM
The error was here
( res.LENGHT in ('1000' , '10000')
and res.WIDTH in ('1000' , '5000') )
It is a lenght and width range and the correct code is
( res.LENGHT in (1000 - 10000)
and res.WIDTH in (1000 - 5000) )
‎2021 May 20 10:59 AM
The error was here
( res.LENGHT in ('1000' , '10000')
and res.WIDTH in ('1000' , '5000') )
It is a lenght and width range and the correct code is
( res.LENGHT in (1000 - 10000)
and res.WIDTH in (1000 - 5000) )