RS_DME_CLK2_START_CLUSTER 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_CLK2_START_CLUSTER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RS_DME_CLUSTERING_KMEANS_2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RS_DME_CLK2_START_CLUSTER' "Start
EXPORTING
i_s_user_param = " rsdmsc_user_param Clustering - User Paramaters
i_no_of_recs = " rsdmem_counts Counts (Occurences, Frequency Distributions etc)
IMPORTING
e_t_return = " bapiret2_t Return parameter table
TABLES
i_t_attr_head = " rsdmsc_attr_head Attribute Header
i_t_attr_raw = " rsdmsc_attr_head Attribute Header
i_t_attr_key = " rsdmsc_attr_head Attribute Header
i_t_attr_dtl = " rsdmsc_attr_dtl Attribute Detail
e_t_mean_head = " rsdmsc_mean_head Mean Header
e_t_mean_dtl = " rsdmsc_mean_dtl Mean Detail
e_t_clust_result = " rsdmsc_clust_result Cluster Results
e_t_dist_info = " rsdmsc_clust_distribution Distribution of Attribute Values among a Cluster
. " RS_DME_CLK2_START_CLUSTER
The ABAP code below is a full code listing to execute function module RS_DME_CLK2_START_CLUSTER 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 , |
| it_i_t_attr_head | TYPE STANDARD TABLE OF RSDMSC_ATTR_HEAD,"TABLES PARAM |
| wa_i_t_attr_head | LIKE LINE OF it_i_t_attr_head , |
| it_i_t_attr_raw | TYPE STANDARD TABLE OF RSDMSC_ATTR_HEAD,"TABLES PARAM |
| wa_i_t_attr_raw | LIKE LINE OF it_i_t_attr_raw , |
| it_i_t_attr_key | TYPE STANDARD TABLE OF RSDMSC_ATTR_HEAD,"TABLES PARAM |
| wa_i_t_attr_key | LIKE LINE OF it_i_t_attr_key , |
| it_i_t_attr_dtl | TYPE STANDARD TABLE OF RSDMSC_ATTR_DTL,"TABLES PARAM |
| wa_i_t_attr_dtl | LIKE LINE OF it_i_t_attr_dtl , |
| it_e_t_mean_head | TYPE STANDARD TABLE OF RSDMSC_MEAN_HEAD,"TABLES PARAM |
| wa_e_t_mean_head | LIKE LINE OF it_e_t_mean_head , |
| it_e_t_mean_dtl | TYPE STANDARD TABLE OF RSDMSC_MEAN_DTL,"TABLES PARAM |
| wa_e_t_mean_dtl | LIKE LINE OF it_e_t_mean_dtl , |
| it_e_t_clust_result | TYPE STANDARD TABLE OF RSDMSC_CLUST_RESULT,"TABLES PARAM |
| wa_e_t_clust_result | LIKE LINE OF it_e_t_clust_result , |
| it_e_t_dist_info | TYPE STANDARD TABLE OF RSDMSC_CLUST_DISTRIBUTION,"TABLES PARAM |
| wa_e_t_dist_info | LIKE LINE OF it_e_t_dist_info . |
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_s_user_param | TYPE RSDMSC_USER_PARAM , |
| it_i_t_attr_head | TYPE STANDARD TABLE OF RSDMSC_ATTR_HEAD , |
| wa_i_t_attr_head | LIKE LINE OF it_i_t_attr_head, |
| ld_i_no_of_recs | TYPE RSDMEM_COUNTS , |
| it_i_t_attr_raw | TYPE STANDARD TABLE OF RSDMSC_ATTR_HEAD , |
| wa_i_t_attr_raw | LIKE LINE OF it_i_t_attr_raw, |
| it_i_t_attr_key | TYPE STANDARD TABLE OF RSDMSC_ATTR_HEAD , |
| wa_i_t_attr_key | LIKE LINE OF it_i_t_attr_key, |
| it_i_t_attr_dtl | TYPE STANDARD TABLE OF RSDMSC_ATTR_DTL , |
| wa_i_t_attr_dtl | LIKE LINE OF it_i_t_attr_dtl, |
| it_e_t_mean_head | TYPE STANDARD TABLE OF RSDMSC_MEAN_HEAD , |
| wa_e_t_mean_head | LIKE LINE OF it_e_t_mean_head, |
| it_e_t_mean_dtl | TYPE STANDARD TABLE OF RSDMSC_MEAN_DTL , |
| wa_e_t_mean_dtl | LIKE LINE OF it_e_t_mean_dtl, |
| it_e_t_clust_result | TYPE STANDARD TABLE OF RSDMSC_CLUST_RESULT , |
| wa_e_t_clust_result | LIKE LINE OF it_e_t_clust_result, |
| it_e_t_dist_info | TYPE STANDARD TABLE OF RSDMSC_CLUST_DISTRIBUTION , |
| wa_e_t_dist_info | LIKE LINE OF it_e_t_dist_info. |
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_CLK2_START_CLUSTER or its description.