‎2012 Jan 09 11:32 AM
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
‎2012 Jan 09 11:41 AM
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
‎2012 Jan 09 11:41 AM
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
‎2012 Jan 09 11:46 AM
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
‎2012 Jan 09 11:51 AM
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
‎2012 Jan 09 12:04 PM
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
‎2012 Jan 09 12:05 PM
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