SAP Reports / Programs | Cross-Application Components | General Application Functions | Data Transfer(CA-GTF-DCM) SAP CA

PROTOF01 SAP ABAP INCLUDE - Log Analyses







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


Text pool values


Title: Log Analyses


INCLUDES used within this REPORT PROTOF01

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:

APPL_LOG_READ_DB call function 'APPL_LOG_READ_DB' exporting object = 'FDU1' subobject = '*' external_number = '*' date_from = d_from date_to = d_to time_from = t_from time_to = t_to log_class = '4' program_name = '*' transaction_code = '*' user_id = user mode = '+' importing number_of_logs = cnt_conv_logs tables header_data = header_data header_parameters = header_parameters messages = messages message_parameters = message_parameters exceptions others = 0.

TRINT_GET_VARS_FROM_LINE call function 'TRINT_GET_VARS_FROM_LINE' exporting iv_line = wrk_line importing ev_line = in_line ev_var1 = msgvar1 ev_var2 = msgvar2 ev_var3 = msgvar3 ev_var4 = msgvar4 exceptions others = 1.

TRINT_GET_VARS_FROM_LINE call function 'TRINT_GET_VARS_FROM_LINE' exporting iv_line = wrk_line importing ev_line = in_line ev_var1 = msgvar1 ev_var2 = msgvar2 ev_var3 = msgvar3 ev_var4 = msgvar4 exceptions others = 1.

TRINT_GET_VARS_FROM_LINE call function 'TRINT_GET_VARS_FROM_LINE' exporting iv_line = wrk_line importing ev_line = in_line ev_var1 = msgvar1 ev_var2 = msgvar2 ev_var3 = msgvar3 ev_var4 = msgvar4 exceptions others = 1.

TRINT_GET_VARS_FROM_LINE call function 'TRINT_GET_VARS_FROM_LINE' exporting iv_line = wrk_line importing ev_line = in_line ev_var1 = msgvar1 ev_var2 = msgvar2 ev_var3 = msgvar3 ev_var4 = msgvar4 exceptions others = 1.

TRINT_GET_VARS_FROM_LINE call function 'TRINT_GET_VARS_FROM_LINE' exporting iv_line = wrk_line importing ev_line = in_line ev_var1 = msgvar1 ev_var2 = msgvar2 ev_var3 = msgvar3 ev_var4 = msgvar4 exceptions others = 1.

TRINT_GET_VARS_FROM_LINE call function 'TRINT_GET_VARS_FROM_LINE' exporting iv_line = wrk_line importing ev_line = in_line ev_var1 = msgvar1 ev_var2 = msgvar2 ev_var3 = msgvar3 ev_var4 = msgvar4 exceptions others = 1.

TRINT_GET_VARS_FROM_LINE call function 'TRINT_GET_VARS_FROM_LINE' exporting iv_line = wrk_line importing ev_line = in_line ev_var1 = msgvar1 ev_var2 = msgvar2 ev_var3 = msgvar3 ev_var4 = msgvar4 exceptions others = 1.

APPL_LOG_READ_DB_WITH_LOGNO CALL FUNCTION 'APPL_LOG_READ_DB_WITH_LOGNO' TABLES LOGNUMBERS = it_lognumbers HEADER_DATA = header_data HEADER_PARAMETERS = header_parameters MESSAGES = messages MESSAGE_PARAMETERS = message_parameters.

TH_SYSTEMWIDE_WPINFO call function 'TH_SYSTEMWIDE_WPINFO' tables wplist = wplist exceptions argument_error = 1 send_error = 2 others = 3.

SHOW_JOBSTATE call function 'SHOW_JOBSTATE' exporting jobcount = log_headers-jobid jobname = log_headers-jobname importing aborted = l_aborted finished = l_finished ready = l_ready running = l_running scheduled = l_scheduled exceptions jobcount_missing = 1 jobname_missing = 2 job_notex = 3 others = 4.

TR_READ_AND_DISPLAY_LOG call function 'TR_READ_AND_DISPLAY_LOG' exporting iv_log_type = 'DB' iv_logname_db = log_headers-protname iv_titlebar = '' iv_top_line = '0' iv_display_level = '1' iv_with_long_text_icon = 'X' iv_with_refresh_icon = 'X' iv_language = syst-langu exceptions invalid_input = 1 access_error = 2 others = 3.

APPL_LOG_DISPLAY call function 'APPL_LOG_DISPLAY' exporting OBJECT = 'FDU1' * SUBOBJECT = ' ' external_number = log_headers-extnumber * OBJECT_ATTRIBUTE = 0 * SUBOBJECT_ATTRIBUTE = 0 * EXTERNAL_NUMBER_ATTRIBUTE = 0 date_from = d_from time_from = t_from date_to = d_to time_to = t_to * TITLE_SELECTION_SCREEN = ' ' * TITLE_LIST_SCREEN = ' ' * COLUMN_SELECTION = '11112221122 ' suppress_selection_dialog = 'X' * COLUMN_SELECTION_MSG_JUMP = '1' * EXTERNAL_NUMBER_DISPLAY_LENGTH = 100 * IMPORTING * NUMBER_OF_PROTOCOLS = exceptions no_authority = 1 others = 2.

BP_JOBLOG_SHOW call function 'BP_JOBLOG_SHOW' exporting client = sy-mandt jobcount = log_headers-jobid jobname = log_headers-jobname exceptions error_reading_jobdata = 1 error_reading_joblog_data = 2 jobcount_missing = 3 joblog_does_not_exist = 4 joblog_is_empty = 5 joblog_show_canceled = 6 jobname_missing = 7 job_does_not_exist = 8 no_joblog_there_yet = 9 no_show_privilege_given = 10 others = 11.

ENQUEUE_EJBFDU0002 CALL FUNCTION 'ENQUEUE_EJBFDU0002' EXPORTING MODE_DDPRH = 'E' PROTNAME = log_headers-protname * X_PROTNAME = ' ' _SCOPE = '3' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

FDU_ERROR_HANDLING_DO call function 'FDU_ERROR_HANDLING_DO' exporting protname = log_headers-protname extnumber = log_headers-extnumber lognumber = log_headers-lognumber anwdg = '7' repid = log_headers-repid text_fdu = text_fdu exceptions others = 0.

DEQUEUE_EJBFDU0002 CALL FUNCTION 'DEQUEUE_EJBFDU0002' EXPORTING MODE_DDPRH = 'E' PROTNAME = log_headers-protname.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting text_question = text-de1 titlebar = text-021 display_cancel_button = '' default_button = 2 importing answer = answer exceptions others = 0.

FDU_PROT_DELETE





CALL FUNCTION 'FDU_PROT_DELETE' TABLES SAV_DDPRH = SAV_DDPRH SAV_LOGNUMBER = SAV_LOGNUMBER EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

KCD_PROTOCOL_NUMBER_SET call function 'KCD_PROTOCOL_NUMBER_SET' exporting extprotnr = log_headers-extnumber 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 PROTOF01 or its description.