SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

IUUC_LOGTAB_PREPROC_CONTROLLER SAP ABAP Report - Controller Report for Logging Table Preprocessing







IUUC_LOGTAB_PREPROC_CONTROLLER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for For some tables, many changes (or subsequent inserts and deletes) per table record are executed...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 IUUC_LOGTAB_PREPROC_CONTROLLER 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 IUUC_LOGTAB_PREPROC_CONTROLLER. "Basic submit
SUBMIT IUUC_LOGTAB_PREPROC_CONTROLLER AND RETURN. "Return to original report after report execution complete
SUBMIT IUUC_LOGTAB_PREPROC_CONTROLLER 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: P_LSTDAT = Last start date for prep. jobs
Selection Text: P_LSTTIM = Last start time for prep. jobs
Selection Text: P_NUMJOB = Number of jobs to be scheduled
Selection Text: P_NXTCNT = Start next cntr job after (mn)
Title: Controller Report for Logging Table Preprocessing
Text Symbol: 001 = Job Open failed, return code
Text Symbol: 002 = Job Submit failed, return code
Text Symbol: 003 = Job Close failed, return code


INCLUDES used within this REPORT IUUC_LOGTAB_PREPROC_CONTROLLER

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:

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING im_area = 'SLOP' im_level = 'PACKAGE' im_activity = '02'.

END_TIME_DETERMINE CALL FUNCTION 'END_TIME_DETERMINE' EXPORTING duration = p_nxtcnt unit = 'MIN' IMPORTING end_date = g_next_date end_time = g_next_time EXCEPTIONS OTHERS = 0.

BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING abap_program_name = gc_progn_contr dialog = gc_no TABLES joblist = gt_joblist EXCEPTIONS OTHERS = 0.

BP_JOB_CHECKSTATE CALL FUNCTION 'BP_JOB_CHECKSTATE' EXPORTING dialog = gc_no jobcount = gs_joblist-jobcount jobname = gs_joblist-jobname IMPORTING actual_status = g_jobstate EXCEPTIONS checking_of_job_has_failed = 1 correcting_job_status_failed = 2 invalid_dialog_type = 3 job_does_not_exist = 4 no_check_privilege_given = 5 ready_switch_too_dangerous = 6 OTHERS = 7.

BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING abap_program_name = gc_progname dialog = gc_no TABLES joblist = gt_joblist EXCEPTIONS OTHERS = 0.

BP_JOB_CHECKSTATE CALL FUNCTION 'BP_JOB_CHECKSTATE' EXPORTING dialog = gc_no jobcount = gs_joblist-jobcount jobname = gs_joblist-jobname IMPORTING actual_status = g_jobstate EXCEPTIONS checking_of_job_has_failed = 1 correcting_job_status_failed = 2 invalid_dialog_type = 3 job_does_not_exist = 4 no_check_privilege_given = 5 ready_switch_too_dangerous = 6 OTHERS = 7.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = l_jobname IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = l_jobcount jobname = l_jobname sdlstrtdt = g_next_date sdlstrttm = g_next_time EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 9.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = l_jobname IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = l_jobcount jobname = l_jobname strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 9.



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