Fonction SAP BAPI_CTRACCTRCTACCNT_PAYBYCARD - BAPI: Execute FI-CA Credit Card Payment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CARDPAYMENT BAPICARDPAYMENT u 221 Card Payment Specifications
NO_VALIDATE_CARD BOOLE-BOOLE C 1 X 'X' = No Card Validation in SAP DB

Paramètre Reférence Type Long. Description
DOCUMENTNUMBER BAPIDFKKKO-DOC_NO C 12 Assigned Document Number
RETURN BAPIRET2 u 548 Confirmations

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Customer Enhancements - Import
OPENITEMS BAPIDFKKCL 1500 Open Items for Clearing
POSTONACCT BAPIDFKKOP 1010 X BAPI: Business Partner Items for Open Item Account Document

Functionality
For payment by credit card, the open items must be available. You canuse a BAPI to select the open items (see the BAPI ExplorerFinancial Accounting -> Contract Accounts Receivable and Payable ->CtrAcContractAccount -> GetOpenItems). The parameter OpenItems
is filled by the BAPI GetOpenItems in accordance with theselection criteria. Via the component ITEM_ACTIVATED, you canselect the items to be cleared. In the component CLEARING_AMOUNTspecify the clearing amount.
You use the parameter CardPayment to specify the requiredspecifications for credit card payment. Here you should specify atleast the payment amount, the currency, the card institute, and thecard number. You can also specify additional information such ascompany code, document type, document date, posting date, translationdate, business area, and value date. You do this via the followingcomponents 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 determinesthe missing specifications internally from the specifications formanual payments or from system specifications. You can makespecifications for manual payments in the Implementation Guide underContract 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 isreturned in the parameter DocumentNumber.