2013 Sep 26 8:38 AM
Hi Experts,
We have implemented a BADI in MIRO in which internal table TI_DRSEG of type MMCR_TDRSEG is exported to memory id. It was working fine before. But after upgrading sap to ecc 6 ehp6 it is giving dump as "Field TI_DRSEG cannot be a reference and cannot contain references". code is as below.
IF sy-tcode EQ 'MIRO'.
IF i_rbkpv IS NOT INITIAL.
SET PARAMETER ID 'S_GJAHR' FIELD i_rbkpv-gjahr.
SET PARAMETER ID 'S_BUKRS' FIELD i_rbkpv-bukrs.
SET PARAMETER ID 'S_XBLNR' FIELD i_rbkpv-xblnr.
ENDIF.
IF ti_drseg[] IS NOT INITIAL.
EXPORT ti_drseg FROM ti_drseg TO MEMORY ID 'DRSEG_DATA'.
ENDIF.
ENDIF.
Error details can be seen in file attached. Pls help how to resolve this error.
Thanks in advance.
2013 Sep 26 9:25 AM
Hi,
Never face this error.
you can check this thread & the reply for help.
http://scn.sap.com/thread/783680
Thanks
Gourav.