SAP SSFP_REMOVECERTIFICATE Function Module for









SSFP_REMOVECERTIFICATE is a standard ssfp removecertificate 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 ssfp removecertificate FM, simply by entering the name SSFP_REMOVECERTIFICATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: SSFP
Program Name: SAPLSSFP
Main Program: SAPLSSFP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SSFP_REMOVECERTIFICATE 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 'SSFP_REMOVECERTIFICATE'"
EXPORTING
* SUBJECT = '' "Owner of X.509 certificate
* ISSUER = '' "Issuer of X.509 certificate
* SNUMBER = '' "Serial number of X.509 certificate

EXCEPTIONS
SSF_NO_TEMPPSE = 1 SSF_KRN_ERROR = 2 SSF_FILE_ERROR = 3 SSF_NOCERTIFICATE = 4 SSF_UNKNOWN_ERROR = 5
.



IMPORTING Parameters details for SSFP_REMOVECERTIFICATE

SUBJECT - Owner of X.509 certificate

Data type: CERTATTRS-SUBJECT
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

ISSUER - Issuer of X.509 certificate

Data type: CERTATTRS-ISSUER
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

SNUMBER - Serial number of X.509 certificate

Data type: CERTATTRS-SNUMBER
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

SSF_NO_TEMPPSE - No temporary PSE available

Data type:
Optional: No
Call by Reference: Yes

SSF_KRN_ERROR -

Data type:
Optional: No
Call by Reference: Yes

SSF_FILE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

SSF_NOCERTIFICATE -

Data type:
Optional: No
Call by Reference: Yes

SSF_UNKNOWN_ERROR - Unknown Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SSFP_REMOVECERTIFICATE 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 CERTATTRS-SUBJECT, "   ''
lv_ssf_no_temppse  TYPE CERTATTRS, "   
lv_issuer  TYPE CERTATTRS-ISSUER, "   ''
lv_ssf_krn_error  TYPE CERTATTRS, "   
lv_snumber  TYPE CERTATTRS-SNUMBER, "   ''
lv_ssf_file_error  TYPE CERTATTRS, "   
lv_ssf_nocertificate  TYPE CERTATTRS, "   
lv_ssf_unknown_error  TYPE CERTATTRS. "   

  CALL FUNCTION 'SSFP_REMOVECERTIFICATE'  "
    EXPORTING
         SUBJECT = lv_subject
         ISSUER = lv_issuer
         SNUMBER = lv_snumber
    EXCEPTIONS
        SSF_NO_TEMPPSE = 1
        SSF_KRN_ERROR = 2
        SSF_FILE_ERROR = 3
        SSF_NOCERTIFICATE = 4
        SSF_UNKNOWN_ERROR = 5
. " SSFP_REMOVECERTIFICATE




ABAP code using 7.40 inline data declarations to call FM SSFP_REMOVECERTIFICATE

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.

"SELECT single SUBJECT FROM CERTATTRS INTO @DATA(ld_subject).
DATA(ld_subject) = ''.
 
 
"SELECT single ISSUER FROM CERTATTRS INTO @DATA(ld_issuer).
DATA(ld_issuer) = ''.
 
 
"SELECT single SNUMBER FROM CERTATTRS INTO @DATA(ld_snumber).
DATA(ld_snumber) = ''.
 
 
 
 


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!