Hi Team
i need to read value of field (Check) from the below deep structure ,
HRDATA.STAR_CHEQUE-CHEQUE_FPAYHX-CHECK..
here HRDATA is structure of /1PYXXFO/ZHR_PAYSTUB.
STAR_CHEQUE is table type defined on /1PYXXFO/ZHR_PAYSTUB_____M0030.
CHEQUE_FPAYHX is defined on structure FPAYHX
CHECK is field of char13 field of FPAYHX.
i tried the below code ,
DATA table_descr TYPE REF TO cl_abap_tabledescr.
DATA struct_descr TYPE REF TO cl_abap_structdescr.
DATA columns TYPE abap_compdescr_tab.
FIELD-SYMBOLs
<column> LIKE LINE OF columns.
table_descr ?= cl_abap_typedescr=>describe_by_data( HRDATA-STAR_CHEQUE ).
struct_descr ?= table_descr->get_table_line_type( ).
columns = struct_descr->components.
now i went a level where i see the fields of STAR_CHEQUE are moved to field symbol columns. now how do i read CHEQUE_FPAYHX structure then the filed CHECK?
Please help with this?
Thanks
NK