Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Handling Generic export formal parameter

Former Member
0 Likes
409

Hi all!

I have method with an export parameter, which is ANY typed. I want to pass this parameter to a generic variable.

So the code is:

my_class->( importing ev_formal_param = lv_actual_param ).

The quesiton is what type  the ev_formal_param and the lv_actual_param should be declared?

Thank you for your help!

Best regards:

Attila

1 REPLY 1
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
376

It can be done this way too.

data:lv type ref to data,

field-symbols:<fs> type any.

ev_formal_param type ref to data.

my_class->( importing ev_formal_param = lv ).

assign lv->* to <fs>.