SAP Function Modules

HRIQ_BAPI_BASIC_CHECK SAP Function module







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

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


Pattern for FM HRIQ_BAPI_BASIC_CHECK - HRIQ BAPI BASIC CHECK





CALL FUNCTION 'HRIQ_BAPI_BASIC_CHECK' "
  EXPORTING
    iv_otype =                  " objec-otype
    iv_objid =                  " objec-objid
*   iv_check_keydate = 'X'      " xfeld
*   iv_enqueue_object =         " xfeld
*   iv_subscribe_clear_buffer =   " xfeld
*   iv_store_messages =         " xfeld
*   iv_testrun =                " xfeld
*   iv_log_handle =             " cl_hrpiq00_errorhandler
*   iv_ard = SPACE              " xfeld
*   iv_armd = SPACE             " xfeld
  IMPORTING
    ev_objec_begda =            " objec-begda
    ev_objec_endda =            " objec-endda
    ev_matnr =                  " piqstudent12
    et_return =                 " bapiret2_t
  CHANGING
    cv_plvar =                  " objec-plvar
    cv_istat =                  " objec-istat
*   cv_keydate =                " d
    .  "  HRIQ_BAPI_BASIC_CHECK

ABAP code example for Function Module HRIQ_BAPI_BASIC_CHECK





The ABAP code below is a full code listing to execute function module HRIQ_BAPI_BASIC_CHECK 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_ev_objec_begda  TYPE OBJEC-BEGDA ,
ld_ev_objec_endda  TYPE OBJEC-ENDDA ,
ld_ev_matnr  TYPE PIQSTUDENT12 ,
ld_et_return  TYPE BAPIRET2_T .


DATA(ld_cv_plvar) = some text here

DATA(ld_cv_istat) = some text here
DATA(ld_cv_keydate) = 'Check type of data required'.

DATA(ld_iv_otype) = some text here

DATA(ld_iv_objid) = Check type of data required
DATA(ld_iv_check_keydate) = 'Check type of data required'.
DATA(ld_iv_enqueue_object) = 'Check type of data required'.
DATA(ld_iv_subscribe_clear_buffer) = 'Check type of data required'.
DATA(ld_iv_store_messages) = 'Check type of data required'.
DATA(ld_iv_testrun) = 'Check type of data required'.
DATA(ld_iv_log_handle) = 'Check type of data required'.
DATA(ld_iv_ard) = 'Check type of data required'.
DATA(ld_iv_armd) = 'Check type of data required'. . CALL FUNCTION 'HRIQ_BAPI_BASIC_CHECK' EXPORTING iv_otype = ld_iv_otype iv_objid = ld_iv_objid * iv_check_keydate = ld_iv_check_keydate * iv_enqueue_object = ld_iv_enqueue_object * iv_subscribe_clear_buffer = ld_iv_subscribe_clear_buffer * iv_store_messages = ld_iv_store_messages * iv_testrun = ld_iv_testrun * iv_log_handle = ld_iv_log_handle * iv_ard = ld_iv_ard * iv_armd = ld_iv_armd IMPORTING ev_objec_begda = ld_ev_objec_begda ev_objec_endda = ld_ev_objec_endda ev_matnr = ld_ev_matnr et_return = ld_et_return CHANGING cv_plvar = ld_cv_plvar cv_istat = ld_cv_istat * cv_keydate = ld_cv_keydate . " HRIQ_BAPI_BASIC_CHECK
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_cv_plvar  TYPE OBJEC-PLVAR ,
ld_ev_objec_begda  TYPE OBJEC-BEGDA ,
ld_iv_otype  TYPE OBJEC-OTYPE ,
ld_cv_istat  TYPE OBJEC-ISTAT ,
ld_ev_objec_endda  TYPE OBJEC-ENDDA ,
ld_iv_objid  TYPE OBJEC-OBJID ,
ld_cv_keydate  TYPE D ,
ld_ev_matnr  TYPE PIQSTUDENT12 ,
ld_iv_check_keydate  TYPE XFELD ,
ld_et_return  TYPE BAPIRET2_T ,
ld_iv_enqueue_object  TYPE XFELD ,
ld_iv_subscribe_clear_buffer  TYPE XFELD ,
ld_iv_store_messages  TYPE XFELD ,
ld_iv_testrun  TYPE XFELD ,
ld_iv_log_handle  TYPE CL_HRPIQ00_ERRORHANDLER ,
ld_iv_ard  TYPE XFELD ,
ld_iv_armd  TYPE XFELD .


ld_cv_plvar = some text here

ld_iv_otype = some text here

ld_cv_istat = some text here

ld_iv_objid = Check type of data required
ld_cv_keydate = 'Check type of data required'.
ld_iv_check_keydate = 'Check type of data required'.
ld_iv_enqueue_object = 'Check type of data required'.
ld_iv_subscribe_clear_buffer = 'Check type of data required'.
ld_iv_store_messages = 'Check type of data required'.
ld_iv_testrun = 'Check type of data required'.
ld_iv_log_handle = 'Check type of data required'.
ld_iv_ard = 'Check type of data required'.
ld_iv_armd = '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 HRIQ_BAPI_BASIC_CHECK or its description.