SAP Reports / Programs | Basis Components | Security | Secure Store and Forward(BC-SEC-SSF) SAP BC

SSFSDEMO SAP ABAP Report - Mini-Online Store (Digital Signature)







SSFSDEMO 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 SSFSDEMO into the relevant SAP transactions such as SE38 or SE80


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


Text pool values


Selection Text: XML = XML
Selection Text: TXT = TXT
Selection Text: PDF = PDF
Selection Text: ITEM4 = ITEM4
Selection Text: ITEM3 = ITEM3
Selection Text: ITEM2 = ITEM2
Selection Text: ITEM1 = ITEM1
Selection Text: HTM = HTML
Selection Text: CITEM2 = CITEM2
Selection Text: CITEM1 = CITEM1
Title: Mini-Online Store (Digital Signature)
Text Symbol: VER = Document from Verification (Binary):
Text Symbol: TPR = Total Price
Text Symbol: SIG = Signatory
Text Symbol: REV = Result of Verification:
Text Symbol: RES = Result of Signature:
Text Symbol: PRI = Price
Text Symbol: ORD = Purchase Order
Text Symbol: ONV = Currently Valid (Time)
Text Symbol: ONS = KeyUsage "Digital Signature" or Empty
Text Symbol: NOI = No Goods Selected
Text Symbol: IT4 = Mousepad, SAP NetWeaver
Text Symbol: IT3 = Trackball, Supertrack, Green
Text Symbol: IT2 = Keyboard, ArtTec, Mod. 1791
Text Symbol: IT1 = Mouse, Easyclick, 3 Buttons
Text Symbol: ERV = Error When Verifying Signature:
Text Symbol: ERS = Error When Calling Signature Control:
Text Symbol: DSI = Signed Document (Binary):
Text Symbol: DOC = Document To Be Signed (Binary):
Text Symbol: CER = Certificate Selection
Text Symbol: ART = Goods


INCLUDES used within this REPORT SSFSDEMO

No INCLUDES are used within this REPORT code!


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:

SSFS_CALL_CONTROL CALL FUNCTION 'SSFS_CALL_CONTROL' EXPORTING * TXTDOCUMENT = doc_tab BINDOCUMENT = doc_bin DOC_TYPE = doc_type ONLY_SIGCERT = citem1 ONLY_VALIDCERT = citem2 IMPORTING CRC = crc SIGNATURE = doc_sig EXCEPTIONS PARAMETER_ERROR = 1 CONVERSION_ERROR = 2 CONTROL_ERROR = 3 FRONTEND_ERROR = 4 OTHERS = 5.

SSFS_SERVER_VERIFY CALL FUNCTION 'SSFS_SERVER_VERIFY' EXPORTING * SSFAPPLIC = SIGNATURE = doc_sig IMPORTING CRC = crc SIGNERLIST = sig_list TXTDOCUMENT_OUT = doc_tab BINDOCUMENT_OUT = doc_ver EXCEPTIONS KERNEL_ERROR = 1 PARAMETER_ERROR = 2 OTHERS = 3.

SSF_GET_DEVICE_TYPE CALL FUNCTION 'SSF_GET_DEVICE_TYPE' EXPORTING I_LANGUAGE = SY-LANGU I_APPLICATION = 'SAPDEFAULT' IMPORTING E_DEVTYPE = OPTIONS-TDPRINTER EXCEPTIONS NO_LANGUAGE = 1 LANGUAGE_NOT_INSTALLED = 2 NO_DEVTYPE_FOUND = 3 SYSTEM_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 = BIN_FILE = XDOC TABLES OTF = OTF LINES = LINES EXCEPTIONS ERR_MAX_LINEWIDTH = 1 ERR_FORMAT = 2 ERR_CONV_NOT_POSSIBLE = 3 ERR_BAD_OTF = 4 OTHERS = 5.

SSFS_ENCODE_TEXT CALL FUNCTION 'SSFS_ENCODE_TEXT' EXPORTING TEXT_DOC = ORDER IMPORTING ENCODED_DOC = XDOC EXCEPTIONS CONVERSION_ERROR = 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 SSFSDEMO or its description.