03-16-2010 9:44 AM
Hi gurus,
I'm working for an user exit and i don't have the possibilities to declare a variable "ref to" class because this class isn't in the global data.
In debug, in the user-exit, i have the value at this reference :
-MY_TABLE[1]-BNFPO = 00010
I need to get this value, but i don't know how get it.
The Object number (O:94*) is variable and change at every new debug session.
The actual solution is an Export/Import with an enhancement.
There is a procedure to get the BNFPO or MY_TABLE in the User-Exit that not have a direct access to the class ?
Thank's.
Angelo.
03-16-2010 10:12 AM
Hi,
you can assign global variables to field symbols using statements like (PROGRAM_NAME)VARIABLE_NAME
FIELD-SYMBOLS <fs>.
ASSIGN ('(SAPLMDR1)G_FCODE') TO <fs>.
I did not try to assign class reference, but it should be in the same way.
Regards,
--
Przemysław