SAP SSFC_PARSE_CERTIFICATE Function Module for









SSFC_PARSE_CERTIFICATE is a standard ssfc parse certificate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ssfc parse certificate FM, simply by entering the name SSFC_PARSE_CERTIFICATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: SSFC
Program Name: SAPLSSFC
Main Program: SAPLSSFC
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SSFC_PARSE_CERTIFICATE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SSFC_PARSE_CERTIFICATE'"
EXPORTING
CERTIFICATE = "
* CHECKLIBRARY = ABAP_FALSE "

IMPORTING
SUBJECT = "
SERIALINT = "
KEYTYPE = "
KEYLENGTH = "
SUBJECTKEYID = "
SUBJECTKEYIDXML = "
FINGERPRINTSHA1 = "
PKFINGERPRINT = "
KEYVALUE = "
SIGAVAILABLE = "
ISSUER = "
SERIALNO = "
VALIDFROM = "UTC time
VALIDTO = "UTC time
ALGID = "
FINGERPRINT = "
SUMMARY = "
ALL = "

EXCEPTIONS
SSF_KRN_ERROR = 1 SSF_KRN_NOMEMORY = 2 SSF_KRN_NOSSFLIB = 3 SSF_KRN_INVALID_PAR = 4
.



IMPORTING Parameters details for SSFC_PARSE_CERTIFICATE

CERTIFICATE -

Data type: XSTRING
Optional: No
Call by Reference: Yes

CHECKLIBRARY -

Data type: ABAP_BOOL
Default: ABAP_FALSE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for SSFC_PARSE_CERTIFICATE

SUBJECT -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

SERIALINT -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

KEYTYPE -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

KEYLENGTH -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

SUBJECTKEYID -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

SUBJECTKEYIDXML -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

FINGERPRINTSHA1 -

Data type: HASH160X
Optional: No
Call by Reference: Yes

PKFINGERPRINT -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

KEYVALUE -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

SIGAVAILABLE -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

ISSUER -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

SERIALNO -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

VALIDFROM - UTC time

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

VALIDTO - UTC time

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

ALGID -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

FINGERPRINT -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

SUMMARY -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

ALL -

Data type: CSEQUENCE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

SSF_KRN_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SSF_KRN_NOMEMORY - Main Memory Not Sufficient

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SSF_KRN_NOSSFLIB -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SSF_KRN_INVALID_PAR - An SSF Parameter is Erroneous

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SSFC_PARSE_CERTIFICATE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_subject  TYPE CSEQUENCE, "   
lv_certificate  TYPE XSTRING, "   
lv_ssf_krn_error  TYPE XSTRING, "   
lv_serialint  TYPE CSEQUENCE, "   
lv_keytype  TYPE CSEQUENCE, "   
lv_keylength  TYPE CSEQUENCE, "   
lv_subjectkeyid  TYPE CSEQUENCE, "   
lv_subjectkeyidxml  TYPE CSEQUENCE, "   
lv_fingerprintsha1  TYPE HASH160X, "   
lv_pkfingerprint  TYPE CSEQUENCE, "   
lv_keyvalue  TYPE CSEQUENCE, "   
lv_sigavailable  TYPE CSEQUENCE, "   
lv_issuer  TYPE CSEQUENCE, "   
lv_checklibrary  TYPE ABAP_BOOL, "   ABAP_FALSE
lv_ssf_krn_nomemory  TYPE ABAP_BOOL, "   
lv_serialno  TYPE CSEQUENCE, "   
lv_ssf_krn_nossflib  TYPE CSEQUENCE, "   
lv_validfrom  TYPE CSEQUENCE, "   
lv_ssf_krn_invalid_par  TYPE CSEQUENCE, "   
lv_validto  TYPE CSEQUENCE, "   
lv_algid  TYPE CSEQUENCE, "   
lv_fingerprint  TYPE CSEQUENCE, "   
lv_summary  TYPE CSEQUENCE, "   
lv_all  TYPE CSEQUENCE. "   

  CALL FUNCTION 'SSFC_PARSE_CERTIFICATE'  "
    EXPORTING
         CERTIFICATE = lv_certificate
         CHECKLIBRARY = lv_checklibrary
    IMPORTING
         SUBJECT = lv_subject
         SERIALINT = lv_serialint
         KEYTYPE = lv_keytype
         KEYLENGTH = lv_keylength
         SUBJECTKEYID = lv_subjectkeyid
         SUBJECTKEYIDXML = lv_subjectkeyidxml
         FINGERPRINTSHA1 = lv_fingerprintsha1
         PKFINGERPRINT = lv_pkfingerprint
         KEYVALUE = lv_keyvalue
         SIGAVAILABLE = lv_sigavailable
         ISSUER = lv_issuer
         SERIALNO = lv_serialno
         VALIDFROM = lv_validfrom
         VALIDTO = lv_validto
         ALGID = lv_algid
         FINGERPRINT = lv_fingerprint
         SUMMARY = lv_summary
         ALL = lv_all
    EXCEPTIONS
        SSF_KRN_ERROR = 1
        SSF_KRN_NOMEMORY = 2
        SSF_KRN_NOSSFLIB = 3
        SSF_KRN_INVALID_PAR = 4
. " SSFC_PARSE_CERTIFICATE




ABAP code using 7.40 inline data declarations to call FM SSFC_PARSE_CERTIFICATE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_checklibrary) = ABAP_FALSE.
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!