Skip to Content
0
Former Member
Apr 18, 2008 at 05:29 AM

extensionin in BAPI_MATERIAL_SAVEDATA

189 Views

Hi,,

data: wa_bapi_te_mara type bapi_te_mara,

wa_bapi_te_marax type bapi_te_marax,

wa_valuepart(960),

wa_valuepartx(960),

d_extin type bapiparex,

d_extinx type bapiparexx.

wa_bapi_te_mara-material = gt_list-matnr.

wa_bapi_te_marax-material = gt_list-matnr.

wa_bapi_te_mara-zz01 = gt_list-zz01.

wa_bapi_te_marax-zz01 = 'X'.

wa_bapi_te_mara-zz02 = gt_list-zz02.

wa_bapi_te_marax-zz02 = 'X'.

*Fill remainder of structure/s.

wa_valuepart = wa_bapi_te_mara.

d_extin-structure = 'BAPI_TE_MARA'.

d_extin-valuepart1 = wa_valuepart(240).

d_extin-valuepart2 = wa_valuepart+240(240).

d_extin-valuepart3 = wa_valuepart+480(240).

d_extin-valuepart4 = wa_valuepart+720(240).

wa_valuepartx = wa_bapi_te_marax.

d_extinx-structure = 'BAPI_TE_MARAX'.

d_extinx-valuepart1 = wa_valuepartx(240).

d_extinx-valuepart2 = wa_valuepartx+240(240).

d_extinx-valuepart3 = wa_valuepartx+480(240).

d_extinx-valuepart4 = wa_valuepartx+720(240).

append d_extin to gt_extin.

append d_extinx to gt_extinx.

bapi_te_mara had only material. when activating, error message wa_bapi_mara does not contains zz01.

i append structure zmm01s0001 into mara . all of source i searched on sdn show above code.....

please help me...