SAP EXIT_HVECTER0_001 Function Module for









EXIT_HVECTER0_001 is a standard exit hvecter0 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for exit hvecter0 001 FM, simply by entering the name EXIT_HVECTER0_001 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XPVE
Program Name: SAPLXPVE
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_HVECTER0_001 pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EXIT_HVECTER0_001'"
EXPORTING
PERNO = "
SENIORITY_ANT = "
TERM_SEN_DAYS_P = "
LAST_SEN_DATE = "
T_BON_INI_AMT = "
T_BON_TOT_PAID = "
MASSN = "
MASSG = "
HIRE_YEARS = "
HIRE_MONTHS = "
HIRE_DAYS = "
ABKRS = "
LAW_YEARS = "
LAW_MONTHS = "
LAW_DAYS = "
HIRE_DATE = "
FIRE_DATE = "
BEGDA = "
ENDDA = "
PRENOTICE_BASE = "
SENIORITY_BASE = "
NORMAL_SALARY = "
SENIORITY_AMT = "
SENIORITY_SDO = "

TABLES
WAGES_TABLE = "

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for EXIT_HVECTER0_001

PERNO -

Data type: PERNR-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

SENIORITY_ANT -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

TERM_SEN_DAYS_P -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

LAST_SEN_DATE -

Data type: D
Optional: No
Call by Reference: No ( called with pass by value option)

T_BON_INI_AMT -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

T_BON_TOT_PAID -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

MASSN -

Data type: P0000-MASSN
Optional: No
Call by Reference: No ( called with pass by value option)

MASSG -

Data type: P0000-MASSG
Optional: No
Call by Reference: No ( called with pass by value option)

HIRE_YEARS -

Data type: P
Optional: No
Call by Reference: No ( called with pass by value option)

HIRE_MONTHS -

Data type: P
Optional: No
Call by Reference: No ( called with pass by value option)

HIRE_DAYS -

Data type: P
Optional: No
Call by Reference: No ( called with pass by value option)

ABKRS -

Data type: T549A-ABKRS
Optional: No
Call by Reference: No ( called with pass by value option)

LAW_YEARS -

Data type: P
Optional: No
Call by Reference: No ( called with pass by value option)

LAW_MONTHS -

Data type: P
Optional: No
Call by Reference: No ( called with pass by value option)

LAW_DAYS -

Data type: P
Optional: No
Call by Reference: No ( called with pass by value option)

HIRE_DATE -

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

FIRE_DATE -

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

BEGDA -

Data type: P0001-BEGDA
Optional: No
Call by Reference: No ( called with pass by value option)

ENDDA -

Data type: P0001-ENDDA
Optional: No
Call by Reference: No ( called with pass by value option)

PRENOTICE_BASE -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

SENIORITY_BASE -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

NORMAL_SALARY -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

SENIORITY_AMT -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

SENIORITY_SDO -

Data type: PC207-BETRG
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for EXIT_HVECTER0_001

WAGES_TABLE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for EXIT_HVECTER0_001 Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_error  TYPE STRING, "   
lv_perno  TYPE PERNR-PERNR, "   
lt_wages_table  TYPE STANDARD TABLE OF PERNR, "   
lv_seniority_ant  TYPE PC207-BETRG, "   
lv_term_sen_days_p  TYPE PC207-BETRG, "   
lv_last_sen_date  TYPE D, "   
lv_t_bon_ini_amt  TYPE PC207-BETRG, "   
lv_t_bon_tot_paid  TYPE PC207-BETRG, "   
lv_massn  TYPE P0000-MASSN, "   
lv_massg  TYPE P0000-MASSG, "   
lv_hire_years  TYPE P, "   
lv_hire_months  TYPE P, "   
lv_hire_days  TYPE P, "   
lv_abkrs  TYPE T549A-ABKRS, "   
lv_law_years  TYPE P, "   
lv_law_months  TYPE P, "   
lv_law_days  TYPE P, "   
lv_hire_date  TYPE SY-DATUM, "   
lv_fire_date  TYPE SY-DATUM, "   
lv_begda  TYPE P0001-BEGDA, "   
lv_endda  TYPE P0001-ENDDA, "   
lv_prenotice_base  TYPE PC207-BETRG, "   
lv_seniority_base  TYPE PC207-BETRG, "   
lv_normal_salary  TYPE PC207-BETRG, "   
lv_seniority_amt  TYPE PC207-BETRG, "   
lv_seniority_sdo  TYPE PC207-BETRG. "   

  CALL FUNCTION 'EXIT_HVECTER0_001'  "
    EXPORTING
         PERNO = lv_perno
         SENIORITY_ANT = lv_seniority_ant
         TERM_SEN_DAYS_P = lv_term_sen_days_p
         LAST_SEN_DATE = lv_last_sen_date
         T_BON_INI_AMT = lv_t_bon_ini_amt
         T_BON_TOT_PAID = lv_t_bon_tot_paid
         MASSN = lv_massn
         MASSG = lv_massg
         HIRE_YEARS = lv_hire_years
         HIRE_MONTHS = lv_hire_months
         HIRE_DAYS = lv_hire_days
         ABKRS = lv_abkrs
         LAW_YEARS = lv_law_years
         LAW_MONTHS = lv_law_months
         LAW_DAYS = lv_law_days
         HIRE_DATE = lv_hire_date
         FIRE_DATE = lv_fire_date
         BEGDA = lv_begda
         ENDDA = lv_endda
         PRENOTICE_BASE = lv_prenotice_base
         SENIORITY_BASE = lv_seniority_base
         NORMAL_SALARY = lv_normal_salary
         SENIORITY_AMT = lv_seniority_amt
         SENIORITY_SDO = lv_seniority_sdo
    TABLES
         WAGES_TABLE = lt_wages_table
    EXCEPTIONS
        ERROR = 1
. " EXIT_HVECTER0_001




ABAP code using 7.40 inline data declarations to call FM EXIT_HVECTER0_001

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single PERNR FROM PERNR INTO @DATA(ld_perno).
 
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_seniority_ant).
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_term_sen_days_p).
 
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_t_bon_ini_amt).
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_t_bon_tot_paid).
 
"SELECT single MASSN FROM P0000 INTO @DATA(ld_massn).
 
"SELECT single MASSG FROM P0000 INTO @DATA(ld_massg).
 
 
 
 
"SELECT single ABKRS FROM T549A INTO @DATA(ld_abkrs).
 
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_hire_date).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_fire_date).
 
"SELECT single BEGDA FROM P0001 INTO @DATA(ld_begda).
 
"SELECT single ENDDA FROM P0001 INTO @DATA(ld_endda).
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_prenotice_base).
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_seniority_base).
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_normal_salary).
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_seniority_amt).
 
"SELECT single BETRG FROM PC207 INTO @DATA(ld_seniority_sdo).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!