CERTREQ 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 CERTREQ into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CERTREQ - Certificate enrollment
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: Certificate Request
Text Symbol: 001 = Certificate request missing
Text Symbol: 002 = Certificate request error
Text Symbol: 003 = Certificate request has incorrect name:
Text Symbol: 004 = Certificate request conversion error
Text Symbol: 005 = Certificate request signature error
Text Symbol: 006 = Mapping error
Text Symbol: 007 = Continue with original transaction
Text Symbol: 008 = Creating certificate request...
Text Symbol: 009 = Certificate request being signed by CA...
Text Symbol: 010 = You are not authorized to request certificates
Text Symbol: 011 = This function can only be used immediately after logon
INCLUDE AVWRTCXM.
No SAP DATABASE tables are accessed within this REPORT code!
SSF_GET_PARAMETER CALL FUNCTION 'SSF_GET_PARAMETER' EXPORTING APPLICATION = 'CERTRQ' IMPORTING STR_PROFILEID = wpid EXCEPTIONS SSF_PARAMETER_NOT_FOUND = 1 OTHERS = 2.
SSFC_PARSEOBJECT CALL FUNCTION 'SSFC_PARSEOBJECT' "#EC FB_OLDED EXPORTING FORMAT = 'CertRequest_convert_for_CA' INFORMATION = subject_n OBJECT_LEN = incertrequest_len IMPORTING VALUE_LEN = outcertrequest_len TABLES OBJECT = incertrequest_tab VALUE = outcertrequest_tab EXCEPTIONS SSF_KRN_ERROR = 1 SSF_KRN_NOMEMORY = 2 SSF_KRN_NOSSFLIB = 3 SSF_KRN_INVALID_PAR = 4 SSF_KRN_INVALIDOBJECT = 5 OTHERS = 6.
SUSR_USER_EXTID_SET CALL FUNCTION 'SUSR_USER_EXTID_SET' EXPORTING if_bname = sy-uname if_replace = 'X' if_type = 'DN' it_extid = lt_extid EXCEPTIONS user_not_found = 1 empty_extid = 2 no_authority = 3 lock_failure = 4 hash_error = 5 hash_conflict = 6 db_error = 7 OTHERS = 8.
SSF_KRN_SIGN_BY_AS call function 'SSF_KRN_SIGN_BY_AS' exporting ssfapplication = 'CERTRQ' b_inc_certs = 'X' B_DETACHED = ' ' ostr_input_data_l = indata_len importing ostr_signed_data_l = outdata_len crc = crc srrc = srrc * STR_SIGNERID = tables ostr_input_data = indata ostr_signed_data = outdata exceptions ssf_krn_error = 1 ssf_krn_noop = 2 ssf_krn_nomemory = 3 ssf_krn_opinv = 4 ssf_krn_nossflib = 5 ssf_krn_input_data_error = 6 ssf_krn_invalid_par = 7 ssf_krn_invalid_parlen = 8 ssf_fb_input_parameter_error = 9 others = 10 .
SSFC_BASE64_CODE CALL FUNCTION 'SSFC_BASE64_CODE' "#EC FB_OLDED EXPORTING * DECODE = ' ' * IO_SPEC = 'T' OSTR_INPUT_DATA_L = outdata_len IMPORTING OSTR_DIGESTED_DATA_L = base64data_len TABLES OSTR_INPUT_DATA = outdata OSTR_DIGESTED_DATA = base64data 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 * SSF_FB_INPUT_PARAMETER_ERROR = 8 OTHERS = 9 .
SUSR_CERT_HANDLE_REQ CALL FUNCTION 'SUSR_CERT_HANDLE_REQ' EXPORTING IF_DN = DN CHANGING CF_CERTREQ = CERTREQ EXCEPTIONS PARSE_ERROR = 1 EMPTY_REQ = 2 SIGN_ERROR = 3 BASE64_ERROR = 4 ASSIGN_FAILED = 5 OTHERS = 6.
PFL_GET_PARAMETER_LOCAL CALL FUNCTION 'PFL_GET_PARAMETER_LOCAL' TABLES PARAMETER_TABLE = PARAMETER_TABLE.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.