Dear experts
How can read the content of following table, field “FIELD_VALUE_PAIR_TAB?
For this I am using (1) LOOP ….
LOOP AT lt_ecpayloadtab_ws3 INTO ec_payload_wa3.
And then .(2) READ TABLE …..
READ TABLE ec_payload_wa3-field_value_pair_tab .......
I have done this
ASSIGN pnnnn_primary_tab TO <lfs_p0105>.
LOOP AT <lfs_p0105> ASSIGNING <lfs_wa>.
ASSIGN COMPONENT 'SUBTY' OF STRUCTURE <lfs_wa> TO <fs_subtipo>.
CHECK <fs_subtipo> = '0001'.
LOOP AT lt_ecpayloadtab_ws3 INTO ec_payload_wa3.
ASSIGN COMPONENT 'PERNR' OF STRUCTURE <lfs_wa> TO <fs_pernr2>.
* IF line_exists( <lfs_tab>-field_value_pair_tab[ ec_fld_name = 'endDate' ] ).
ASSIGN COMPONENT 'ENDDA' OF STRUCTURE <lfs_wa> TO <fs_endda>.
* endif.
READ TABLE ec_payload_wa3-field_value_pair_tab WITH KEY ec_fld_name = 'assignmentIdExternal'
ec_fld_value = <fs_pernr2>
TRANSPORTING NO FIELDS.
Regards