SAP Function Modules

CACS_DET_GET_SELINT_ENTRIES SAP Function module







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

Associated Function Group: CACS_DET_SELDATA
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM CACS_DET_GET_SELINT_ENTRIES - CACS DET GET SELINT ENTRIES





CALL FUNCTION 'CACS_DET_GET_SELINT_ENTRIES' "
  EXPORTING
    iv_seltab =                 " cacs_seltab   Name of Selection Table for Commission Contract
    iv_wildcard =               " cacsdetwildcard  Wild Card
    iv_combid =                 " cacs_combtp_id  Number of Characteristics Combination Type
    io_flyweight =              " cl_cacs_det_flyweight  Flyweight Class
  IMPORTING
    et_data =                   " table
  EXCEPTIONS
    ERROR = 1                   "
    .  "  CACS_DET_GET_SELINT_ENTRIES

ABAP code example for Function Module CACS_DET_GET_SELINT_ENTRIES





The ABAP code below is a full code listing to execute function module CACS_DET_GET_SELINT_ENTRIES 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:
ld_et_data  TYPE TABLE .

DATA(ld_iv_seltab) = 'Check type of data required'.
DATA(ld_iv_wildcard) = 'Check type of data required'.
DATA(ld_iv_combid) = 'Check type of data required'.
DATA(ld_io_flyweight) = 'Check type of data required'. . CALL FUNCTION 'CACS_DET_GET_SELINT_ENTRIES' EXPORTING iv_seltab = ld_iv_seltab iv_wildcard = ld_iv_wildcard iv_combid = ld_iv_combid io_flyweight = ld_io_flyweight IMPORTING et_data = ld_et_data EXCEPTIONS ERROR = 1 . " CACS_DET_GET_SELINT_ENTRIES
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_et_data  TYPE TABLE ,
ld_iv_seltab  TYPE CACS_SELTAB ,
ld_iv_wildcard  TYPE CACSDETWILDCARD ,
ld_iv_combid  TYPE CACS_COMBTP_ID ,
ld_io_flyweight  TYPE CL_CACS_DET_FLYWEIGHT .

ld_iv_seltab = 'Check type of data required'.
ld_iv_wildcard = 'Check type of data required'.
ld_iv_combid = 'Check type of data required'.
ld_io_flyweight = '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 CACS_DET_GET_SELINT_ENTRIES or its description.