Hello everyone.
If I call it with the explicit method it works.
CALL METHOD of parent 'Workbooks' = child. " This works
I want to call dynamically methods of OLE objects like this.
CALL METHOD of parent lv_method = child. " This doesn't work
But gives me a CX_SY_DYN_CALL_ILLEGAL_TYPE
The function module interface allows you to specify only
fields of a particular type under "VERB".
The field "LV_METHOD" specified here is a different
field type
SAP documentation says: The ABAP keyword CALL METHOD calls the method m of the object obj. m can be literal or a variable.
In the help there is addionally: The name of the method has to be specified in a character-type data object meth.
Thanks