Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_ACC_DOCUMENT_POST error while posting for group currency FBB1.

Hi All

We are trying to post a document against different GL accounts via BAPI_ACC_DOCUMENT_POST for group currency.

But it is throwing an error 'Balance in transaction currency'. I am assuming that the credit - debit is not coming out to be ZERO. This requirement is for Hyperinflation in Venezuela.

I am doing it in USD as well as the local currency VEF. Below are the values I am passing in the structure CURRENCYAMOUNT.

credit:

wa_curramt-itemno_acc = '0001'.

wa_curramt-curr_type = '10'.

wa_curramt-curr = 'VEF'.

wa_curramt-amt_doccur = '68.4'.

APPEND wa_curramt TO ta_curramt.

CLEAR wa_curramt.

credit:

wa_curramt-itemno_acc = '0001'.

wa_curramt-curr_type = '30'.

wa_curramt-curr = 'USD'.

wa_curramt-amt_doccur = '10'.

APPEND wa_curramt TO ta_curramt.

CLEAR wa_curramt.

credit:

wa_curramt-itemno_acc = '0002'.

wa_curramt-curr_type = '10'.

wa_curramt-curr = 'VEF'.

wa_curramt-amt_doccur = '68.4'.

APPEND wa_curramt TO ta_curramt.

CLEAR wa_curramt.

credit:

wa_curramt-itemno_acc = '0002'.

wa_curramt-curr_type = '30'.

wa_curramt-curr = 'USD'.

wa_curramt-amt_doccur = '10'.

APPEND wa_curramt TO ta_curramt.

CLEAR wa_curramt.

debit:

wa_curramt-itemno_acc = '0003'.

wa_curramt-curr_type = '10'.

wa_curramt-curr = 'VEF'.

wa_curramt-amt_doccur = '136.8'.

APPEND wa_curramt TO ta_curramt.

CLEAR wa_curramt.

debit:

wa_curramt-itemno_acc = '0003'.

wa_curramt-curr_type = '30'.

wa_curramt-curr = 'USD'.

wa_curramt-amt_doccur = '20'.

APPEND wa_curramt TO ta_curramt.

CLEAR wa_curramt.

Let me know if some more info is needed from my end.

Thanks in advance,

Tejaswini

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question