SSFIDEMO_DIGSIG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the standard documentation available for this report and a few details of other objects it interacts with such as tables, function modules, includes etc. If you would like to see the full code listing simply enter SSFIDEMO_DIGSIG into the relevant SAP transaction such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SSFIDEMO_DIGSIG - Digital Signature Demo (ITS)
No INCLUDES are used within this report code!
No SAP database TABLES are accessed within this report code!
SSFI_SET_SIGNTEXT CALL FUNCTION 'SSFI_SET_SIGNTEXT' EXPORTING DOCTYPE = TYPE * TRANSPORT = 'X' TABLES PLAINTEXT_IN = ORDER * ITSFIELDS_OUT = EXCEPTIONS ITS_NOT_AVAILABLE = 1 OTHERS = 2.
SSFI_GET_SIGNATURE CALL FUNCTION 'SSFI_GET_SIGNATURE' * EXPORTING * TRANSPORT = 'X' IMPORTING SIGN_LEN = LEN TABLES SIGNEDTXT_OUT = SIGNED_DOC * ITSFIELDS_IO = EXCEPTIONS ITS_NOT_AVAILABLE = 1 SYSTEM_FAILURE = 2 OTHERS = 3.
SSFI_VERIFY_SIGNATURE CALL FUNCTION 'SSFI_VERIFY_SIGNATURE' EXPORTING SIGNED_DATA_LEN = LEN * IMPORTING * SIGNERID = TABLES SIGNED_DATA = SIGNED_DOC * OUTPUT_DATA = EXCEPTIONS SYSTEM_ERROR = 1 VERIFICATION_ERROR = 2 SIGNER_ERROR = 3 MULTIPLESIGNER_ERROR = 4 OTHERS = 5.
PRINT_TEXT CALL FUNCTION 'PRINT_TEXT' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = ' ' * ARCHIVE_PARAMS = ' ' * DEVICE = 'PRINTER' DIALOG = ' ' HEADER = HEADER OPTIONS = OPTIONS * IMPORTING * NEW_ARCHIVE_PARAMS = * RESULT = TABLES LINES = LINES OTFDATA = OTF EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 UNKNOWN = 6 FORMAT = 7 TEXTFORMAT = 8 COMMUNICATION = 9 BAD_PAGEFORMAT_FOR_PRINT = 10 OTHERS = 11.
CONVERT_OTF CALL FUNCTION 'CONVERT_OTF' EXPORTING FORMAT = 'PDF' * MAX_LINEWIDTH = 132 * ARCHIVE_INDEX = ' ' * COPYNUMBER = 0 IMPORTING BIN_FILESIZE = REST BIN_FILE = FILEBIN TABLES OTF = OTF LINES = LINES EXCEPTIONS ERR_MAX_LINEWIDTH = 1 ERR_FORMAT = 2 ERR_CONV_NOT_POSSIBLE = 3 ERR_BAD_OTF = 4 OTHERS = 5.
SSFC_BASE64_ENCODE CALL FUNCTION 'SSFC_BASE64_ENCODE' EXPORTING BINDATA = FILEBIN BINLENG = REST IMPORTING B64DATA = FILEB64 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.