SAP DMC_DEL_CLUSTER_DATA Function Module for delete data in cluster table DMC_INDXCL









DMC_DEL_CLUSTER_DATA is a standard dmc del cluster data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for delete data in cluster table DMC_INDXCL 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 dmc del cluster data FM, simply by entering the name DMC_DEL_CLUSTER_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: CNV0
Program Name: SAPLCNV0
Main Program: SAPLCNV0
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function DMC_DEL_CLUSTER_DATA 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 'DMC_DEL_CLUSTER_DATA'"delete data in cluster table DMC_INDXCL
EXPORTING
* I_CONVOBJ = "conversion object
* I_ACPL = "access plan / recalc. ID
* I_RELID = 'AA' "Relations-ID
* I_CLUID_LOW = "cluster pointer
* I_ALL_ACP_OF_MIGOBJ = "deletion for all acs.pl. of the mig.obj
* I_NUM_PORT_PER_ACP = 1000000 "max. num. of portions per acs.pl.
.



IMPORTING Parameters details for DMC_DEL_CLUSTER_DATA

I_CONVOBJ - conversion object

Data type: DMC_CLUPTR-CONVOBJ_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ACPL - access plan / recalc. ID

Data type: DMC_CLUPTR-ACPL_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RELID - Relations-ID

Data type: DMC_INDXCL-RELID
Default: 'AA'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CLUID_LOW - cluster pointer

Data type: BDLBYTES
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ALL_ACP_OF_MIGOBJ - deletion for all acs.pl. of the mig.obj

Data type: BOOLEAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NUM_PORT_PER_ACP - max. num. of portions per acs.pl.

Data type: I
Default: 1000000
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DMC_DEL_CLUSTER_DATA 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:
lv_i_convobj  TYPE DMC_CLUPTR-CONVOBJ_ID, "   
lv_i_acpl  TYPE DMC_CLUPTR-ACPL_ID, "   
lv_i_relid  TYPE DMC_INDXCL-RELID, "   'AA'
lv_i_cluid_low  TYPE BDLBYTES, "   
lv_i_all_acp_of_migobj  TYPE BOOLEAN, "   
lv_i_num_port_per_acp  TYPE I. "   1000000

  CALL FUNCTION 'DMC_DEL_CLUSTER_DATA'  "delete data in cluster table DMC_INDXCL
    EXPORTING
         I_CONVOBJ = lv_i_convobj
         I_ACPL = lv_i_acpl
         I_RELID = lv_i_relid
         I_CLUID_LOW = lv_i_cluid_low
         I_ALL_ACP_OF_MIGOBJ = lv_i_all_acp_of_migobj
         I_NUM_PORT_PER_ACP = lv_i_num_port_per_acp
. " DMC_DEL_CLUSTER_DATA




ABAP code using 7.40 inline data declarations to call FM DMC_DEL_CLUSTER_DATA

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.

"SELECT single CONVOBJ_ID FROM DMC_CLUPTR INTO @DATA(ld_i_convobj).
 
"SELECT single ACPL_ID FROM DMC_CLUPTR INTO @DATA(ld_i_acpl).
 
"SELECT single RELID FROM DMC_INDXCL INTO @DATA(ld_i_relid).
DATA(ld_i_relid) = 'AA'.
 
 
 
DATA(ld_i_num_port_per_acp) = 1000000.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!