Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8843

Re: How to access to dynamic data's structure before runtime?

$
0
0


Hi Raj,

 

You have dynamic data but you are trying to access them in a static way.

First option, use field-symbols. and assign

 

DATA: dref TYPE REF TO DATA.
TYPES: booking TYPE sbook.
FIELD-SYMBOLS: <fs> TYPE ANY.

CREATE DATA dref TYPE booking.
ASSIGN dref->* TO <fs>.

 

Regards.

 

JCD


Viewing all articles
Browse latest Browse all 8843

Trending Articles