SAP Function Modules

DMC_ACPL_GET_DELIMIT_SELSTRING SAP Function module - get select string for parallel access plan calculation







DMC_ACPL_GET_DELIMIT_SELSTRING 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 DMC_ACPL_GET_DELIMIT_SELSTRING into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CNV0
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM DMC_ACPL_GET_DELIMIT_SELSTRING - DMC ACPL GET DELIMIT SELSTRING





CALL FUNCTION 'DMC_ACPL_GET_DELIMIT_SELSTRING' "get select string for parallel access plan calculation
  EXPORTING
    i_clusterkey =              " indx_srtfd    User-defined key in table INDX
    i_cobj =                    " cnv_mbt_cobj  Conversion Object
*   i_rowid_select =            " boolean       boolean variable (X=true, -=false, space=unknown)
  TABLES
    et_selstring =              " dmc_acpl_boundaries  access plan boundaries (for parallel data selection)
  EXCEPTIONS
    NOT_YET_FINISHED = 1        "               job not yet finished
    .  "  DMC_ACPL_GET_DELIMIT_SELSTRING

ABAP code example for Function Module DMC_ACPL_GET_DELIMIT_SELSTRING





The ABAP code below is a full code listing to execute function module DMC_ACPL_GET_DELIMIT_SELSTRING 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).

DATA:
it_et_selstring  TYPE STANDARD TABLE OF DMC_ACPL_BOUNDARIES,"TABLES PARAM
wa_et_selstring  LIKE LINE OF it_et_selstring .

DATA(ld_i_clusterkey) = 'Check type of data required'.
DATA(ld_i_cobj) = 'Check type of data required'.
DATA(ld_i_rowid_select) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_selstring to it_et_selstring. . CALL FUNCTION 'DMC_ACPL_GET_DELIMIT_SELSTRING' EXPORTING i_clusterkey = ld_i_clusterkey i_cobj = ld_i_cobj * i_rowid_select = ld_i_rowid_select TABLES et_selstring = it_et_selstring EXCEPTIONS NOT_YET_FINISHED = 1 . " DMC_ACPL_GET_DELIMIT_SELSTRING
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_i_clusterkey  TYPE INDX_SRTFD ,
it_et_selstring  TYPE STANDARD TABLE OF DMC_ACPL_BOUNDARIES ,
wa_et_selstring  LIKE LINE OF it_et_selstring,
ld_i_cobj  TYPE CNV_MBT_COBJ ,
ld_i_rowid_select  TYPE BOOLEAN .

ld_i_clusterkey = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_selstring to it_et_selstring.
ld_i_cobj = 'Check type of data required'.
ld_i_rowid_select = 'Check type of data required'.

Contribute (Add Comments)

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 DMC_ACPL_GET_DELIMIT_SELSTRING or its description.