05-13-2009 7:01 PM
I found after an upgrade that our old BDC program for automated material maintenance is not working. Instead of rebuilding I am experimenting with MATERIAL_MAINTAIN_DARK and BAPI_MATERIAL_SAVE.
I can get the fields to change fine. How can I make a field blank? If you send in blank you get no change. If you send in a space there is no change.
For example, item 10101-01-11 has a MARA-VOLUM of '12.0' and a MARA-VOLEH of 'FT3'. I can use the function to set these values but I cannot feigure out how to clear them.
Thank you,
Crew
05-13-2009 7:34 PM
Have you tried this wayn ( example for clearing pur_status)
i_marc-plant = 'N505'.
i_marc-pur_status = ' '.
i_marcx-plant = 'N505'.
i_marcx-pur_status = 'X'.
then call function 'BAPI_MATERIAL_SAVEDATA'
a®