Skip to Content
0
Former Member
Jun 04, 2009 at 11:38 AM

Dynamic object assignment

109 Views

Hello experts,

Please let me know how i can achieve this dynamically

Data:go_pdfmail TYPE REF TO if_inbound_exit_bcs.

go_pdfmail = Zxxx=>if_inbound_exit_bcs~create_instance( ).

as you can see above Zxxx is the class ,now above code i need to make dynamic such that

class name will be determined at run time ,method will be constant(if_inbound_exit_bcs~create_instance( ))

How can i achieve this.

Best Regards,

Sanju