Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_MATERIAL_SAVEDATA - Currency problem

Former Member
0 Likes
5,678

I'm using BAPI_MATERIAL_SAVEDATA

When entering the BAPI_MBEW-STD_PRICE value, it returns the following error: "CURRENCY initial v., currency amount 2300.00 in STD_PRICE was transfered without a currency.".

How do I reference the curreny here? I notice there is no reference in BAPI_MBEW.

5 REPLIES 5
Read only

Former Member
0 Likes
2,847

Hello

Check follow:

in BAPI you have filled parameter VALUATIONDATA-VAL_AREA. This value must be in table T001K. Check this.

If T00K-BWKEY is exist then goto table T001 with BUKRS = T001K-BUKRS and check field WAERS. It must be maintained.

Read only

Former Member
0 Likes
2,847

HI

For updating the price u need to set field BAPI_MBEW-PRICE_CTRL.

Pass value V Or S based on u r requirment.

regards,

Raghu

Read only

Former Member
2,847

Hi,

you need to pass the currency for the amount field in the BAPI_MBEW-PRICE_UNIT that can be either USD/GBP etc...

Hope this helps

Regards

Shiva

Read only

2,847

The price unit field is not for the currency. The price_unit is

Number of units to which the price refers.

Example

If 10 gallons of gasoline cost $12.00, the price unit is 10.

Read only

2,847

Solved. I was passing the VAL_AREA incorrectly