SAP Function Modules

HRIQ_EVOBJ_BUFFER_UPDATE SAP Function module







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

Associated Function Group: HRPIQ00EVALOBJ_BUFFER
Released Date: Not Released
Processing type: Start update immediately (start immed)
update module start immediate settings


Pattern for FM HRIQ_EVOBJ_BUFFER_UPDATE - HRIQ EVOBJ BUFFER UPDATE





CALL FUNCTION 'HRIQ_EVOBJ_BUFFER_UPDATE' "
  TABLES
    it_cmprrecords_i =          " piqdbcmprrecords
    it_cmprrecords_u =          " piqdbcmprrecords
    it_cmprrecords_d =          " piqdbcmprrecords
*   it_cmprrecords_old =        " piqcmprrecords
*   it_corr_cmpr_proc =         " piq_correlation_cmpr_proc
    .  "  HRIQ_EVOBJ_BUFFER_UPDATE

ABAP code example for Function Module HRIQ_EVOBJ_BUFFER_UPDATE





The ABAP code below is a full code listing to execute function module HRIQ_EVOBJ_BUFFER_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:
it_it_cmprrecords_i  TYPE STANDARD TABLE OF PIQDBCMPRRECORDS,"TABLES PARAM
wa_it_cmprrecords_i  LIKE LINE OF it_it_cmprrecords_i ,
it_it_cmprrecords_u  TYPE STANDARD TABLE OF PIQDBCMPRRECORDS,"TABLES PARAM
wa_it_cmprrecords_u  LIKE LINE OF it_it_cmprrecords_u ,
it_it_cmprrecords_d  TYPE STANDARD TABLE OF PIQDBCMPRRECORDS,"TABLES PARAM
wa_it_cmprrecords_d  LIKE LINE OF it_it_cmprrecords_d ,
it_it_cmprrecords_old  TYPE STANDARD TABLE OF PIQCMPRRECORDS,"TABLES PARAM
wa_it_cmprrecords_old  LIKE LINE OF it_it_cmprrecords_old ,
it_it_corr_cmpr_proc  TYPE STANDARD TABLE OF PIQ_CORRELATION_CMPR_PROC,"TABLES PARAM
wa_it_corr_cmpr_proc  LIKE LINE OF it_it_corr_cmpr_proc .


"populate fields of struture and append to itab
append wa_it_cmprrecords_i to it_it_cmprrecords_i.

"populate fields of struture and append to itab
append wa_it_cmprrecords_u to it_it_cmprrecords_u.

"populate fields of struture and append to itab
append wa_it_cmprrecords_d to it_it_cmprrecords_d.

"populate fields of struture and append to itab
append wa_it_cmprrecords_old to it_it_cmprrecords_old.

"populate fields of struture and append to itab
append wa_it_corr_cmpr_proc to it_it_corr_cmpr_proc. . CALL FUNCTION 'HRIQ_EVOBJ_BUFFER_UPDATE' TABLES it_cmprrecords_i = it_it_cmprrecords_i it_cmprrecords_u = it_it_cmprrecords_u it_cmprrecords_d = it_it_cmprrecords_d * it_cmprrecords_old = it_it_cmprrecords_old * it_corr_cmpr_proc = it_it_corr_cmpr_proc . " HRIQ_EVOBJ_BUFFER_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:
it_it_cmprrecords_i  TYPE STANDARD TABLE OF PIQDBCMPRRECORDS ,
wa_it_cmprrecords_i  LIKE LINE OF it_it_cmprrecords_i,
it_it_cmprrecords_u  TYPE STANDARD TABLE OF PIQDBCMPRRECORDS ,
wa_it_cmprrecords_u  LIKE LINE OF it_it_cmprrecords_u,
it_it_cmprrecords_d  TYPE STANDARD TABLE OF PIQDBCMPRRECORDS ,
wa_it_cmprrecords_d  LIKE LINE OF it_it_cmprrecords_d,
it_it_cmprrecords_old  TYPE STANDARD TABLE OF PIQCMPRRECORDS ,
wa_it_cmprrecords_old  LIKE LINE OF it_it_cmprrecords_old,
it_it_corr_cmpr_proc  TYPE STANDARD TABLE OF PIQ_CORRELATION_CMPR_PROC ,
wa_it_corr_cmpr_proc  LIKE LINE OF it_it_corr_cmpr_proc.


"populate fields of struture and append to itab
append wa_it_cmprrecords_i to it_it_cmprrecords_i.

"populate fields of struture and append to itab
append wa_it_cmprrecords_u to it_it_cmprrecords_u.

"populate fields of struture and append to itab
append wa_it_cmprrecords_d to it_it_cmprrecords_d.

"populate fields of struture and append to itab
append wa_it_cmprrecords_old to it_it_cmprrecords_old.

"populate fields of struture and append to itab
append wa_it_corr_cmpr_proc to it_it_corr_cmpr_proc.

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