SAP Reports / Programs | Application Platform | Master Data | Payment Cards(AP-MD-PCA) SAP AP

PCA_MASS_CRYPTING SAP ABAP Report - Encryption or Decoding as Mass Processing







PCA_MASS_CRYPTING is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Mass Encrypting and Decrypting of Payment Cards The mass encrypting and decrypting of payment cards supports the following scenarios: If you have not used encryption for payment cards until now and you would like to encrypt the payment cards currently maintained in the system, you can subsequently encrypt all the unencrypted payment cards with this report...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PCA_MC - Mass Encryption /Decryption


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 PCA_MASS_CRYPTING. "Basic submit
SUBMIT PCA_MASS_CRYPTING AND RETURN. "Return to original report after report execution complete
SUBMIT PCA_MASS_CRYPTING 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: TEST = Test Run
Selection Text: SO_CTYPE = D Payment Card Type
Selection Text: ENVELOP = Encrypt
Selection Text: ENTRIES = Number of Cards
Selection Text: DEVELOP = Decode
Selection Text: CHECKF = Preliminary Check
Title: Encryption or Decoding as Mass Processing
Text Symbol: T07 = Expected Runtime
Text Symbol: T06 = Card GUID
Text Symbol: T05 = Card Number New
Text Symbol: T04 = Encrypted Value New
Text Symbol: T03 = Card Number Old
Text Symbol: T02 = Encrypted Value Old
Text Symbol: T01 = Error Message
Text Symbol: SB3 = & Hours & Minutes & Seconds
Text Symbol: SB2 = Selection
Text Symbol: SB1 = Analysis Before Program Start
Text Symbol: P02 = & % Encrypted
Text Symbol: P01 = & % Decoded
Text Symbol: E04 = Card number not encrypted externally
Text Symbol: E03 = No entries found for the required processing
Text Symbol: E02 = External encryption not successful
Text Symbol: E01 = No card types with active encryption were found


INCLUDES used within this REPORT PCA_MASS_CRYPTING

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:

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = gv_repid i_bypassing_buffer = 'X' it_fieldcat = gt_fieldcat[] it_events = gt_events[] tables t_outtab = gt_output.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = lv_percent text = lv_text.

MD5_CALCULATE_HASH_FOR_CHAR * call function 'MD5_CALCULATE_HASH_FOR_CHAR' * exporting * data = lv_string * exceptions * others = 0.

CALCULATE_HASH_FOR_CHAR call function 'CALCULATE_HASH_FOR_CHAR' exporting alg = 'MD5' data = lv_string * LENGTH = 0 * importing * hash = lv_hash * HASHLEN = * HASHX = * HASHXLEN = exceptions * UNKNOWN_ALG = 1 * PARAM_ERROR = 2 * INTERNAL_ERROR = 3 others = 1.



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 PCA_MASS_CRYPTING or its description.