Skip to Content
-1
Jul 31, 2020 at 11:06 AM

No type can be derived from the context for the operator 'VALUE'.

1309 Views

Hi All,

I have recently came across a syntax error in production that did not happened in dev or qa.

1. Declare a standard table type gty_t_type (of char20) in my class.

2. Create method A with importing parameter iv_param type gty_t_type.

3. Call class=>method A( exporting iv_param = value #( ( 'xxx' ) ( 'zzz' ) ).

The code compiled fine in dev and qa. What would have caused it to fail in production?


Thanks !

ck