‎2008 Dec 17 9:32 PM
Hi,
I'm trying to call function bapi_material_savedata
I'm filling BAPI_MBEW structure with following data:
BAPI_MBEW-PRICE_CTRL = 'V'.
BAPI_MBEW-STD_PRICE = '25.00'.
BAPI_MBEW-PRICE_UNIT = 25.
BAPI_MBEW-VAL_CLASS = 1234.
but it's throwing me the next error:
Error:
CURRENCY initial v., currency amount 25.0000 in STD_PRICE was transferred without a currency
for material: 1111111111
I think currency field is missing but what field and in what structure do I have to fill currency field??
Thank you guys.
‎2008 Dec 17 9:53 PM
Are you setting the FLAGS in this structure also BAPI_MBEWX?
Read documentation Se37 for more details.
‎2008 Dec 17 10:08 PM
‎2010 Nov 30 10:24 AM
I too had a similar issue:
The problem was solved when the Valuation Area details in the same structure was passed. I passed the plant id to the Valuation Area for my scenario.
Regards,
Rajesh