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

Dump while posting CO documents through BAPI_COPAACTUALS_POSTCOSTDATA

Former Member
0 Likes
623

Hi Gurus,

I am posting CO Documents through BAPI_COPAACTUALS_POSTCOSTDATA and I am getting a Dump which says that the CO-PA acts in multiple currencies mode and the currency of a line item is inconsistent with the currency of the organizational unit of the posting.

In my case I am fetching data for a document number from table ce11000 based on the controlling area 1000 and currency type 10 and company code E024 and passing it on to the BAPI Function module . Here the currency field REC_WAERS has value SEK .In the BAPI Function module on the basis of controlling area 1000 two documents are generated with two currencies EUR and SEK with two PALEDGER values 01 and 02. These two currencies are then compared with the currency of the document i.e SEK and since for one case EUR <> SEK the program is terminated with a DUMP.

If anyone have faced a similar problem please reply .

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
471

Hi,

See the given link, It may help you.

Regards,

Shamma

Read only

Former Member
0 Likes
471

Thanks