SAP Reports / Programs

ROIU_INIT_LOGS SAP ABAP Report - Remmove spool list, message, and job logs







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


Text pool values


Title: Remmove spool list, message, and job logs


INCLUDES used within this REPORT ROIU_INIT_LOGS

ROIU_VA_CONSTANTS.


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:

OIU_VA_JOBN_STATUS CALL FUNCTION 'OIU_VA_JOBN_STATUS' EXPORTING I_JOBNAME = fw_jobname * IMPORTING * E_LN_CNT = TABLES T_JOBPARAMS = ft_joblist EXCEPTIONS JOB_NOT_FOUND = 1 OTHERS = 2.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING jobcount = ft_joblist-jobcount jobname = ft_joblist-jobname * FORCEDMODE = ' ' * COMMITMODE = 'X' EXCEPTIONS CANT_DELETE_EVENT_ENTRY = 0 CANT_DELETE_JOB = 0 CANT_DELETE_JOBLOG = 0 CANT_DELETE_STEPS = 0 CANT_DELETE_TIME_ENTRY = 0 CANT_DERELEASE_SUCCESSOR = 0 CANT_ENQ_PREDECESSOR = 0 CANT_ENQ_SUCCESSOR = 0 CANT_ENQ_TBTCO_ENTRY = 0 CANT_UPDATE_PREDECESSOR = 0 CANT_UPDATE_SUCCESSOR = 0 COMMIT_FAILED = 0 JOBCOUNT_MISSING = 0 JOBNAME_MISSING = 0 JOB_DOES_NOT_EXIST = 0 JOB_IS_ALREADY_RUNNING = 0 NO_DELETE_AUTHORITY = 0 OTHERS = 0.

RSPO_L_RSELECT_SPOOLREQS CALL FUNCTION 'RSPO_L_RSELECT_SPOOLREQS' EXPORTING rqnone = c_yes rqproc = c_yes rqsucc = c_yes rqerr = c_yes * ACCESS = ' ' * PROTO = ' ' * IMPORTING * RQ_NO_ACCESS = * RQ_ACCESS = TABLES S_RQCLIE = ft_RQCLIE ** S_RQOWNE = ft_RQOWNE S_RQTITL = ft_RQTITL ** S_RQRECE = ft_RQRECE RESULT_TSP01 = ft_RESULT EXCEPTIONS ERROR = 1 OTHERS = 2.

RSPO_IDELETE_SPOOLREQ CALL FUNCTION 'RSPO_IDELETE_SPOOLREQ' EXPORTING spoolreq = ft_RESULT * IMPORTING * RC = * STATUS = EXCEPTIONS ERROR = 0 OTHERS = 0.

OIU_DELETE_MESSAGE CALL FUNCTION 'OIU_DELETE_MESSAGE' EXPORTING i_appl = p_subsys I_EXTNUMBER = fw_jobnm I_UNAME = '*' " SY-UNAME EXCEPTIONS FOUND_NO_LOGS = 0 APPL_LOG_ERROR = 0 OTHERS = 0.



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