2012 Feb 03 3:39 PM
Dear Experts,
I am getting the error when I am trying to execute the "BAPI_CTRACCTRCTACCNT_PAYBYCARD"
Key 120203-001 for G/L acounting does not exist
System Generates Recon Key. But I am getting the above error.
Could anyone guide me how to execute this BAPI.
Thanks
Aswin
2012 Feb 03 8:26 PM
Hi,
You might have to use the BAPI "BAPI_CTRACRECKEY_CREATE" to first create the Rec Key, then trigger the second BAPI to do the card payment.
Regards,
Ivor M.
2012 Feb 04 3:47 AM
Dear Ivor M,
Thanks for your reply.
After creating Recon Key, I am not getting that error.
Now I am getting the different error "E >0137 Formal error: Payment difference given without items to be cleared"
I am unable to understand how the BAPI works. Could you please help me how it works? or else Is there any other BAPI or Function module to post the credit card payment.
Thanks in Advance.
Aswin
2012 Feb 06 1:46 PM
Hi,
Are you first retrieving the open items using the BAPI BAPI_CTRACCONTRACTACCOUNT_GOI1?
When you read the documentation for the PAYBYCARD BAPI, it says that you first have to fetch the open items using the above-mentioned BAPI and pass them as parameters into the PAYBYCARD BAPI.
Try that if you have not already tried it.
Regards,
Ivor M.