HR_PF_VS_PERFORM_05 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_PF_VS_PERFORM_05 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPFD05VSIP
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_PF_VS_PERFORM_05' "
EXPORTING
* rdate = SY-DATUM " t5ca9-begda
* begda = '18000101' " p0278-begda
* endda = '99991231' " p0278-endda
kasse = " t5cp0-kasse
actio = " t5cay-actio
pernr = " p0000-pernr
* tclas = 'A' " pspar-tclas
* no_db_lock = ' ' " p02vs_flag
* testmode = ' ' " p02vs_flag
* no_error_handling = ' ' " p02vs_flag
* orgin = 'WF' " t5cpb-orgin
* paratab = " p02vs_value_tab
* simpplan = " t5ca4-pplan
* simpafgr = " t5cax-pafgr
* do_init = 'X' " char1
* do_perform = 'X' " char1
* do_end = 'X' " char1
* mode = %MODE_RUN " processing_type
* caller = %MODE_INTERP " processing_type
IMPORTING
errors = " i
warnings = " i
pplan = " t5ca4-pplan
evl = " p02vs_evl_info_record
TABLES
valuetab = " p02vs_value_tab
* new_entries = " pch01_ext_entries
* print_entries = " p02vs_pr_entry_tab
* errlist = " hrerror
* pp0000 = " p0000
* pp0001 = " p0001
* pp0002 = " p0002
* pp0007 = " p0007
* pp0008 = " p0008
* pp0014 = " p0014
* pp0015 = " p0015
* pp0021 = " p0021
* pp0278 = " p0278
* pp0279 = " p0279
* prottab = " hrpfd00_prottab
EXCEPTIONS
SUBRC1 = 1 "
SUBRC2 = 2 "
SUBRC3 = 3 "
SUBRC4 = 4 "
VS_EXCEPTION = 5 "
. " HR_PF_VS_PERFORM_05
The ABAP code below is a full code listing to execute function module HR_PF_VS_PERFORM_05 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_errors | TYPE I , |
| ld_warnings | TYPE I , |
| ld_pplan | TYPE T5CA4-PPLAN , |
| ld_evl | TYPE P02VS_EVL_INFO_RECORD , |
| it_valuetab | TYPE STANDARD TABLE OF P02VS_VALUE_TAB,"TABLES PARAM |
| wa_valuetab | LIKE LINE OF it_valuetab , |
| it_new_entries | TYPE STANDARD TABLE OF PCH01_EXT_ENTRIES,"TABLES PARAM |
| wa_new_entries | LIKE LINE OF it_new_entries , |
| it_print_entries | TYPE STANDARD TABLE OF P02VS_PR_ENTRY_TAB,"TABLES PARAM |
| wa_print_entries | LIKE LINE OF it_print_entries , |
| it_errlist | TYPE STANDARD TABLE OF HRERROR,"TABLES PARAM |
| wa_errlist | LIKE LINE OF it_errlist , |
| it_pp0000 | TYPE STANDARD TABLE OF P0000,"TABLES PARAM |
| wa_pp0000 | LIKE LINE OF it_pp0000 , |
| it_pp0001 | TYPE STANDARD TABLE OF P0001,"TABLES PARAM |
| wa_pp0001 | LIKE LINE OF it_pp0001 , |
| it_pp0002 | TYPE STANDARD TABLE OF P0002,"TABLES PARAM |
| wa_pp0002 | LIKE LINE OF it_pp0002 , |
| it_pp0007 | TYPE STANDARD TABLE OF P0007,"TABLES PARAM |
| wa_pp0007 | LIKE LINE OF it_pp0007 , |
| it_pp0008 | TYPE STANDARD TABLE OF P0008,"TABLES PARAM |
| wa_pp0008 | LIKE LINE OF it_pp0008 , |
| it_pp0014 | TYPE STANDARD TABLE OF P0014,"TABLES PARAM |
| wa_pp0014 | LIKE LINE OF it_pp0014 , |
| it_pp0015 | TYPE STANDARD TABLE OF P0015,"TABLES PARAM |
| wa_pp0015 | LIKE LINE OF it_pp0015 , |
| it_pp0021 | TYPE STANDARD TABLE OF P0021,"TABLES PARAM |
| wa_pp0021 | LIKE LINE OF it_pp0021 , |
| it_pp0278 | TYPE STANDARD TABLE OF P0278,"TABLES PARAM |
| wa_pp0278 | LIKE LINE OF it_pp0278 , |
| it_pp0279 | TYPE STANDARD TABLE OF P0279,"TABLES PARAM |
| wa_pp0279 | LIKE LINE OF it_pp0279 , |
| it_prottab | TYPE STANDARD TABLE OF HRPFD00_PROTTAB,"TABLES PARAM |
| wa_prottab | LIKE LINE OF it_prottab . |
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_errors | TYPE I , |
| it_valuetab | TYPE STANDARD TABLE OF P02VS_VALUE_TAB , |
| wa_valuetab | LIKE LINE OF it_valuetab, |
| ld_rdate | TYPE T5CA9-BEGDA , |
| it_new_entries | TYPE STANDARD TABLE OF PCH01_EXT_ENTRIES , |
| wa_new_entries | LIKE LINE OF it_new_entries, |
| ld_warnings | TYPE I , |
| ld_begda | TYPE P0278-BEGDA , |
| ld_endda | TYPE P0278-ENDDA , |
| it_print_entries | TYPE STANDARD TABLE OF P02VS_PR_ENTRY_TAB , |
| wa_print_entries | LIKE LINE OF it_print_entries, |
| ld_pplan | TYPE T5CA4-PPLAN , |
| it_errlist | TYPE STANDARD TABLE OF HRERROR , |
| wa_errlist | LIKE LINE OF it_errlist, |
| ld_evl | TYPE P02VS_EVL_INFO_RECORD , |
| ld_kasse | TYPE T5CP0-KASSE , |
| it_pp0000 | TYPE STANDARD TABLE OF P0000 , |
| wa_pp0000 | LIKE LINE OF it_pp0000, |
| ld_actio | TYPE T5CAY-ACTIO , |
| ld_pernr | TYPE P0000-PERNR , |
| it_pp0001 | TYPE STANDARD TABLE OF P0001 , |
| wa_pp0001 | LIKE LINE OF it_pp0001, |
| ld_tclas | TYPE PSPAR-TCLAS , |
| it_pp0002 | TYPE STANDARD TABLE OF P0002 , |
| wa_pp0002 | LIKE LINE OF it_pp0002, |
| ld_no_db_lock | TYPE P02VS_FLAG , |
| it_pp0007 | TYPE STANDARD TABLE OF P0007 , |
| wa_pp0007 | LIKE LINE OF it_pp0007, |
| ld_testmode | TYPE P02VS_FLAG , |
| it_pp0008 | TYPE STANDARD TABLE OF P0008 , |
| wa_pp0008 | LIKE LINE OF it_pp0008, |
| ld_no_error_handling | TYPE P02VS_FLAG , |
| it_pp0014 | TYPE STANDARD TABLE OF P0014 , |
| wa_pp0014 | LIKE LINE OF it_pp0014, |
| ld_orgin | TYPE T5CPB-ORGIN , |
| it_pp0015 | TYPE STANDARD TABLE OF P0015 , |
| wa_pp0015 | LIKE LINE OF it_pp0015, |
| it_pp0021 | TYPE STANDARD TABLE OF P0021 , |
| wa_pp0021 | LIKE LINE OF it_pp0021, |
| ld_paratab | TYPE P02VS_VALUE_TAB , |
| ld_simpplan | TYPE T5CA4-PPLAN , |
| it_pp0278 | TYPE STANDARD TABLE OF P0278 , |
| wa_pp0278 | LIKE LINE OF it_pp0278, |
| ld_simpafgr | TYPE T5CAX-PAFGR , |
| it_pp0279 | TYPE STANDARD TABLE OF P0279 , |
| wa_pp0279 | LIKE LINE OF it_pp0279, |
| ld_do_init | TYPE CHAR1 , |
| it_prottab | TYPE STANDARD TABLE OF HRPFD00_PROTTAB , |
| wa_prottab | LIKE LINE OF it_prottab, |
| ld_do_perform | TYPE CHAR1 , |
| ld_do_end | TYPE CHAR1 , |
| ld_mode | TYPE PROCESSING_TYPE , |
| ld_caller | TYPE PROCESSING_TYPE . |
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_PF_VS_PERFORM_05 or its description.