CNS_DB_CP_GET_COUNT_OBJ is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CNS_DB_CP_GET_COUNT_OBJ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CNS_DB_CP_GET
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CNS_DB_CP_GET_COUNT_OBJ' "
* EXPORTING
* i_appl_id = " cns_dte_appl_id Application ID
* i_expobjtype = " cns_dte_expobjtype Category of Export Object
* i_tab_cp_chgtype = " cns_tab_cp_chgtype Change Category
* i_group_id = " cns_dte_group_id Grouping ID
* i_tab_cp_status = " cns_tab_cp_status Status of Change Pointer
* i_valid_from = " cns_dte_timst_valid_from Valid-On Time Stamp
* i_created_from = " cns_dte_timst_created_on Time Stamp at Time of Creation
* i_created_to = " cns_dte_timst_created_on Time Stamp at Time of Creation
* i_expobjkey_min = " cns_dte_expobjkey Export Object Key
* i_expobjkey_max = " cns_dte_expobjkey Export Object Key
* i_receiver = " cns_dte_receiver
* i_bundle_id = " cns_dte_cp_bundle_id
* i_valid_to = " cns_dte_timst_valid_from
* i_add_sel = " cns_dte_add_sel
IMPORTING
e_cp_counter = " int4 Natural Number
. " CNS_DB_CP_GET_COUNT_OBJ
The ABAP code below is a full code listing to execute function module CNS_DB_CP_GET_COUNT_OBJ including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_cp_counter | TYPE INT4 . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_cp_counter | TYPE INT4 , |
| ld_i_appl_id | TYPE CNS_DTE_APPL_ID , |
| ld_i_expobjtype | TYPE CNS_DTE_EXPOBJTYPE , |
| ld_i_tab_cp_chgtype | TYPE CNS_TAB_CP_CHGTYPE , |
| ld_i_group_id | TYPE CNS_DTE_GROUP_ID , |
| ld_i_tab_cp_status | TYPE CNS_TAB_CP_STATUS , |
| ld_i_valid_from | TYPE CNS_DTE_TIMST_VALID_FROM , |
| ld_i_created_from | TYPE CNS_DTE_TIMST_CREATED_ON , |
| ld_i_created_to | TYPE CNS_DTE_TIMST_CREATED_ON , |
| ld_i_expobjkey_min | TYPE CNS_DTE_EXPOBJKEY , |
| ld_i_expobjkey_max | TYPE CNS_DTE_EXPOBJKEY , |
| ld_i_receiver | TYPE CNS_DTE_RECEIVER , |
| ld_i_bundle_id | TYPE CNS_DTE_CP_BUNDLE_ID , |
| ld_i_valid_to | TYPE CNS_DTE_TIMST_VALID_FROM , |
| ld_i_add_sel | TYPE CNS_DTE_ADD_SEL . |
Determines the number of different objects that meet the
selection criteria.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CNS_DB_CP_GET_COUNT_OBJ or its description.