Skip to Content
0
Former Member
Jul 15, 2008 at 11:33 AM

Append into itab with no header line

14 Views

Hi,

i would like to append some data from an internal table into another internal table that has no header line.

The code looks like this :

FIELD-SYMBOLS :

<ls_uom> TYPE bapi_marm_ga,

<ls_uom2> type ZMM_EXTRACT_UOM.

DATA : tt_uom LIKE STANDARD TABLE OF bapi_marm_ga,

tt_uom2 type table of ZMM_EXTRACT_UOM.

CALL FUNCTION 'BAPI_MATERIAL_GETALL'

EXPORTING

material = p_matnr

TABLES

unitsofmeasure = tt_uom.

LOOP AT tt_uom ASSIGNING <ls_uom>.

*Appending some datas from tt_uom into tt_uom2

ENDLOOP.

The problem is that my itabs do not have the same structure.

How can i add those fields of tt_uom into tt_uom2

Thanks in advance