SAP Function Modules

HR_FR_DADSU_GET_EE_COMMUNE SAP Function module







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

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


Pattern for FM HR_FR_DADSU_GET_EE_COMMUNE - HR FR DADSU GET EE COMMUNE





CALL FUNCTION 'HR_FR_DADSU_GET_EE_COMMUNE' "
  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_tab_fodat =              " p99sd_tab_fodat
  IMPORTING
    ex_tab_value =              " p99sd_tab_value
    ex_returncode =             " sy-subrc
* CHANGING
*   ch_tab_error =              " p99sf_tab_error
*   ch_misc =                   " pfrda_daq_misc
    .  "  HR_FR_DADSU_GET_EE_COMMUNE

ABAP code example for Function Module HR_FR_DADSU_GET_EE_COMMUNE





The ABAP code below is a full code listing to execute function module HR_FR_DADSU_GET_EE_COMMUNE 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_tab_value  TYPE P99SD_TAB_VALUE ,
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'.
DATA(ld_im_tab_fodat) = 'Check type of data required'. . CALL FUNCTION 'HR_FR_DADSU_GET_EE_COMMUNE' 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_tab_fodat = ld_im_tab_fodat IMPORTING ex_tab_value = ld_ex_tab_value ex_returncode = ld_ex_returncode * CHANGING * ch_tab_error = ld_ch_tab_error * ch_misc = ld_ch_misc . " HR_FR_DADSU_GET_EE_COMMUNE
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_tab_value  TYPE P99SD_TAB_VALUE ,
ld_im_daq  TYPE P99SD_CODAQ ,
ld_ch_misc  TYPE PFRDA_DAQ_MISC ,
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_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'.
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_FR_DADSU_GET_EE_COMMUNE or its description.