Im doing upgrade from version 5 to version 6 and i have a problem with BAPI_MATERIAL_SAVEDATA
im using this bapi to add ean11 to a material.
in vertion 5 it worked and in vertion 6 it doesnt work
the kod is like that:
headdata-material = itab-matnr.
unitsofmeasure-ean_upc = itab-bcode.
unitsofmeasure-alt_unit = itab-meinh.
unitsofmeasurex-alt_unit = itab-meinh.
unitsofmeasurex-ean_upc = 'X'.
unitsofmeasurex-ean_cat = 'X'.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
headdata = headdata
flag_online = ' '
flag_cad_call = ' '
no_dequeue = ' '
return = bapiret2
unitsofmeasure = unitsofmeasure
unitsofmeasurex = unitsofmeasurex
returnmessages = returnmessages.
Tthe function itself does not work in vertion 6 and it did work with the same parameters in version 5.
how can i use it in version 6.