SAP ECRM_POD_INIT_SELECT_ID Function Module for Initialization of Block Reading of Keys









ECRM_POD_INIT_SELECT_ID is a standard ecrm pod init select id SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Initialization of Block Reading of Keys 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 ecrm pod init select id FM, simply by entering the name ECRM_POD_INIT_SELECT_ID into the relevant SAP transaction such as SE37 or SE38.

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



Function ECRM_POD_INIT_SELECT_ID 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 'ECRM_POD_INIT_SELECT_ID'"Initialization of Block Reading of Keys
EXPORTING
* IM_BLOCKSIZE = 1000000 "
* IM_SELECT_TABLENAME = 'EUIHEAD' "
* IM_FLAG_DIFF_SYSTEMS = ' ' "General Indicator
* IM_GLOBAL_DATA = "Exchange Structure Instead of Global Fields

IMPORTING
EX_STATUS = "

TABLES
* TA_IN_SELECT_FIELDS = "

EXCEPTIONS
TABLE_NOT_SUPPORTED = 1 WRONG_INPUT_DATA = 2
.



IMPORTING Parameters details for ECRM_POD_INIT_SELECT_ID

IM_BLOCKSIZE -

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

IM_SELECT_TABLENAME -

Data type: DFIES-TABNAME
Default: 'EUIHEAD'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_FLAG_DIFF_SYSTEMS - General Indicator

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

IM_GLOBAL_DATA - Exchange Structure Instead of Global Fields

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

EXPORTING Parameters details for ECRM_POD_INIT_SELECT_ID

EX_STATUS -

Data type: RIWO00-SELEC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ECRM_POD_INIT_SELECT_ID

TA_IN_SELECT_FIELDS -

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

EXCEPTIONS details

TABLE_NOT_SUPPORTED -

Data type:
Optional: No
Call by Reference: Yes

WRONG_INPUT_DATA -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ECRM_POD_INIT_SELECT_ID 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_ex_status  TYPE RIWO00-SELEC, "   
lv_im_blocksize  TYPE SY-DBCNT, "   1000000
lv_table_not_supported  TYPE SY, "   
lt_ta_in_select_fields  TYPE STANDARD TABLE OF SEL_TABLE_SM, "   
lv_wrong_input_data  TYPE SEL_TABLE_SM, "   
lv_im_select_tablename  TYPE DFIES-TABNAME, "   'EUIHEAD'
lv_im_flag_diff_systems  TYPE FLAG, "   ' '
lv_im_global_data  TYPE IBBSI_SYSTEM_EXCHANGE_R3. "   

  CALL FUNCTION 'ECRM_POD_INIT_SELECT_ID'  "Initialization of Block Reading of Keys
    EXPORTING
         IM_BLOCKSIZE = lv_im_blocksize
         IM_SELECT_TABLENAME = lv_im_select_tablename
         IM_FLAG_DIFF_SYSTEMS = lv_im_flag_diff_systems
         IM_GLOBAL_DATA = lv_im_global_data
    IMPORTING
         EX_STATUS = lv_ex_status
    TABLES
         TA_IN_SELECT_FIELDS = lt_ta_in_select_fields
    EXCEPTIONS
        TABLE_NOT_SUPPORTED = 1
        WRONG_INPUT_DATA = 2
. " ECRM_POD_INIT_SELECT_ID




ABAP code using 7.40 inline data declarations to call FM ECRM_POD_INIT_SELECT_ID

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 SELEC FROM RIWO00 INTO @DATA(ld_ex_status).
 
"SELECT single DBCNT FROM SY INTO @DATA(ld_im_blocksize).
DATA(ld_im_blocksize) = 1000000.
 
 
 
 
"SELECT single TABNAME FROM DFIES INTO @DATA(ld_im_select_tablename).
DATA(ld_im_select_tablename) = 'EUIHEAD'.
 
DATA(ld_im_flag_diff_systems) = ' '.
 
 


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!