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

Error F5 - 842 when BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
2,073

Hi Experts,

When using BAPI for MIRO, sometimes I get an error F5 842 (Balan in & currency)

849728 note be implemented, but later reset.

OKKP Customizing:

SAP Component version 6.0

What causes, can you help me?

Best Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,546

check this

Cause: Changes to currency settings in the Customizing of the controlling area (Transaction OKKP).

Note no. 852696

Hi Experts,

When using BAPI for MIRO, sometimes I get an error F5 842 (Balan in & currency)

849728 note be implemented, but later reset.

OKKP Customizing:

SAP Component version 6.0

What causes, can you help me?

Best Regards.

3 REPLIES 3
Read only

Former Member
0 Likes
1,547

check this

Cause: Changes to currency settings in the Customizing of the controlling area (Transaction OKKP).

Note no. 852696

Read only

0 Likes
1,546

Hi Solasu, thank you for response.

I changed to currency settings in the Customizing of the controlling area but the problem didn't resolved .

I have solved to make enhancement in the include LFACIF3Y (FORM DETER_BALANCE)

LOOP AT ibaltab where wrbtr ne 0 .

         LOOP AT acccr_fi where curtp = ibaltab-curtp.

            acccr_fi-wrbtr = acccr_fi-wrbtr - ibaltab-wrbtr .

            acccr_fi-SKFBT = acccr_fi-SKFBT - ibaltab-wrbtr .

               modify acccr_fi .

            EXIT.

         ENDLOOP.

         clear : ibaltab-wrbtr, ibaltab-balance .

         MODIFY ibaltab .

      ENDLOOP.

for your kind attention, BR.

Ahmet

Read only

0 Likes
1,546

Hi
Can we this concept for BAPI_ACC_DOCUMENT_POST while posting Reversal?
Because for me also getting message same as F5 842 balance in 1 currencies.

Can we put any checks only for our program to run?