Skip to Content
0

Can anyone please simply this statement.

Jan 20, 2017 at 06:23 AM

29

avatar image

eo_field_catalog ?= cl_abap_tabledescr=>describe_by_data( p_data = it_flight ).

We write this statement in feeder class for list or search GUIBB.

Why wide casting is compulsory and don't we have to do narrow casting before doing wide casting?

Thanks in advance,

Amey

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Amey Atal Jan 20, 2017 at 07:03 AM
0

This is how I simplified it and its working

DATA: lo_ref type REF TO CL_ABAP_TYPEDESCR.
lo_ref = cl_abap_tabledescr=>describe_by_data( p_data = it_flight ).
eo_field_catalog ?= lo_ref.

Share
10 |10000 characters needed characters left characters exceeded