SAP CCSEC_CCNUM_STORE_ENCRYPTED Function Module for









CCSEC_CCNUM_STORE_ENCRYPTED is a standard ccsec ccnum store encrypted SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ccsec ccnum store encrypted FM, simply by entering the name CCSEC_CCNUM_STORE_ENCRYPTED into the relevant SAP transaction such as SE37 or SE38.

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



Function CCSEC_CCNUM_STORE_ENCRYPTED 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 'CCSEC_CCNUM_STORE_ENCRYPTED'"
EXPORTING
* I_GUID = "
I_CCNUM = "
* I_TRY_REUSE = "
* I_UPDATE_TASK = 'X' "

IMPORTING
E_GUID = "

EXCEPTIONS
ENCRYPTION_ERROR = 1 DUPLICATE_GUID = 2 UPDATE_ERROR = 3 INCORRECT_CALL = 4
.



IMPORTING Parameters details for CCSEC_CCNUM_STORE_ENCRYPTED

I_GUID -

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

I_CCNUM -

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

I_TRY_REUSE -

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

I_UPDATE_TASK -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CCSEC_CCNUM_STORE_ENCRYPTED

E_GUID -

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

EXCEPTIONS details

ENCRYPTION_ERROR -

Data type:
Optional: No
Call by Reference: Yes

DUPLICATE_GUID -

Data type:
Optional: No
Call by Reference: Yes

UPDATE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

INCORRECT_CALL -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CCSEC_CCNUM_STORE_ENCRYPTED 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_e_guid  TYPE CARD_GUID, "   
lv_i_guid  TYPE CARD_GUID, "   
lv_encryption_error  TYPE CARD_GUID, "   
lv_i_ccnum  TYPE CCNUM, "   
lv_duplicate_guid  TYPE CCNUM, "   
lv_i_try_reuse  TYPE XFELD, "   
lv_update_error  TYPE XFELD, "   
lv_i_update_task  TYPE XFELD, "   'X'
lv_incorrect_call  TYPE XFELD. "   

  CALL FUNCTION 'CCSEC_CCNUM_STORE_ENCRYPTED'  "
    EXPORTING
         I_GUID = lv_i_guid
         I_CCNUM = lv_i_ccnum
         I_TRY_REUSE = lv_i_try_reuse
         I_UPDATE_TASK = lv_i_update_task
    IMPORTING
         E_GUID = lv_e_guid
    EXCEPTIONS
        ENCRYPTION_ERROR = 1
        DUPLICATE_GUID = 2
        UPDATE_ERROR = 3
        INCORRECT_CALL = 4
. " CCSEC_CCNUM_STORE_ENCRYPTED




ABAP code using 7.40 inline data declarations to call FM CCSEC_CCNUM_STORE_ENCRYPTED

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.

 
 
 
 
 
 
 
DATA(ld_i_update_task) = 'X'.
 
 


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!