05-19-2012 11:54 AM
Hello Friends,
While using the bapi:BAPI_CTRACDOCUMENT_CREATE we are getting this error" 003 Balance in Document currency is not zero, posting not possible".
The details given in bapi :
a_doc_hdr-fikey = '12041301/999'.
wa_doc_hdr-appl_area = 'X'.
wa_doc_hdr-doc_type = 'XX'.
wa_doc_hdr-doc_source_key = '01'.
wa_doc_hdr-currency = 'XXX'.
wa_doc_hdr-doc_date = sy-datum.
wa_doc_hdr-post_date = sy-datum.
wa_partner_pos-item = '0001'.
wa_partner_pos-comp_code = 'XXXX'.
wa_partner_pos-buspartner = i_fkkcl-gpart.
wa_partner_pos-cont_acct = i_fkkcl-vkont.
wa_partner_pos-main_trans = 'XXXX'.
wa_partner_pos-sub_trans = 'XXXX'.
wa_partner_pos-g_l_acct = '99999999'.
wa_partner_pos-actdeterid = 'XX'.
wa_partner_pos-division = 'XX'.
wa_partner_pos-doc_date = sy-datum.
wa_partner_pos-post_date = sy-datum.
wa_partner_pos-net_date = sy-datum.
wa_partner_pos-currency = 'XXX'.
wa_partner_pos-amount = v_post.
With these details it is giving this error. How can i get the result of value getting posted.
Regards
Charvi
05-19-2012 2:06 PM
Charvi:
You need to provide the general ledger positions or choose COMPLETEDOCUMENT so that account determination is executed.
regards,
bill.
05-21-2012 7:02 AM
Hello William,
Thank you for your reply. I tried doing it with both the options but it is not working.
1 Option: Genaral Ledger Postions:
After filling all the details, still i am getting the same error."003 Balance in Document currency is not zero, posting not possible".
2 Option: Completedocument: X
After passing the value, i am getting an error "054Application not maintained in table TFK000"
The setting is maintained out there but we have not activated Extended FICA and we dont want to activate that.
The strange thing is that, if i pass the value in Amount in local currency it posts the document, but if i pass the value in amount field it shows the error."003 Balance in Document currency is not zero, posting not possible".
This is very strange i have never faced this issue before.
Please let me know , where i am missing out.
Regards
Charvi
05-24-2012 7:34 PM
Hi,
Your operations are tax relevant? Are you considering entering values depending the option of <NET_RECEIVABLES>?
Regards,
AL
08-06-2015 6:37 PM
Charvi,
Did you find any soultion for your issue. Actually I am also facing the same issue. If I pass the local curr system posts a documents but with $0 amt.
Please can you share the solution if this is resolved.
Thanks
Govind Parmar
08-07-2015 6:02 AM
Hi Charvi,
Most of the time this error comes due to some configuration error in EK01 and EK02. Check Main sub are mapped properly in EK01 and EK02.
Thanks
Viraj