SAP Reports / Programs | Sales and Distribution | Billing | Payment Cards(SD-BIL-IV-PC) SAP SD

CCARDEC_TRANSFORM_VCKUN_VCNUM SAP ABAP Report - Conversion Report for Credit Cards in Customer Master dur.Encryption







CCARDEC_TRANSFORM_VCKUN_VCNUM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter CCARDEC_TRANSFORM_VCKUN_VCNUM into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT CCARDEC_TRANSFORM_VCKUN_VCNUM. "Basic submit
SUBMIT CCARDEC_TRANSFORM_VCKUN_VCNUM AND RETURN. "Return to original report after report execution complete
SUBMIT CCARDEC_TRANSFORM_VCKUN_VCNUM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_KUNNR = Restrict: Customer Number
Selection Text: P_TEST = Test Flag
Selection Text: P_PRINT = With Log
Selection Text: P_ENCRYP = Encrypt
Selection Text: P_DECRYP = Decrypt
Selection Text: P_CCNUM = Credit Cards in Cust. Master
Title: Conversion Report for Credit Cards in Customer Master dur.Encryption
Text Symbol: 107 = Not authorized to display credit cards
Text Symbol: 106 = Report execution cancelled
Text Symbol: 105 = Caution
Text Symbol: 104 = Cancel
Text Symbol: 103 = Execute
Text Symbol: 100 = You execute the report at your own risk
Text Symbol: 016 = Warning
Text Symbol: 015 = Admin.
Text Symbol: 014 = VCNUM
Text Symbol: 013 = Runtime
Text Symbol: 012 = Proc.
Text Symbol: 011 = Table
Text Symbol: 010 = Number of Entries
Text Symbol: 007 = Statistics for Decryption of Credit Cards in Customer Master in Test
Text Symbol: 006 = Statistics for Decryption of Credit Cards in Customer Master
Text Symbol: 005 = Statistics for Encryption of Credit Cards in Customer Master in Test
Text Symbol: 004 = Statistics for Encryption of Credit Cards in Customer Master
Text Symbol: 003 = Decrypt
Text Symbol: 002 = Decrypt
Text Symbol: 001 = Encrypt


INCLUDES used within this REPORT CCARDEC_TRANSFORM_VCKUN_VCNUM

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CCARDEC_DO_ENVELOPE CALL FUNCTION 'CCARDEC_DO_ENVELOPE' EXPORTING IM_CCINS = wa_vckun-ccins IMPORTING EX_RESULT = SECURE_CCARD_ACTIVE.

CCARD_ENVELOPE CALL FUNCTION 'CCARD_ENVELOPE' EXPORTING IM_CCNUM = wa_vcnum-ccnum IMPORTING EX_CCARD_BIN = secure_ccard_bin EXCEPTIONS ENVELOPE_FAILED = 1 OTHERS = 2.

CCARDEC_MASK CALL FUNCTION 'CCARDEC_MASK' EXPORTING IM_CCNUM = wa_vcnum-ccnum IM_CCINS = wa_vcnum-ccins IMPORTING EX_CCNUM = wa_vcnum-ccnum_mask.

CCARDEC_INSERT CALL FUNCTION 'CCARDEC_INSERT' EXPORTING im_ccard_bin = secure_ccard_bin im_ccard_origin = 'MD_NUM' im_ccard_desc = secure_ccard_description IMPORTING ex_ccard_guid = secure_ccard_guid.

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING iv_guid_c32 = secure_ccard_guid IMPORTING ev_guid_c22 = guid_22 EXCEPTIONS parameters_error = 1 others = 2.

CCARDEC_STORE CALL FUNCTION 'CCARDEC_STORE' EXCEPTIONS store_failed = 1 others = 2.

CCARD_ENVELOPE CALL FUNCTION 'CCARD_ENVELOPE' EXPORTING im_ccnum = wa_vckun-ccnum IMPORTING ex_ccard_bin = secure_ccard_bin EXCEPTIONS envelope_failed = 1 others = 2.

CCARDEC_MASK CALL FUNCTION 'CCARDEC_MASK' EXPORTING im_ccnum = wa_vckun-ccnum IM_CCINS = wa_vckun-CCINS IMPORTING ex_ccnum = wa_vckun-ccnum_mask.

CCARDEC_INSERT CALL FUNCTION 'CCARDEC_INSERT' EXPORTING im_ccard_bin = secure_ccard_bin im_ccard_origin = 'MD_KUN' im_ccard_desc = secure_ccard_description IMPORTING ex_ccard_guid = secure_ccard_guid.

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING iv_guid_c32 = secure_ccard_guid IMPORTING ev_guid_c22 = guid_22 EXCEPTIONS parameters_error = 1 others = 2.

CCARDEC_STORE CALL FUNCTION 'CCARDEC_STORE' EXCEPTIONS store_failed = 1 others = 2.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'V/' I_DTYPE = 'E' I_MSGNR = '053'.

CCSECA_CHECK_DISPLAY_ALLOWED CALL FUNCTION 'CCSECA_CHECK_DISPLAY_ALLOWED' * EXPORTING * I_TABID = * I_TABKEY = EXCEPTIONS NO_AUTHORIZATION = 1 OTHERS = 2 .

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING * DEFAULTOPTION = '1' TEXTLINE1 = TEXT-100 TEXT_OPTION1 = TEXT-103 TEXT_OPTION2 = TEXT-104 ICON_TEXT_OPTION1 = 'ICON_EXECUTE_OBJECT' ICON_TEXT_OPTION2 = 'ICON_CANCEL' TITEL = TEXT-105 * START_COLUMN = 25 * START_ROW = 6 CANCEL_DISPLAY = ' ' IMPORTING ANSWER = LV_TEXT .

SD_CCARD_READ CALL FUNCTION 'SD_CCARD_READ' EXPORTING i_kunnr = wa_xvckun-kunnr TABLES t_vcnum = xvcnum t_vckun = xvckun.

CCARDEC_DELETE CALL FUNCTION 'CCARDEC_DELETE' EXPORTING IM_CCARD_GUID = wa_vcnum-CCARD_GUID.

CCARDEC_STORE CALL FUNCTION 'CCARDEC_STORE'.

CCARDEC_DELETE CALL FUNCTION 'CCARDEC_DELETE' EXPORTING IM_CCARD_GUID = wa_vckun-CCARD_GUID.

CCARDEC_STORE





CALL FUNCTION 'CCARDEC_STORE'.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'VCKUN' CHANGING ct_fieldcat = GT_fieldcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_grid_title = gv_grid_title it_fieldcat = gt_fieldcat i_save = 'A' Tables T_OUTTAB = prot_vckun[].



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name CCARDEC_TRANSFORM_VCKUN_VCNUM or its description.