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_CUSTOMERRETURN_CREATE Error

Former Member
0 Likes
653

Hi

I'm using BAPI_CUSTOMERRETURN_CREATE i've insert some data in the se37 to see it work

but i get this error msg:

A M2 801 Error determining target currency: SOrg CoCode 7000

can you help me on this,

Thanks.

1 REPLY 1
Read only

Former Member
0 Likes
378

Hi,

    You must have resolved it, no doubt.

But I am replying to let other know.

In of my dev recently I have faced the same issue.

This reason behind the message is there are some invalid / null value for 'Sales Org' (vkorg).

In your case the Sales org is not populated so its passing the null value.

Now in my scenario the value is populating as null because we have passed wrong value in 'RETURN_HEADER_IN-UPDATEFLAG'  ( in BAPI_CUSTOMERRETURN_CREATE ) . In case of a create scenario we have passed flag as 'U' ( i.e. for update ), so it tried to find the order which actually doesn't exists and further its raising the error.

Regards,

Monishankar Chatterjee