CERTMAP 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 CERTMAP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CERTMAP - Certificate Assignment
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.
Title: X.509 Certificate Registration: Enter Certificate
Text Symbol: 001 = Error writing certificate data in the table USREXTID (function module: SUSR_USER_SETEXTID).
Text Symbol: 002 = Error reading certificate data (Subject; Issuer; Serial no)
Text Symbol: 003 = Certificatre successfully maintained in SAP system
Text Symbol: 004 = Holder:
Text Symbol: 005 = Exhibitor:
Text Symbol: 006 = Serial no.:
Text Symbol: 007 = Continue with original transaction
Text Symbol: 008 = No certificate exists
Text Symbol: 009 = You are not authorized to enter your certificate
Text Symbol: 010 = This function can only be used immediately after logon
INCLUDE AVWRTCXM.
No SAP DATABASE tables are accessed within this REPORT code!
SSFC_BASE64_DECODE CALL FUNCTION 'SSFC_BASE64_DECODE' EXPORTING b64data = usercert_base64_string * b64leng = * b_check = IMPORTING bindata = usercert_binary_xstring EXCEPTIONS ssf_krn_error = 1 ssf_krn_noop = 2 ssf_krn_nomemory = 3 ssf_krn_opinv = 4 ssf_krn_input_data_error = 5 ssf_krn_invalid_par = 6 ssf_krn_invalid_parlen = 7 others = 8.
SUSR_CERT_ASSIGN CALL FUNCTION 'SUSR_CERT_ASSIGN' EXPORTING if_certificate = usercert_binary_xstring if_replace = 'X' EXCEPTIONS assign_failed = 1 OTHERS = 2.
SUSR_CERT_ASSIGN CALL FUNCTION 'SUSR_CERT_ASSIGN' EXPORTING IF_SUBJECT = SUBJECT IF_ISSUER = ISSUER IF_REPLACE = REPLACE EXCEPTIONS ASSIGN_FAILED = 1 OTHERS = 2.
SUSR_CERT_CHECK CALL FUNCTION 'SUSR_CERT_CHECK' EXPORTING IF_SUBJECT = SUBJECT IF_ISSUER = SPACE "works with usrextid, but not with rulebased mapp IMPORTING EF_RESULT = RESULT EXCEPTIONS CHECK_FAILED = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.