CCARDEC_MASK SAP Method User Exit for Masking Card Number
Below is documentation, parameters and attributes of ABAP Method CCARDEC_MASK within SAP class IF_EX_BADI_CCARDEC. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_CCARDEC into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method CCARDEC_MASK can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CCARDEC_MASK
.| Name | Type | Data Type | Description | Default Value |
| IM_CCINS | Importing | TYPE CCINS | Payment Cards: Card Type | |
| IM_CCNUM | Importing | TYPE CCNUM | Payment Cards: Card Number | |
| EX_CCNUM | Changing | TYPE CCNUM | Masked Card Number |
Exceptions of Method CCARDEC_MASK
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_CCARDEC.
DATA: lv_EX_CCNUM TYPE CCNUM,
lv_IM_CCINS TYPE CCINS,
lv_IM_CCNUM TYPE CCNUM,
lv_other TYPE c.
CALL METHOD lo_class=>CCARDEC_MASK(
EXPORTING
IM_CCINS = lv_IM_CCINS
IM_CCNUM = lv_IM_CCNUM
CHANGING
EX_CCNUM = lv_EX_CCNUM ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects