SAP Function Modules

HR_BE_DAQ_CONDT_QUARTER SAP Function module - Condition for declaring the Local Unit ID for DMFA







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

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


Pattern for FM HR_BE_DAQ_CONDT_QUARTER - HR BE DAQ CONDT QUARTER





CALL FUNCTION 'HR_BE_DAQ_CONDT_QUARTER' "Condition for declaring the Local Unit ID for DMFA
  EXPORTING
    im_daq =                    " p99sd_codaq
    im_tab_pay =                "
    im_tab_time =               "
*   im_tab_prelp =              " p99sg_tab_prelp
*   im_tab_user =               "
    im_form =                   " cl_hr99s00_daq
*   im_wafor =                  " p99sd_wafor
    im_condt =                  " t5f99fc-condt
    im_coatr =                  " p99sd_coatr
*   im_tab_fodat =              " p99sd_tab_fodat
  IMPORTING
    ex_valid =                  " boolean
    ex_returncode =             " sy-subrc
* CHANGING
*   ch_tab_error =              " p99sf_tab_error
*   ch_misc =                   " pbedm_daqmisc
    .  "  HR_BE_DAQ_CONDT_QUARTER

ABAP code example for Function Module HR_BE_DAQ_CONDT_QUARTER





The ABAP code below is a full code listing to execute function module HR_BE_DAQ_CONDT_QUARTER 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_ex_valid  TYPE BOOLEAN ,
ld_ex_returncode  TYPE SY-SUBRC .

DATA(ld_ch_tab_error) = 'Check type of data required'.
DATA(ld_ch_misc) = 'Check type of data required'.
DATA(ld_im_daq) = 'Check type of data required'.
DATA(ld_im_tab_pay) = 'some text here'.
DATA(ld_im_tab_time) = 'some text here'.
DATA(ld_im_tab_prelp) = 'Check type of data required'.
DATA(ld_im_tab_user) = 'some text here'.
DATA(ld_im_form) = 'Check type of data required'.
DATA(ld_im_wafor) = 'Check type of data required'.

SELECT single CONDT
FROM T5F99FC
INTO @DATA(ld_im_condt).

DATA(ld_im_coatr) = 'Check type of data required'.
DATA(ld_im_tab_fodat) = 'Check type of data required'. . CALL FUNCTION 'HR_BE_DAQ_CONDT_QUARTER' EXPORTING im_daq = ld_im_daq im_tab_pay = ld_im_tab_pay im_tab_time = ld_im_tab_time * im_tab_prelp = ld_im_tab_prelp * im_tab_user = ld_im_tab_user im_form = ld_im_form * im_wafor = ld_im_wafor im_condt = ld_im_condt im_coatr = ld_im_coatr * im_tab_fodat = ld_im_tab_fodat IMPORTING ex_valid = ld_ex_valid ex_returncode = ld_ex_returncode * CHANGING * ch_tab_error = ld_ch_tab_error * ch_misc = ld_ch_misc . " HR_BE_DAQ_CONDT_QUARTER
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_ch_tab_error  TYPE P99SF_TAB_ERROR ,
ld_ex_valid  TYPE BOOLEAN ,
ld_im_daq  TYPE P99SD_CODAQ ,
ld_ch_misc  TYPE PBEDM_DAQMISC ,
ld_ex_returncode  TYPE SY-SUBRC ,
ld_im_tab_pay  TYPE STRING ,
ld_im_tab_time  TYPE STRING ,
ld_im_tab_prelp  TYPE P99SG_TAB_PRELP ,
ld_im_tab_user  TYPE STRING ,
ld_im_form  TYPE CL_HR99S00_DAQ ,
ld_im_wafor  TYPE P99SD_WAFOR ,
ld_im_condt  TYPE T5F99FC-CONDT ,
ld_im_coatr  TYPE P99SD_COATR ,
ld_im_tab_fodat  TYPE P99SD_TAB_FODAT .

ld_ch_tab_error = 'Check type of data required'.
ld_im_daq = 'Check type of data required'.
ld_ch_misc = 'Check type of data required'.
ld_im_tab_pay = 'some text here'.
ld_im_tab_time = 'some text here'.
ld_im_tab_prelp = 'Check type of data required'.
ld_im_tab_user = 'some text here'.
ld_im_form = 'Check type of data required'.
ld_im_wafor = 'Check type of data required'.

SELECT single CONDT
FROM T5F99FC
INTO ld_im_condt.

ld_im_coatr = 'Check type of data required'.
ld_im_tab_fodat = '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 HR_BE_DAQ_CONDT_QUARTER or its description.