Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

NEW with dynamic typing

$
0
0

Hi gurus,

 

I was wondering if it was possible to use the new syntax for object creation with dynamic typing.

thus the old statement where iv_classname is a text.

DATA: lo_next TYPE REF TO object.
CREATE OBJECT lo_next TYPE (iv_classname).

This cannot become something like this:

DATA(lo_next) = NEW (iv_classname).

Is this possible?

 

Kind regards,

Wim


Viewing all articles
Browse latest Browse all 8150

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>