Skip to Content
0
Mar 26, 2009 at 09:39 AM

Create Retail Article

61 Views

I am fail to use BAPI_MATERIAL_MAINTAINDATA_RT to create new retail article.

I check two errors:

The field MARA-MEINS/BAPIE1MARART-BASE_UOM(_ISO) is defined as a required field; it does not contain an entry

The field MARA-TRAGR/BAPIE1MARART-TRANS_GRP is defined as a required field; it does not contain an entry

The following is part of the code I declare for the input data:

lw_header-material = 'CS123456'.

lw_header-matl_type = 'ZCSM'.

lw_header-matl_group = 'ZCS001'.

lw_header-matl_cat = '00'.

lt_data-material = 'CS123456'.

lt_datax-material = 'X'.

lt_data-base_uom = 'PAA'.

lt_datax-base_uom = 'X'.

lt_data-tax_class = '1'.

lt_datax-tax_class = 'X'.

lt_data-trans_grp = '1009'.

lt_datax-trans_grp = 'X'.

APPEND: lt_data, lt_datax.

So, do I miss anything else?

Thank you.