Application Development 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: 

Error in BAPI_MATERIAL_SAVEDATA

Former Member
0 Kudos

Hi Folks ,

I am trying to create material through bapi BAPI_MATERIAL_SAVEDATA .I am directly testing in SE37 .I filled all the mandatory fields .Its giving me error

T ID NUM MESSAGE

E B1 537 CURRENCY initial v., currency amount 20.0000 in STD_PRICE was transferred without a currency

How to get rid of this error ??

I am passing the following parameters in valuationdata parameter .

valuation class

standard price

and i am passing price unit as 1 .

I am not passing BWKEY and BWTAR (valuation area and valuation type ) .When i asked functional folk ,he is saying its not necessary..

my question is where do i pass the currency parameter ???

how to avoid this error??

Thanks

Hemanth.

5 REPLIES 5

Former Member
0 Kudos

Hi Hemanth,

As per the error you are getting, I think you have to transfer even the currency key field along with the currency amount in STD_PRICE. Try doing this. It should work

Regards,

Swapna.

Former Member
0 Kudos

Hello Swapna ,

Where do i pass currency field ?? in the same standard price field with the value ???

Regards

Hemanth

Former Member
0 Kudos

Hi ..

Now i am getting this error .

T ID NUM MESSAGE

E MG 171 You have not fully maintained the descriptions

Its not clear as to which description its referring to ??

Regards

hemanth

Former Member
0 Kudos

Hi Hemanth,

Is your problem resolved? I am having the same problem and I don't know how to pass the currency.

Regards,

Le

Former Member