SAP CCA_READ_BP_CARD_DATA Function Module for NOTRANSL: Kartendaten wahlweise aus CCARD oder PCA_MASTER









CCA_READ_BP_CARD_DATA is a standard cca read bp card data 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: Kartendaten wahlweise aus CCARD oder PCA_MASTER 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 cca read bp card data FM, simply by entering the name CCA_READ_BP_CARD_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function CCA_READ_BP_CARD_DATA 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 'CCA_READ_BP_CARD_DATA'"NOTRANSL: Kartendaten wahlweise aus CCARD oder PCA_MASTER
EXPORTING
* I_CCINS = "Payment Card Type
* I_CCNUM = "Payment Cards: Card Number
* I_CARD_GUID = "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
E_PCA_MASTER_DATA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_CCARD = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_CARD_GUID = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_BLOCK_T = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
CARD_DATA_NOT_FOUND = 1 INVALID_PARAMETERS = 2
.



IMPORTING Parameters details for CCA_READ_BP_CARD_DATA

I_CCINS - Payment Card Type

Data type: CC_INSTITUTE
Optional: Yes
Call by Reference: Yes

I_CCNUM - Payment Cards: Card Number

Data type: CCNUM
Optional: Yes
Call by Reference: Yes

I_CARD_GUID - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CARD_GUID_MAP
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CCA_READ_BP_CARD_DATA

E_PCA_MASTER_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PCA_MASTER_DATA
Optional: No
Call by Reference: Yes

E_CCARD - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CCARD
Optional: No
Call by Reference: Yes

E_CARD_GUID - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: CARD_GUID
Optional: No
Call by Reference: Yes

E_BLOCK_T - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PCAT_BUS_BLOCK_T
Optional: No
Call by Reference: Yes

EXCEPTIONS details

CARD_DATA_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

INVALID_PARAMETERS - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CCA_READ_BP_CARD_DATA 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:
lv_i_ccins  TYPE CC_INSTITUTE, "   
lv_e_pca_master_data  TYPE PCA_MASTER_DATA, "   
lv_card_data_not_found  TYPE PCA_MASTER_DATA, "   
lv_e_ccard  TYPE CCARD, "   
lv_i_ccnum  TYPE CCNUM, "   
lv_invalid_parameters  TYPE CCNUM, "   
lv_e_card_guid  TYPE CARD_GUID, "   
lv_i_card_guid  TYPE CARD_GUID_MAP, "   
lv_e_block_t  TYPE PCAT_BUS_BLOCK_T. "   

  CALL FUNCTION 'CCA_READ_BP_CARD_DATA'  "NOTRANSL: Kartendaten wahlweise aus CCARD oder PCA_MASTER
    EXPORTING
         I_CCINS = lv_i_ccins
         I_CCNUM = lv_i_ccnum
         I_CARD_GUID = lv_i_card_guid
    IMPORTING
         E_PCA_MASTER_DATA = lv_e_pca_master_data
         E_CCARD = lv_e_ccard
         E_CARD_GUID = lv_e_card_guid
         E_BLOCK_T = lv_e_block_t
    EXCEPTIONS
        CARD_DATA_NOT_FOUND = 1
        INVALID_PARAMETERS = 2
. " CCA_READ_BP_CARD_DATA




ABAP code using 7.40 inline data declarations to call FM CCA_READ_BP_CARD_DATA

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.

 
 
 
 
 
 
 
 
 


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!