Skip to Content
Former Member
Jul 05, 2013 at 01:18 PM

How to access global constants in User Exit?


Hi All,

I'm working on user exit ZXV50QU01 and I need to access some global constants defined in LV50QTOP.

I know that the function module who calls this user exit can access those global constants. But when I try to use them in ZXV50QU01, I got syntax error "Field ... is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement". If I use "INCLUDE LV50QTOP." in the user exit, I got another syntax error "REPORT or PROGRAM statement already exists".

Could any one tell me how to get access to those global constants in the user exit? (The constants I want to access are of type c.)

Thanks in advance!