reflection - Can define variables as references to local classes defined in another program? -
i have program zprog1_test define local class lcl_prog1_helper
.
i have second program zprog2_test i'd define variable reference class.
isn't there syntactic possibility me this?
or in theory doable rtti classes cl_abap_classdescr
?
extra
why i'd because have custom form zmm_medruck needs know if me32n document it's printing has been changed not saved. i've figures out exact objects properties need interogate, of them defined @ design time common interfaces, if_serializable_mm
, , need cast them local classes instances know these objects going be, \function-pool=megui\class=lcl_application.
i of course try dynamic method call , not care anything, since i'm here thought i'd ask thing first.
as far know, not possible. accessing local class dynamically easy (well, relatively easy), referring statically - not far know. you'll have call methods dynamically.
Comments
Post a Comment