Hello Expert,
I am using select_options in SAP AMDP. But it is showing the below error:
CLASS ZCL_HANA_AMDP DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES:if_amdp_marker_hdb,
IF_SHDB_DEF.
TYPES: ty_where_t type TABLE OF IF_SHDB_DEF=>TT_NAMED_DREF.
CLASS-METHODS: select_options importing value(iv_where_cond) type ty_where_t
exporting value(et_sflight) type tt_sflight.
PROTECTED SECTION.
PRIVATE SECTION.
DATA : itab TYPE TABLE OF sflight.
ENDCLASS.
Error Details:
The method "SELECT_OPTIONS" contains a database procedure, which means that the row type of "IV_WHERE_COND" must be structured. All components of the row type must be elementary.
Please help me to fix this problem.
Thank you.
Best Regards,
Kailash