SAP Reports / Programs

RPITRFVP SAP ABAP Report - Enhanced Std Pay Increase (Indirect and Direct WTs) with Batch Input







RPITRFVP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Enhanced Std Pay Increase (Indirect and Direct WTs) with Batch Input report (RPITRFVP) If there is a change in the amount for a paticular pay scale structure, this report creates a new Activity with Higher Rate of Pay infotype (0509) record for the employee with the updated salary...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPITRFVP into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RPITRFVP. "Basic submit
SUBMIT RPITRFVP AND RETURN. "Return to original report after report execution complete
SUBMIT RPITRFVP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: Z-BREITE = Line Width
Selection Text: T_GRUPPE = Pay Scale Group
Selection Text: T_GEBIET = Pay Scale Area
Selection Text: T_ART = Pay Scale Type
Selection Text: TUMMASSN = Event Pay Scale Reclassificatn
Selection Text: TRFMASSN = Event for std pay increase
Selection Text: T-DATUM = Date of standard pay increase
Selection Text: P8_SUBTY = Subtype for Basic Pay infotype
Selection Text: MODLGART = Country Grouping
Selection Text: MAP-NAME = Name of Batch Input Session
Selection Text: KEEP = Keep processed BI session
Selection Text: HOLDDATE = Lock Batch Input Session Until
Selection Text: GRUND = Reason for Change to Basic Pay
Selection Text: CPIND = Planned Compensation Type
Selection Text: B-INPUT = Batch Input
Title: Enhanced Std Pay Increase (Indirect and Direct WTs) with Batch Input
Text Symbol: STT = Key date $1
Text Symbol: F4S = Infotype: &
Text Symbol: BIN = Data relevant for batch input
Text Symbol: 094 = No value stored in feature $ for var. key $
Text Symbol: 093 = Key $ not found in T001P
Text Symbol: 092 = Infotype $ not found in T582A
Text Symbol: 091 = Program terminated
Text Symbol: 090 = Please specify date (T-DATUM) for standard pay increase
Text Symbol: 062 = Standard Pay increase caused no change, record unchanged for key date
Text Symbol: 061 = -> no BI
Text Symbol: 060 = Error during indirect valuation
Text Symbol: 059 = Pay increase took place on the key date -> no BI
Text Symbol: 058 = record starts on key date. Can only use an action to increase -> no BI
Text Symbol: 057 = Not enough space for wage types
Text Symbol: 056 = Wage type amount cannot be increased for foreign currency
Text Symbol: 055 = Indirectly valuated WT not allowed in basic pay record with foreign curr.
Text Symbol: 054 = Direct valuation not possible for write-protected wage types
Text Symbol: 001 = The following wage types are valuated indirectly acc.to T511:
Text Symbol: 002 = indirect
Text Symbol: 003 = Direct
Text Symbol: 004 = indirect.
Text Symbol: 006 = New record created





Text Symbol: 007 = Record already exists and is unchanged -> no BI
Text Symbol: 008 = Record w. directly valuated WTs only
Text Symbol: 009 = Record(BP) was changed despite PS reclassification
Text Symbol: 010 = **** Increase of actual salary not possible ****
Text Symbol: 011 = Compensation WType
Text Symbol: 012 = is already included
Text Symbol: 013 = Choose different ref. wage types in T510D
Text Symbol: 014 = Default wage type
Text Symbol: 015 = Acc.T539A cannot be overwritten
Text Symbol: 018 = Records exist in the future
Text Symbol: 019 = Previous rec. is identical-> no BI
Text Symbol: 020 = Existing record modified
Text Symbol: 041 = BATCH INPUT PROCESSING:
Text Symbol: 042 = Number of screens created:
Text Symbol: 043 = No event record created
Text Symbol: 044 = Name of BI session :
Text Symbol: 045 = Batch input session locked until :
Text Symbol: 046 = Processed batch input session will not be deleted
Text Symbol: 047 = A batch input session was not created
Text Symbol: 048 = Error when defining currency
Text Symbol: 049 = Previous record not found for pers. no.
Text Symbol: 050 = On
Text Symbol: 051 = Wage type (T539A) on line of write-protected wage type
Text Symbol: 052 = Currency change and conversion from &1 to &2 occurred
Text Symbol: 053 = Error when converting to new currency
002 From WT Description Valuation Amount Number Unit
001 PersNo Names CC PA PS EG ES PI PT PG Pay scale Level


INCLUDES used within this REPORT RPITRFVP

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' "XWIP30K035877 EXPORTING "XWIP30K035877 mapname = map-name "XWIP30K035877 reportname = repname "XWIP30K035877 IMPORTING "XWIP30K035877 mapname = map-name. "XWIP30K035877

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = restrict EXCEPTIONS OTHERS = 12.

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' "XWIP30K035877 EXPORTING "XWIP30K035877 mapname = map-name "XWIP30K035877 reportname = repname "XWIP30K035877 IMPORTING "XWIP30K035877 mapname = map-name. "XWIP30K035877

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' "WLAAHRK059093 EXPORTING "WLAAHRK059093 repid = repname "WLAAHRK059093 IMPORTING "WLAAHRK059093 format = format. "WLAAHRK059093

RP_NUMBER_OF_WAGETYPES_0008





CALL FUNCTION 'RP_NUMBER_OF_WAGETYPES_0008' "N217573 IMPORTING wt_count = it0008_lgarts. "N217573

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = obj_pal_log->c_root_node i_node_txt = g_node_text i_categ_id = c_pal_categids-ae_data importing e_node_key = obj_pal_log->g_node_key exceptions others = 99.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' "WLAAHRK059093 EXPORTING "WLAAHRK059093 format = format "WLAAHRK059093 langu = sy-langu "WLAAHRK059093 molga = t001p-molga "WLAAHRK059093 pp0002 = p0002 "WLAAHRK059093 * PP0021 = ' ' "WLAAHRK059093 * PP0148 = ' ' "WLAAHRK059093 * NAMEL = "WLAAHRK059093 * PPINFTV = "WLAAHRK059093 * TCLAS = 'A' "WLAAHRK059093 IMPORTING "WLAAHRK059093 edit_name = edit_name "WLAAHRK059093 retcode = subrc. "WLAAHRK059093

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = obj_pal_log->g_node_key i_row_data = g_output_data EXCEPTIONS others = 99.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = obj_pal_log->g_node_key i_row_data = g_output_data EXCEPTIONS others = 99.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' "WLAALRK042963 EXPORTING "WLAALRK042963 companycode = t01-bukrs "WLAALRK042963 EXCEPTIONS "WLAALRK042963 not_found = 1 "WLAALRK042963 OTHERS = 2. "WLAALRK042963

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = bname user = sy-uname keep = keep holddate = holddate.

HRPBSNO_UPDATE_AP CALL FUNCTION 'HRPBSNO_UPDATE_AP' EXPORTING number = p0509-pernr validityend = p0509-begda validitybegin = p0509-endda recordnumber = p0509-seqnr operation = 'MOD' * DIALOG_MODE = '0' record = p0509 trfst = p0509-trfst delimit_date = temp opt = opt TUMMASSN = TRFMASSN IMPORTING SCREEN_COUNT = screen_count TABLES bb_tab = bi_tmp EXCEPTIONS no_record_found = 1 operation_not_performed = 2 locked = 3 OTHERS = 4
.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' "BI-Mappe eröffnen EXPORTING client = sy-mandt group = bname user = sy-uname keep = keep holddate = holddate.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = p_prog dynumb = p_dynpro TABLES dynpfields = dynpro_tab EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'PREAS' tabname = 'T530E' title_in_values_list = title_in_popup IMPORTING select_value = p_dynp_reason TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

HELP_VALUES_GET_WITH_TABLE_EXT CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT' EXPORTING fieldname = 'MASSG' tabname = 'T530 ' TABLES fields = ihelp_fields valuetab = helptab select_values = sel_values EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

RP_ZEINH_GET CALL FUNCTION 'RP_ZEINH_GET' "WLAALRK042963 EXPORTING "WLAALRK042963 p_molga = p_molga "WLAAHRK033713 p_trfgb = p_trfgb "WLAALRK042963 p_trfar = p_trfar "WLAALRK042963 p_trfkz = p_trfkz "WLAAHRK033713 p_date = p_begda "WLAALRK042963 IMPORTING "WLAALRK042963 p_zeinh = tmp_zeinh "WLAALRK042963 EXCEPTIONS "WLAALRK042963 no_entry_t549r = 1 "WLAALRK042963 OTHERS = 3. "WLAALRK042963

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = t-datum "#EC DOM_EQUAL foreign_amount = dl-betrg foreign_currency = p0509-waers local_currency = p_curr IMPORTING local_amount = dl-betrg EXCEPTIONS OTHERS = 1.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'SUBTY' tabname = 'P0008' title_in_values_list = title_in_popup IMPORTING select_value = p8_subty TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

RP_EVALUATE_INDIRECTLY_P0008 CALL FUNCTION 'RP_EVALUATE_INDIRECTLY_P0008' EXPORTING pbegda = p_date pmolga = t001p-molga pp0001 = p0001 pp0007 = p0007 pp0008 = p0008 ppernr = pernr-pernr TABLES ptbindbw = ptbindbw EXCEPTIONS bad_parameters = 1 error_at_indirect_evaluation = 2 OTHERS = 3.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RPITRFVP or its description.