Skip to Content
0
Aug 06, 2015 at 09:03 PM

Error posting FICA document using BAPI BAPI_CTRACDOCUMENT_CREATE

384 Views

Hi,

I am trying to post FI CA documents using a BAPI but getting error 'Balance in Document currency is not zero, posting not possible'.

Do you know why we are getting this error?

* call BAPI

CALL FUNCTION 'BAPI_CTRACDOCUMENT_CREATE'
EXPORTING

testrun = testrun
documentheader = documentheader
completedocument = 'X' "create documents, calling all events
IMPORTING
documentnumber = ev_opbel
return = lv_return
TABLES
partnerpositions = partnerpositions[]. "lt_pos_info.
* genledgerpositions = lt_gl_info.

Thanks

Govind