Dear Houriya MJADLI,
I hope you are posting documents first time. Let me clear you some points while you are posting payment/debit/credit Documents to customer.
Summation of amount should be zero.
for ex: you are rising debit note amount Rs.2000/- to customer, for an invoice then entry will be,
Debit note GL -2000
Customer GL 2000
I believe that you are passing I_RFKH0 structure that contains amount transaction summation is not zero. Because of this you are getting this result "Balance in document currency is not zero, posting not possible".
Note: Sign of amount will play major role while posting documents.
My Suggestion: Try to change this in your export parameter of I_RFKH0. Or Else Try to use FM BAPI_ACC_DOCUMENT_POST. Here you need to populate data for import parameter of this FM. Then it will take care.
Thanks,
Sivaraj Sadasivam.
Thank you so much for you reply
Could you please give me the prequisite fields for I_RFKH0 structure ?
Because after I passed the field RFKHO-XAKON = 'X', I didn't get the message , the FM terminated successfully. But there is an new issue while trying to generate the receipt via the FM isu_print_receipt, I'm getting a message that says "No receipt printed for payment document".
Sap diagnosis says:
No receipt can be printed for payment document . This could have one of the following causes:
Regards,
Houriya
What do you mean by document and how can I check if it was posted ?
Thank you so much for your help.
Regards,
Houriya
After checking DFKKKO table, I can't find the document even though sy-subrc = 0 at end of the fm FKK_CD_PAYEMENT_CREATE
Would you please give me the prequisite fields for I_RFKH0 structure?
Regards,
Houriya
.
I'm only passing to the FM C_FKKCL and and yes you are right at the end of the FM C_FKKOP-OPBEL is empty how come? because at the importing parameter e_opbel is not empty .
Regards,
Houriya
Dear Houriya MJADLI,
IF e-opbel is not empty. Try to pass this document number(e_opbel Value) in following tables with your convenient and see any record found or not. Then you finalize whether document posted or not? and Whether its posted and cleared? Then you will get some idea.
DFKKCJC ------Cash Desk Closing Data
DFKKCJF -------Transfer Accepted Payments
DFKKCJK -------Data for Change Amounts at Cash Desk - Different Currency
DFKKCJM -------Cash Journal Master Data
DFKKCJMT -------Text Table for Cash Journal Master Data
DFKKCJT --------Transaction Data for Cash Journal
DFKKCDLOTS ---------Lot Management for Cash Desk and External Cash Desk Services
DFKKCJT_WDRWH --------Cash Journal: Historical Data for Withdrawal (was introduced as from the Ehp7 release)
DFKKREPT --------Receipt Documents
DFKKREPTCL ---------Clearing Information for Receipt Documents
DFKKREPTNRKR ---------Internal Table for Lock Object EFKKNUMKR_REPT
TFK000C-XREPT --------Receipt Management Used
TFK100D -----------Cash Desk: Cash Desk Clearing Accounts
Thanks,
Sivaraj Sadasivam.
I finally managed creating the payement document and also the receipt, but still the invoice's not cleared when I check FPL9,
Do I need to do something before or after this FM ?
Hi,
You need to configure the clearing variant for the clearing rules for Cash desk credit card payments (clearing type 20) in SPRO CONFIG-
IMG-->Financial Accounting-->Contract Accounts Receivable and Payable-->Basic Functions-->Open Item Management-->Clearing Control-->Define Specifications for Clearing Types-->Define Defaults for Incoming Payments
Hope it helps.
Thanks,
Amlan
Add comment