‎2010 Mar 24 8:35 AM
I am trying to implement a badi - badi_matmas_ale_cr. I want to take contents of sdata to i_marc but getting this error ...any workaround for this. I thought of defining structure of marc with all char fields but that is almost 218 fields so thought if there is anyother way of doing this.
DATA : wa TYPE LINE OF edidd_tt,
i_marc type line of MARC_UEB_TT .
LOOP AT t_idoc_data INTO wa.
CASE wa-segnam.
WHEN 'E1MARCM'.
MOVE wa-sdata TO i_marc.
IF i_marc-compl+0(1) NE '9'.
DELETE t_idoc_data INDEX sy-tabix.
ENDIF.
ENDLOOP.
‎2010 Mar 24 8:55 AM
try this
call method cl_abap_container_utilities=>read_container_c
exporting
im_ container = wa-sdata
importing
ex_ value = imarc
exceptions
illegal_parameter_type = 1
others = 2.
Check for reference.
‎2010 Mar 24 8:55 AM
try this
call method cl_abap_container_utilities=>read_container_c
exporting
im_ container = wa-sdata
importing
ex_ value = imarc
exceptions
illegal_parameter_type = 1
others = 2.
Check for reference.
‎2010 Mar 24 9:15 AM