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_GOODSMVT_CREATE - Amount_SV Error

venkateswaran_k
Active Contributor
0 Likes
2,057

Dear All

I am creating the material movement documetn 561 (MB1C) using BAPI_GOODSMVT_CREATE.

I am passing Price to the field AMOUNT_SV.

Howeever, the BAPI returns me the error saying

IMSEG-WAERS initial v., currency amount 100.0000 in AMOUNT_SV was transferred without a currency

Can someone help me where to set the Currenty reference in this BAPI.

I searched the forum and not able to find it.

<removed by moderator>

Regards,

Venkat

Edited by: Thomas Zloch on Jan 9, 2012

1 ACCEPTED SOLUTION
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,309

Are you passing the plant value in the line item..In BAPI it is determine via READ_CURRENCY_OF_COMPANY function module

Check for your plant does it return anything

Nabheet

5 REPLIES 5
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,310

Are you passing the plant value in the line item..In BAPI it is determine via READ_CURRENCY_OF_COMPANY function module

Check for your plant does it return anything

Nabheet

Read only

0 Likes
1,309

Hi

Yes I am passing the following values. (for Plant)..

gt_goodsmvt_item-plant = '1000'. "gv_upload-plant.

gt_goodsmvt_item-move_plant = '1000'. "gv_upload-plant.

Is ther anything I am missing.

Regards,

Venkat

Read only

0 Likes
1,309

Pass this plant to above mentioned function module and check what does it return..Secondly if you just debug the bapi you can easily find out the reason

Nabheet

Read only

0 Likes
1,309

Hi

I verified the above function in SE37 and it returns SAR .. which is correct.

Upon debugging, in curency determination routine it is returning Blank.

Is there anything related to the move ment indicator - B..

I am doing this for movement type 561

Regards,

Venkat

Read only

0 Likes
1,309

See you have now got the subroutine where it is coming blank go inside and check what logic it is using and you will find out the reason simple

Nabheet