Skip to Content
1
Jan 04, 2023 at 11:29 AM

Valid types in DATA inline declarations

34 Views

Sometimes names of data elements look rather cryptic. So i prefer inline declarations like

DATA(lv_sap_object) = CONV toav0-sap_object( 'PRINTDOC' ).

instead of

DATA(lv_sap_object) = CONV saeanwdid( 'PRINTDOC' ).

It works. But I never seen declarations like that in the official reference or demos. Is it allowed?