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: 

Exception condition "E_CURRD_MISSING" raised. Using IDoc

Former Member
0 Kudos
215

Hello Friends, I need your help, something weird happens to me.

I need to interfase invoices from one legacy system to SAP, I made some test using the BAPI 'BAPI_ACC_INVOICE_RECEIPT_POST', but we had performance issues, so I decided to use the Idoc, so I setted up the "ACC_INVOICE_RECEIPT" msg type, and used the inbound process code BAPI, when I tested it using the WE19 tool, it worked fine and create the Idoc status 53, just executing the Function module but if I try to excecute from the statndard inbound, I cannot post the idoc properly and the document is not posted, I get a dump and this is the error msg I got:

Exception condition "E_CURRD_MISSING" raised.

The termination occurred in the ABAP program "SAPLFDIS" in

"CASH_FORECAST_SUMMARY_REC_UPD".

The main program was "SAPMSSY4 ".

The termination occurred in line 118 of the source code of the (Include)

Í dont have a clue what could be happening,, any help???

Thanks Imelda

1 ACCEPTED SOLUTION

former_member186741
Active Contributor
0 Kudos
91

hI iMELDA,

the function module CASH_FORECAST_SUMMARY_REC_UPD which is being called is expecting a 'currency field' to relate to a value figure (Planned currency for subledger accounts) and as one is not present it is dumping. The field needing the currency is rf40s-FDWBT. Is that any help?

4 REPLIES 4

former_member186741
Active Contributor
0 Kudos
92

hI iMELDA,

the function module CASH_FORECAST_SUMMARY_REC_UPD which is being called is expecting a 'currency field' to relate to a value figure (Planned currency for subledger accounts) and as one is not present it is dumping. The field needing the currency is rf40s-FDWBT. Is that any help?

0 Kudos
91

Hello Neil,

Thanks for your answer, actually I debugged the code and realized that the value in that field was missing, my question here is how should I fix it, because in the idoc structures I cannot find the right field to populate this, so I was thinking that the FI Functional team miss that value when they configurate, or to which object this could be related,, maybe the account is missing the currency in one specific view or so.

Thanks in advance

0 Kudos
91

Hi Imelda, I'm afraid I don't have any ideas about your specific problem. I would just make sure that any value field in the structures passed to the bapi has an associated currency code field. You could also do a search on the sdn forums for this bapi to see if anyone else has had a similar problem..or look at the bapi's documentation or even have a look at OSS.

0 Kudos
91

Thanks for your answer Neil, actually we solve the problem yesterday, in the idoc I was using a 10 for currency type (company currency), and there was a configuration problem, I changed to 00 (Document currency) and now is working, in the future if we need any other curr type, I will verify with them.

Thanks for your time and advice.

Imelda