SAP Reports / Programs

IUUC_COMPARE_NUM_OF_TABLE_ENTR SAP ABAP Report - compare number of table entries in sender and receiver system







IUUC_COMPARE_NUM_OF_TABLE_ENTR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for After the delta replay for an incremental upgrade has been completed, this report can be used to check if for all the tables for which a delta replay was done, the number of records is the same in the sender system (the old productive system) and the receiver system (the future productive system)...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_COMPARE_NUM_OF_TABLE_ENTR into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

IUUC_CMP_TAB_ENTRIES - compare # tab entries in snd/rcv sys


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_COMPARE_NUM_OF_TABLE_ENTR. "Basic submit
SUBMIT IUUC_COMPARE_NUM_OF_TABLE_ENTR AND RETURN. "Return to original report after report execution complete
SUBMIT IUUC_COMPARE_NUM_OF_TABLE_ENTR 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_ACT_ID = D Activity ID
Selection Text: P_CLNT = count only rfc client
Selection Text: P_MT_ID = Mass Transfer ID
Selection Text: P_PACK = D Pack ID
Selection Text: P_PHASE = D Phase
Selection Text: P_TASKS = # of parallel - running counts
Selection Text: S_PROC = D process option
Selection Text: S_TABN = table name selection
Title: compare number of table entries in sender and receiver system
Text Symbol: 001 = No differences were found
Text Symbol: FUN = Compare table entries
001 Table Name Client snd entr. rcv entr.


INCLUDES used within this REPORT IUUC_COMPARE_NUM_OF_TABLE_ENTR

INCLUDE CNV_MBT_SM_PARAMS.
INCLUDE CNV_MBT_SUB_SM_MACROS.


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:

IUUC_TABLES_COUNT_ENTRIES CALL FUNCTION 'IUUC_TABLES_COUNT_ENTRIES' DESTINATION g_sndrfc STARTING NEW TASK g_taskname PERFORMING return_sender ON END OF TASK EXPORTING iv_tabname = gs_snd_tabcount-tabname iv_max_entries = gc_max_entr iv_client_only = p_clnt EXCEPTIONS communication_failure = 1 MESSAGE g_errtext system_failure = 2 MESSAGE g_errtext.

IUUC_TABLES_COUNT_ENTRIES CALL FUNCTION 'IUUC_TABLES_COUNT_ENTRIES' DESTINATION g_rcvrfc STARTING NEW TASK g_taskname PERFORMING return_receiver ON END OF TASK EXPORTING iv_tabname = gs_rcv_tabcount-tabname iv_max_entries = gc_max_entr iv_client_only = p_clnt EXCEPTIONS communication_failure = 1 MESSAGE g_errtext system_failure = 2 MESSAGE g_errtext.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = gs_substate-jobcount jobname = gs_substate-jobname EXCEPTIONS OTHERS = 0.

CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' TABLES im_cnvmbtsubstate = gt_substate EXCEPTIONS OTHERS = 0.

RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = g_sndrfc EXCEPTIONS OTHERS = 0.

RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = g_rcvrfc EXCEPTIONS OTHERS = 0.

IUUC_TABLES_COUNT_ENTRIES CALL FUNCTION 'IUUC_TABLES_COUNT_ENTRIES' DESTINATION g_sndrfc EXPORTING iv_tabname = gs_snd_tabcount-tabname iv_per_client = abap_true IMPORTING et_num_client = lt_snd_clientcount EXCEPTIONS communication_failure = 1 MESSAGE g_errtext system_failure = 2 MESSAGE g_errtext OTHERS = 3.

IUUC_TABLES_COUNT_ENTRIES CALL FUNCTION 'IUUC_TABLES_COUNT_ENTRIES' DESTINATION g_rcvrfc EXPORTING iv_tabname = gs_snd_tabcount-tabname iv_per_client = abap_true IMPORTING et_num_client = lt_rcv_clientcount EXCEPTIONS communication_failure = 1 MESSAGE g_errtext system_failure = 2 MESSAGE g_errtext OTHERS = 3.

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.

CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' TABLES im_cnvmbtsubstate = gt_substate EXCEPTIONS OTHERS = 0.

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 invalid_target = 8 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_COMPARE_NUM_OF_TABLE_ENTR or its description.