SAP Reports / Programs

SIPT_SAFT_STORE_PSE SAP ABAP Report - Uploading PSE Files for Digital Signature







SIPT_SAFT_STORE_PSE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to upload PSE files for Digital Signature...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SIPT_SAFT_STORE_PSE 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 SIPT_SAFT_STORE_PSE. "Basic submit
SUBMIT SIPT_SAFT_STORE_PSE AND RETURN. "Return to original report after report execution complete
SUBMIT SIPT_SAFT_STORE_PSE 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: FILE = PSE Filename
Title: Uploading PSE Files for Digital Signature


INCLUDES used within this REPORT SIPT_SAFT_STORE_PSE

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:

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = file filetype = 'BIN' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * DAT_MODE = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * CHECK_BOM = ' ' * VIRUS_SCAN_PROFILE = * NO_AUTH_CHECK = ' ' IMPORTING filelength = pseleng * HEADER = TABLES data_tab = psedata EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING * EV_GUID_16 = * EV_GUID_22 = ev_guid_32 = guid_32.

SSFPSE_UPLOAD CALL FUNCTION 'SSFPSE_UPLOAD' EXPORTING fname = psetemp pselen = pseleng TABLES pse = psedata EXCEPTIONS file_open_failed = 1 file_write_failed = 2 OTHERS = 3.

SIPT_CERT_CHECK CALL FUNCTION 'SIPT_CERT_CHECK' EXPORTING iv_psename = psefile IMPORTING ev_client_role = gv_client_role ev_serial_no = gv_serial_no ev_subject = gv_subject * EV_PROFILE_PAB = es_sipt_cert = gs_sipt_cert EXCEPTIONS error = 1 OTHERS = 2.

SSFPSE_STORE CALL FUNCTION 'SSFPSE_STORE' EXPORTING fname = psetemp psepin = gv_sesam psename = gv_psename id = gv_subject * HOST = ' ' * INSTANCEID = '00' * TYPE = 'PSE' * FORMAT = 'RAW' b_newdn = 'X' * B_CLEANUP = 'X' b_distribute = 'X' EXCEPTIONS file_load_failed = 1 storing_failed = 2 authority_missing = 3 OTHERS = 4.

SIPT_SIGN CALL FUNCTION 'SIPT_SIGN' EXPORTING iv_inv_date = 'A' iv_sy_date = 'A' iv_inv_no = 'A' iv_gross_total = 'A' iv_prev_signature = 'A' IMPORTING * ev_signature = ev_print_char = gv_print_char * ev_cert_id = * ev_key_vers = * ev_serialno = * ev_subject = EXCEPTIONS error = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING * i_log_handle = g_log_handle i_s_msg = ls_msg * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 OTHERS = 3 .

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS OTHERS = 2.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_DISPLAY_PROFILE = * I_AMODAL = ' ' EXCEPTIONS OTHERS = 1.



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 SIPT_SAFT_STORE_PSE or its description.