SAP IUUC_RECON_RC_COUNT_TABLE Function Module for IUUC: Count Table Records
IUUC_RECON_RC_COUNT_TABLE is a standard iuuc recon rc count table SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IUUC: Count Table Records processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for iuuc recon rc count table FM, simply by entering the name IUUC_RECON_RC_COUNT_TABLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: IUUC_REMOTE
Program Name: SAPLIUUC_REMOTE
Main Program: SAPLIUUC_REMOTE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function IUUC_RECON_RC_COUNT_TABLE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'IUUC_RECON_RC_COUNT_TABLE'"IUUC: Count Table Records.
EXPORTING
I_TASKNAME = "
* I_TABNAME = "Table name
* I_SQLTAB = "Table name
I_TABCLASS = "Table category
* IT_WHERE_CLAUSE = "table type for selections
IT_CLIENT = "table with several clients
* I_USE_DB_HINT = 'X' "boolean variable (X=true, -=false, space=unknown)
TABLES
ET_COUNT = "SAP tables
EXCEPTIONS
TABLE_NOT_EXIST = 1 COUNT_FAILED = 2
IMPORTING Parameters details for IUUC_RECON_RC_COUNT_TABLE
I_TASKNAME -
Data type: DMC_IU_TASKNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_TABNAME - Table name
Data type: TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SQLTAB - Table name
Data type: TABNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TABCLASS - Table category
Data type: TABCLASSOptional: No
Call by Reference: No ( called with pass by value option)
IT_WHERE_CLAUSE - table type for selections
Data type: DMC_QRY_TTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_CLIENT - table with several clients
Data type: IUUC_SY_MANDT_TABOptional: No
Call by Reference: No ( called with pass by value option)
I_USE_DB_HINT - boolean variable (X=true, -=false, space=unknown)
Data type: BOOLEANDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for IUUC_RECON_RC_COUNT_TABLE
ET_COUNT - SAP tables
Data type: DMCRECCNTOptional: No
Call by Reference: Yes
EXCEPTIONS details
TABLE_NOT_EXIST - Table does not exist
Data type:Optional: No
Call by Reference: Yes
COUNT_FAILED - Select Count Failed
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for IUUC_RECON_RC_COUNT_TABLE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_et_count | TYPE STANDARD TABLE OF DMCRECCNT, " | |||
| lv_i_taskname | TYPE DMC_IU_TASKNAME, " | |||
| lv_table_not_exist | TYPE DMC_IU_TASKNAME, " | |||
| lv_i_tabname | TYPE TABNAME, " | |||
| lv_count_failed | TYPE TABNAME, " | |||
| lv_i_sqltab | TYPE TABNAME, " | |||
| lv_i_tabclass | TYPE TABCLASS, " | |||
| lv_it_where_clause | TYPE DMC_QRY_TT, " | |||
| lv_it_client | TYPE IUUC_SY_MANDT_TAB, " | |||
| lv_i_use_db_hint | TYPE BOOLEAN. " 'X' |
|   CALL FUNCTION 'IUUC_RECON_RC_COUNT_TABLE' "IUUC: Count Table Records |
| EXPORTING | ||
| I_TASKNAME | = lv_i_taskname | |
| I_TABNAME | = lv_i_tabname | |
| I_SQLTAB | = lv_i_sqltab | |
| I_TABCLASS | = lv_i_tabclass | |
| IT_WHERE_CLAUSE | = lv_it_where_clause | |
| IT_CLIENT | = lv_it_client | |
| I_USE_DB_HINT | = lv_i_use_db_hint | |
| TABLES | ||
| ET_COUNT | = lt_et_count | |
| EXCEPTIONS | ||
| TABLE_NOT_EXIST = 1 | ||
| COUNT_FAILED = 2 | ||
| . " IUUC_RECON_RC_COUNT_TABLE | ||
ABAP code using 7.40 inline data declarations to call FM IUUC_RECON_RC_COUNT_TABLE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_i_use_db_hint) | = 'X'. | |||
Search for further information about these or an SAP related objects