RS_DME_CLK_LOOP_ON_INPUT_FINAL 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 RS_DME_CLK_LOOP_ON_INPUT_FINAL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RS_DME_CLUSTERING_KMEANS
Released Date:
02.04.2001
Processing type: Normal fucntion module
CALL FUNCTION 'RS_DME_CLK_LOOP_ON_INPUT_FINAL' "Final Loop on input
EXPORTING
i_sets = " rsdmem_counts_sh Small Counts
IMPORTING
e_t_return = " bapiret2_t Data Store
e_change_count = " rsdmem_counts Counts (Occurences, Frequency Distributions etc)
TABLES
e_t_clust_dtl = " rsdmsc_clust_dtl Cluster Details
i_t_set_mean_dtl = " rsdmsc_set_mean_dtl Mean Detail
i_t_mean_head = " rsdmsc_mean_head Mean Header
i_t_mean_dtl = " rsdmsc_mean_dtl Mean Detail
. " RS_DME_CLK_LOOP_ON_INPUT_FINAL
The ABAP code below is a full code listing to execute function module RS_DME_CLK_LOOP_ON_INPUT_FINAL 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_t_return | TYPE BAPIRET2_T , |
| ld_e_change_count | TYPE RSDMEM_COUNTS , |
| it_e_t_clust_dtl | TYPE STANDARD TABLE OF RSDMSC_CLUST_DTL,"TABLES PARAM |
| wa_e_t_clust_dtl | LIKE LINE OF it_e_t_clust_dtl , |
| it_i_t_set_mean_dtl | TYPE STANDARD TABLE OF RSDMSC_SET_MEAN_DTL,"TABLES PARAM |
| wa_i_t_set_mean_dtl | LIKE LINE OF it_i_t_set_mean_dtl , |
| it_i_t_mean_head | TYPE STANDARD TABLE OF RSDMSC_MEAN_HEAD,"TABLES PARAM |
| wa_i_t_mean_head | LIKE LINE OF it_i_t_mean_head , |
| it_i_t_mean_dtl | TYPE STANDARD TABLE OF RSDMSC_MEAN_DTL,"TABLES PARAM |
| wa_i_t_mean_dtl | LIKE LINE OF it_i_t_mean_dtl . |
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_t_return | TYPE BAPIRET2_T , |
| ld_i_sets | TYPE RSDMEM_COUNTS_SH , |
| it_e_t_clust_dtl | TYPE STANDARD TABLE OF RSDMSC_CLUST_DTL , |
| wa_e_t_clust_dtl | LIKE LINE OF it_e_t_clust_dtl, |
| ld_e_change_count | TYPE RSDMEM_COUNTS , |
| it_i_t_set_mean_dtl | TYPE STANDARD TABLE OF RSDMSC_SET_MEAN_DTL , |
| wa_i_t_set_mean_dtl | LIKE LINE OF it_i_t_set_mean_dtl, |
| it_i_t_mean_head | TYPE STANDARD TABLE OF RSDMSC_MEAN_HEAD , |
| wa_i_t_mean_head | LIKE LINE OF it_i_t_mean_head, |
| it_i_t_mean_dtl | TYPE STANDARD TABLE OF RSDMSC_MEAN_DTL , |
| wa_i_t_mean_dtl | LIKE LINE OF it_i_t_mean_dtl. |
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 RS_DME_CLK_LOOP_ON_INPUT_FINAL or its description.
RS_DME_CLK_LOOP_ON_INPUT_FINAL - Final Loop on input RS_DME_CLK_LOOP_ON_INPUT - Loop on input RS_DME_CLK_INIT_MEAN_FINAL - Final Mean Initialization RS_DME_CLK_INIT_MEAN - Initialize means RS_DME_CLK_GET_DISTRIBUTION - Get Distribution of attributes across clusters RS_DME_CLK_FIND_DISTANCE - Distance Calculator