HR_CL_DAQ_PROCESS_AFP 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_CL_DAQ_PROCESS_AFP into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPAYCL_AFP
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_CL_DAQ_PROCESS_AFP' "Obtains values from DAQ fields
EXPORTING
im_daq = " p99sd_codaq Control parameters
im_tab_pay = " table Payroll result table
im_tab_time = " table Payroll result time
* im_tab_prelp = " p99sg_tab_prelp Infotype table
* im_tab_user = " table User defined additional table
im_form = " cl_hr99s00_daq Data acquistion for forms
* im_wafor = " p99sd_wafor Process only selected sections
* im_tab_fodat = " p99sd_tab_fodat Table with already computed fields of form
IMPORTING
ex_tab_value = " p99sd_tab_value
ex_returncode = " sy-subrc Return value, return value after ABAP statements
* CHANGING
* ch_tab_error = " p99sf_tab_error
* ch_misc = " any
. " HR_CL_DAQ_PROCESS_AFP
The ABAP code below is a full code listing to execute function module HR_CL_DAQ_PROCESS_AFP 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).
| ld_ex_tab_value | TYPE P99SD_TAB_VALUE , |
| ld_ex_returncode | TYPE SY-SUBRC . |
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 ANY , |
| ld_ex_returncode | TYPE SY-SUBRC , |
| ld_im_tab_pay | TYPE TABLE , |
| ld_im_tab_time | TYPE TABLE , |
| ld_im_tab_prelp | TYPE P99SG_TAB_PRELP , |
| ld_im_tab_user | TYPE TABLE , |
| ld_im_form | TYPE CL_HR99S00_DAQ , |
| ld_im_wafor | TYPE P99SD_WAFOR , |
| ld_im_tab_fodat | TYPE P99SD_TAB_FODAT . |
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_CL_DAQ_PROCESS_AFP or its description.
HR_CL_DAQ_PROCESS_AFP - Obtains values from DAQ fields HR_CL_DAQ_FILTER_WT_BY_BUKRS - Filter wate types according of company (CLTAX) HR_CL_DAQ_BASE_EMPLOYER - Obtains values from DAQ fields HR_CL_DAQ_BASE_EMPLOYEE - Obtains values from DAQ fields HR_CL_CRTA_UPDATE_VALUES - Calculate the update values of Income Certify HR_CL_CRTA_PROC_GENERATE_PDF_D - Generate PDF Form Data