I have to add a free item to Sales Order with Zero Pricing. The zero pricing can be set by using the Z item category. When I call the BAPI - BAPI_SALESORDER_CHANGE with item number/material/qty/pricing date/Z Item category, the item is saving with current pricing. it is not inheriting the pricing from the item category. When I do the same thing manually in VA02 by providing the material/qty/item category, it is priced at zero.
How can i set the zero pricing by using this item catergory through BAPI - BAPI_SALESORDER_CHANGE. DO I need to pass any others parameters in addition to the above?
Thanks in advance.