Quantcast
Channel: SCN : Popular Discussions - SAP Business Rules Management
Viewing all articles
Browse latest Browse all 1717

How to retrieve the BRF+ function result data object of type table in ABAP

$
0
0

Hi Tiwari,

This is in continuation to How to retrieve the BRF+ function result data object of type table in ABAP question which already posted

I couldnt search my question posted in the forum in the new SCN site regarding "How to retrieve the BRF+ function result data object of type table in ABAP"...

If i could find that i will close that thread...

data lv_typename TYPE TYPENAME.

data lv_data_object_type TYPE IF_FDT_TYPES=>DATA_OBJECT_TYPE.

Data: lo_data_object type REF TO if_fdt_data_object,

lo_instance TYPE REF TO if_fdt_admin_data.

cl_fdt_factory=>get_instance_generic( EXPORTING iv_id = '00163E7EE2161ED19ABFD46926B1133E' 

IMPORTING eo_instance = lo_instance ).

TRY.

lo_data_object ? = lo_instance.

catch CX_SY_MOVE_CAST_ERROR.

ENDTRY.

 

* Check, whether data object of type E/S/T

lv_data_object_type = lo_data_object->get_data_object_type( ).

 

if lv_data_object_type eq 'T'.

lv_typename = lo_data_object->get_ddic_binding( ).

endif.

 

As you mentioned i used the above code...But i am getting Move_cast_error exception....While using this statement lo_data_object ? = lo_instance.

Please advice...

 

 

Regards,

Dheepak...


Viewing all articles
Browse latest Browse all 1717

Trending Articles



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