SAP Reports / Programs

CERTMAP SAP ABAP Report - X.509 Certificate Registration: Enter Certificate







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


Transaction Code(s):

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

CERTMAP - Certificate Assignment


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 CERTMAP. "Basic submit
SUBMIT CERTMAP AND RETURN. "Return to original report after report execution complete
SUBMIT CERTMAP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT CERTMAP

INCLUDE AVWRTCXM.


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:

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.



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