SAP Function Modules

IEQCM_EXT_HOLE_UPDATE SAP Function module







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

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


Pattern for FM IEQCM_EXT_HOLE_UPDATE - IEQCM EXT HOLE UPDATE





CALL FUNCTION 'IEQCM_EXT_HOLE_UPDATE' "
  EXPORTING
    iv_event_type =             " ieq_event_type
    iv_equnr =                  " equnr
*   iv_tplnr_sup_new =          " tplnr
*   iv_tplnr_sup_old =          " tplnr
*   iv_equnr_sup_new =          " hequi
*   iv_equnr_sup_old =          " hequi
*   iv_matnr =                  " matnr
*   iv_posnr_new =              " ilom_posnr
*   iv_posnr_old =              " ilom_posnr
*   iv_sim_mode =               " flag
  IMPORTING
    et_error_message =          " ieqt_msg
    et_success_message =        " ieqt_msg
    ev_error =                  " flag
    ev_new_funcid =             " ccc_funcid
    .  "  IEQCM_EXT_HOLE_UPDATE

ABAP code example for Function Module IEQCM_EXT_HOLE_UPDATE





The ABAP code below is a full code listing to execute function module IEQCM_EXT_HOLE_UPDATE 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_error_message  TYPE IEQT_MSG ,
ld_et_success_message  TYPE IEQT_MSG ,
ld_ev_error  TYPE FLAG ,
ld_ev_new_funcid  TYPE CCC_FUNCID .

DATA(ld_iv_event_type) = 'Check type of data required'.
DATA(ld_iv_equnr) = 'Check type of data required'.
DATA(ld_iv_tplnr_sup_new) = 'Check type of data required'.
DATA(ld_iv_tplnr_sup_old) = 'Check type of data required'.
DATA(ld_iv_equnr_sup_new) = 'Check type of data required'.
DATA(ld_iv_equnr_sup_old) = 'Check type of data required'.
DATA(ld_iv_matnr) = 'Check type of data required'.
DATA(ld_iv_posnr_new) = 'Check type of data required'.
DATA(ld_iv_posnr_old) = 'Check type of data required'.
DATA(ld_iv_sim_mode) = 'Check type of data required'. . CALL FUNCTION 'IEQCM_EXT_HOLE_UPDATE' EXPORTING iv_event_type = ld_iv_event_type iv_equnr = ld_iv_equnr * iv_tplnr_sup_new = ld_iv_tplnr_sup_new * iv_tplnr_sup_old = ld_iv_tplnr_sup_old * iv_equnr_sup_new = ld_iv_equnr_sup_new * iv_equnr_sup_old = ld_iv_equnr_sup_old * iv_matnr = ld_iv_matnr * iv_posnr_new = ld_iv_posnr_new * iv_posnr_old = ld_iv_posnr_old * iv_sim_mode = ld_iv_sim_mode IMPORTING et_error_message = ld_et_error_message et_success_message = ld_et_success_message ev_error = ld_ev_error ev_new_funcid = ld_ev_new_funcid . " IEQCM_EXT_HOLE_UPDATE
IF SY-SUBRC EQ 0. "All OK 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_error_message  TYPE IEQT_MSG ,
ld_iv_event_type  TYPE IEQ_EVENT_TYPE ,
ld_et_success_message  TYPE IEQT_MSG ,
ld_iv_equnr  TYPE EQUNR ,
ld_ev_error  TYPE FLAG ,
ld_iv_tplnr_sup_new  TYPE TPLNR ,
ld_ev_new_funcid  TYPE CCC_FUNCID ,
ld_iv_tplnr_sup_old  TYPE TPLNR ,
ld_iv_equnr_sup_new  TYPE HEQUI ,
ld_iv_equnr_sup_old  TYPE HEQUI ,
ld_iv_matnr  TYPE MATNR ,
ld_iv_posnr_new  TYPE ILOM_POSNR ,
ld_iv_posnr_old  TYPE ILOM_POSNR ,
ld_iv_sim_mode  TYPE FLAG .

ld_iv_event_type = 'Check type of data required'.
ld_iv_equnr = 'Check type of data required'.
ld_iv_tplnr_sup_new = 'Check type of data required'.
ld_iv_tplnr_sup_old = 'Check type of data required'.
ld_iv_equnr_sup_new = 'Check type of data required'.
ld_iv_equnr_sup_old = 'Check type of data required'.
ld_iv_matnr = 'Check type of data required'.
ld_iv_posnr_new = 'Check type of data required'.
ld_iv_posnr_old = 'Check type of data required'.
ld_iv_sim_mode = '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 IEQCM_EXT_HOLE_UPDATE or its description.