on-internet
← Community

How to use exporting parameter with type ANY

Stack Overflow ·

I have a incoming deep structure in my recursive method which contains structures and tables, so I'm working with RTTI to check type, loop over it and do my operation, in case I found a specific component. If the current component is a structure or table, then method calls itself. Problem: I import the structure with type any. So far so good. And i want to export it as type any also. And here I struggle. How can I assign my edited deep structure to my export parameter ? METHOD process_input. DATA: lo_type_descr TYPE REF TO cl_abap_typedescr, lo_struct_descr TYPE REF TO cl_abap_structdescr, lv_

Comments

Sign in or sign up to comment and upvote.

No comments yet.