Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

create object by filter

Hi Folks ,

i got a litle problem with creation of objects.

here's the story about .

iv'e created an interface intf1 with filter and also several different classes that each one of them is implement the interface intf1 .

let's say C1 ...Cn those are the classes .

now i want to create one of them dynamically and therefore i use static function :

CALL METHOD cl_exit_master=>create_obj_by_interface_filter


inter_name = 'INTF1'

method_name = 'LIKE_CONTRUCTOR'

flt_val = filter_value


exit_obj_tab = lt_exit_obj.

inside lt_exit_obj i got back from the function the name of interface and some data but the field "obj" which suppose to be the referance for newly created object is NULL .

does someone have any tips hints or tricks how can this issue can be solved ?

Thx ya all .

Former Member
Not what you were looking for? View more on this topic or Ask a question