SAP SD_CCARD_SET_FPLTC_CCBTC Function Module for NOTRANSL: Zahlungskarten: Verkaufsbeleg als abgerechnet kennzeichenen









SD_CCARD_SET_FPLTC_CCBTC is a standard sd ccard set fpltc ccbtc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Zahlungskarten: Verkaufsbeleg als abgerechnet kennzeichenen processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for sd ccard set fpltc ccbtc FM, simply by entering the name SD_CCARD_SET_FPLTC_CCBTC into the relevant SAP transaction such as SE37 or SE38.

Function Group: V21F
Program Name: SAPLV21F
Main Program: SAPLV21F
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SD_CCARD_SET_FPLTC_CCBTC pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SD_CCARD_SET_FPLTC_CCBTC'"NOTRANSL: Zahlungskarten: Verkaufsbeleg als abgerechnet kennzeichenen
EXPORTING
I_VBELN = "Sales Document
I_CCINS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_CCNUM = "Card Number
I_AUNUM = "Authorization no.
I_CCBTC = "Payment cards: Settlement run
I_CCARD_GUID = "Reference to Encrypted Payment Card Data

TABLES
* FXVBRK = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
NO_BILLING_DOCUMENT = 1 WRONG_PAYMENT_CARD = 2 TECHNICAL_PROBLEM = 3
.



IMPORTING Parameters details for SD_CCARD_SET_FPLTC_CCBTC

I_VBELN - Sales Document

Data type: VBRK-VBELN
Optional: No
Call by Reference: No ( called with pass by value option)

I_CCINS - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CCDATA-CCINS
Optional: No
Call by Reference: No ( called with pass by value option)

I_CCNUM - Card Number

Data type: CCDATA-CCNUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_AUNUM - Authorization no.

Data type: CCDATA-AUNUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_CCBTC - Payment cards: Settlement run

Data type: CCDATA-CCBTC
Optional: No
Call by Reference: No ( called with pass by value option)

I_CCARD_GUID - Reference to Encrypted Payment Card Data

Data type: CCARDEC_GUID
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for SD_CCARD_SET_FPLTC_CCBTC

FXVBRK - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: VBRKVB
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_BILLING_DOCUMENT - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

WRONG_PAYMENT_CARD - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TECHNICAL_PROBLEM - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SD_CCARD_SET_FPLTC_CCBTC Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lt_fxvbrk  TYPE STANDARD TABLE OF VBRKVB, "   
lv_i_vbeln  TYPE VBRK-VBELN, "   
lv_no_billing_document  TYPE VBRK, "   
lv_i_ccins  TYPE CCDATA-CCINS, "   
lv_wrong_payment_card  TYPE CCDATA, "   
lv_i_ccnum  TYPE CCDATA-CCNUM, "   
lv_technical_problem  TYPE CCDATA, "   
lv_i_aunum  TYPE CCDATA-AUNUM, "   
lv_i_ccbtc  TYPE CCDATA-CCBTC, "   
lv_i_ccard_guid  TYPE CCARDEC_GUID. "   

  CALL FUNCTION 'SD_CCARD_SET_FPLTC_CCBTC'  "NOTRANSL: Zahlungskarten: Verkaufsbeleg als abgerechnet kennzeichenen
    EXPORTING
         I_VBELN = lv_i_vbeln
         I_CCINS = lv_i_ccins
         I_CCNUM = lv_i_ccnum
         I_AUNUM = lv_i_aunum
         I_CCBTC = lv_i_ccbtc
         I_CCARD_GUID = lv_i_ccard_guid
    TABLES
         FXVBRK = lt_fxvbrk
    EXCEPTIONS
        NO_BILLING_DOCUMENT = 1
        WRONG_PAYMENT_CARD = 2
        TECHNICAL_PROBLEM = 3
. " SD_CCARD_SET_FPLTC_CCBTC




ABAP code using 7.40 inline data declarations to call FM SD_CCARD_SET_FPLTC_CCBTC

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single VBELN FROM VBRK INTO @DATA(ld_i_vbeln).
 
 
"SELECT single CCINS FROM CCDATA INTO @DATA(ld_i_ccins).
 
 
"SELECT single CCNUM FROM CCDATA INTO @DATA(ld_i_ccnum).
 
 
"SELECT single AUNUM FROM CCDATA INTO @DATA(ld_i_aunum).
 
"SELECT single CCBTC FROM CCDATA INTO @DATA(ld_i_ccbtc).
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!