HRAR_IND_SAC_VAC 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 HRAR_IND_SAC_VAC into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPAY00_AR_TERMINATION
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HRAR_IND_SAC_VAC' "
EXPORTING
ind_hire_date = " prel-begda
ind_fire_date = " prel-endda
ind_hire_date_i0041 = " prel-begda
ind_tcses = " t7ar30-tcses
ind_tegrp = " p0551-tegrp
ind_coind = " p0551-coi01
ind_lgart = " pc207-lgart
aper_begda = " prel-begda
aper_endda = " prel-endda
aper_calcd = "
aper_payty = " pc261-payty
aper_pbegd = " t549q-begda
aper_pendd = " t549q-endda
aper_paper = " pc261-fpper
aper_iaper = " pc261-inper
pernr = " pernr
TABLES
ind_it = " pc207
ind_ot = " pc207
ind_wpbp = " pc205
ind_p0551 = " p0551
ind_aper = " pc26z
ind_psp = " pc2ba
ind_psp2 = " pc2ba
rgdir = " pc267
error_ptext = " plog_text
message_ptext = " plog_text
EXCEPTIONS
ERROR_CALCULO = 1 "
ERROR_FALTA_DATO = 2 "
. " HRAR_IND_SAC_VAC
The ABAP code below is a full code listing to execute function module HRAR_IND_SAC_VAC 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).
| it_ind_it | TYPE STANDARD TABLE OF PC207,"TABLES PARAM |
| wa_ind_it | LIKE LINE OF it_ind_it , |
| it_ind_ot | TYPE STANDARD TABLE OF PC207,"TABLES PARAM |
| wa_ind_ot | LIKE LINE OF it_ind_ot , |
| it_ind_wpbp | TYPE STANDARD TABLE OF PC205,"TABLES PARAM |
| wa_ind_wpbp | LIKE LINE OF it_ind_wpbp , |
| it_ind_p0551 | TYPE STANDARD TABLE OF P0551,"TABLES PARAM |
| wa_ind_p0551 | LIKE LINE OF it_ind_p0551 , |
| it_ind_aper | TYPE STANDARD TABLE OF PC26Z,"TABLES PARAM |
| wa_ind_aper | LIKE LINE OF it_ind_aper , |
| it_ind_psp | TYPE STANDARD TABLE OF PC2BA,"TABLES PARAM |
| wa_ind_psp | LIKE LINE OF it_ind_psp , |
| it_ind_psp2 | TYPE STANDARD TABLE OF PC2BA,"TABLES PARAM |
| wa_ind_psp2 | LIKE LINE OF it_ind_psp2 , |
| it_rgdir | TYPE STANDARD TABLE OF PC267,"TABLES PARAM |
| wa_rgdir | LIKE LINE OF it_rgdir , |
| it_error_ptext | TYPE STANDARD TABLE OF PLOG_TEXT,"TABLES PARAM |
| wa_error_ptext | LIKE LINE OF it_error_ptext , |
| it_message_ptext | TYPE STANDARD TABLE OF PLOG_TEXT,"TABLES PARAM |
| wa_message_ptext | LIKE LINE OF it_message_ptext . |
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_ind_hire_date | TYPE PREL-BEGDA , |
| it_ind_it | TYPE STANDARD TABLE OF PC207 , |
| wa_ind_it | LIKE LINE OF it_ind_it, |
| ld_ind_fire_date | TYPE PREL-ENDDA , |
| it_ind_ot | TYPE STANDARD TABLE OF PC207 , |
| wa_ind_ot | LIKE LINE OF it_ind_ot, |
| ld_ind_hire_date_i0041 | TYPE PREL-BEGDA , |
| it_ind_wpbp | TYPE STANDARD TABLE OF PC205 , |
| wa_ind_wpbp | LIKE LINE OF it_ind_wpbp, |
| ld_ind_tcses | TYPE T7AR30-TCSES , |
| it_ind_p0551 | TYPE STANDARD TABLE OF P0551 , |
| wa_ind_p0551 | LIKE LINE OF it_ind_p0551, |
| ld_ind_tegrp | TYPE P0551-TEGRP , |
| it_ind_aper | TYPE STANDARD TABLE OF PC26Z , |
| wa_ind_aper | LIKE LINE OF it_ind_aper, |
| ld_ind_coind | TYPE P0551-COI01 , |
| it_ind_psp | TYPE STANDARD TABLE OF PC2BA , |
| wa_ind_psp | LIKE LINE OF it_ind_psp, |
| ld_ind_lgart | TYPE PC207-LGART , |
| it_ind_psp2 | TYPE STANDARD TABLE OF PC2BA , |
| wa_ind_psp2 | LIKE LINE OF it_ind_psp2, |
| it_rgdir | TYPE STANDARD TABLE OF PC267 , |
| wa_rgdir | LIKE LINE OF it_rgdir, |
| ld_aper_begda | TYPE PREL-BEGDA , |
| it_error_ptext | TYPE STANDARD TABLE OF PLOG_TEXT , |
| wa_error_ptext | LIKE LINE OF it_error_ptext, |
| ld_aper_endda | TYPE PREL-ENDDA , |
| it_message_ptext | TYPE STANDARD TABLE OF PLOG_TEXT , |
| wa_message_ptext | LIKE LINE OF it_message_ptext, |
| ld_aper_calcd | TYPE STRING , |
| ld_aper_payty | TYPE PC261-PAYTY , |
| ld_aper_pbegd | TYPE T549Q-BEGDA , |
| ld_aper_pendd | TYPE T549Q-ENDDA , |
| ld_aper_paper | TYPE PC261-FPPER , |
| ld_aper_iaper | TYPE PC261-INPER , |
| ld_pernr | TYPE PERNR . |
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 HRAR_IND_SAC_VAC or its description.