Ansicht
Dokumentation
BAPI_CTRACCTRCTACCNT_PAYBYCARD - BAPI: Execute FI-CA Credit Card Payment
PERFORM Short Reference BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Functionality
For payment by credit card, the open items must be available. You can use a BAPI to select the open items (see the BAPI Explorer Financial Accounting -> Contract Accounts Receivable and Payable -> CtrAcContractAccount -> GetOpenItems). The parameter OpenItems is filled by the BAPI GetOpenItems in accordance with the selection criteria. Via the component ITEM_ACTIVATED, you can select the items to be cleared. In the component CLEARING_AMOUNT specify the clearing amount.
You use the parameter CardPayment to specify the required specifications for credit card payment. Here you should specify at least the payment amount, the currency, the card institute, and the card number. You can also specify additional information such as company code, document type, document date, posting date, translation date, business area, and value date. You do this via the following components of the parameter CardPayment:
- COMP_CODE
- DOC_TYPE
- DOC_DATE
- POST_DATE
- TRANS_DATE
- BUS_AREA
- VALUE_DATE
You should also specify these as far as possible. The system determines the missing specifications internally from the specifications for manual payments or from system specifications. You can make specifications for manual payments in the Implementation Guide under Contract Accounts Receivable and Payable -> Business Transactions -> Payments -> Processing Incoming and Outgoing Payments -> Maintain Specifications for the Cash Desk.
If clearing takes place, the document number of the payment document is returned in the parameter DocumentNumber.
Example
Notes
Further information
Parameters
CARDPAYMENTCHECK_CARD_NUMBER
CHECK_EXPIRY_DATE
DOCUMENTNUMBER
EXTENSIONIN
MERCHANT_ID
NO_VALIDATE_CARD
OPENITEMS
POSTONACCT
REFERENCE_DOC
RETURN
Exceptions
Function Group
FKK_BOR_CONTACCBAL_S_LOG - Application Log: Log header data rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2861 Date: 20240523 Time: 100537 sap01-206 ( 59 ms )