SAP Reports / Programs

RPIUNIVP SAP ABAP Report - Reversing hike in pay for non-accepting unions







RPIUNIVP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reversing Hike in Pay for Non Accepting Unions report (RPIUNIVP) This report is used for employees belonging to the a particular union...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 RPIUNIVP into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M20_PBS_UNI - Pay difference due to Trade Unions


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 RPIUNIVP. "Basic submit
SUBMIT RPIUNIVP AND RETURN. "Return to original report after report execution complete
SUBMIT RPIUNIVP 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: B_INPUT = Batch Input
Selection Text: MAP_NAME = Map Name
Selection Text: R_DEL = Remove Difference
Selection Text: R_REV = Induce Difference
Selection Text: S_PART = Part of Union
Selection Text: S_TRFAR = D .
Selection Text: S_UNION = Union
Title: Reversing hike in pay for non-accepting unions
Text Symbol: 001 = TEST
Text Symbol: 002 = P0014-LGART
Text Symbol: 003 = Q0014-BETRG
Text Symbol: 004 = Infotype
Text Symbol: 005 = Additional Data


INCLUDES used within this REPORT RPIUNIVP

INCLUDE RPIUNIVP01.
INCLUDE RPIUNIVP02.


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:

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = l_bname user = sy-uname.

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

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = l_bname user = sy-uname.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = wa_res_0509-pernr infty = '0509' * BEGDA = ref_date * ENDDA = ref_date * BYPASS_BUFFER = ' ' IMPORTING subrc = l_subrc TABLES infty_tab = i_p0509 EXCEPTIONS infty_not_found = 1 OTHERS = 2 .

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

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * * TCLAS = 'A' pernr = i_p0509-pernr infty = '0014' begda = i_p0509-begda endda = i_p0509-endda * BYPASS_BUFFER = ' ' * IMPORTING * SUBRC = TABLES infty_tab = i_p0014 EXCEPTIONS infty_not_found = 1 OTHERS = 2 .

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '20' IMPORTING waers = i_p0014-waers EXCEPTIONS molga_not_in_t001p = 1.

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

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP' EXCEPTIONS NOT_OPEN = 1 QUEUE_ERROR = 2 OTHERS = 3.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = map_name user = sy-uname.

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

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = l_bname user = sy-uname.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = wa_res-pernr infty = '0509' * BEGDA = ref_date * ENDDA = ref_date * BYPASS_BUFFER = ' ' IMPORTING subrc = l_subrc TABLES infty_tab = i_p0509 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2 .

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

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

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * * TCLAS = 'A' pernr = i_p0509-pernr infty = '0014' begda = i_p0509-begda endda = i_p0509-endda * BYPASS_BUFFER = ' ' * IMPORTING * SUBRC = TABLES infty_tab = l_p0014 EXCEPTIONS infty_not_found = 1 OTHERS = 2 .

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

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = it_result_wa-pernr infty = '0001' begda = ref_begda IMPORTING subrc = i_subrc TABLES infty_tab = i_p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY





CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RPIUNIVP' i_grid_title = grid_title * I_GRID_SETTINGS = is_layout = gs_layout it_fieldcat = list_fieldcat IMPORTING es_exit_caused_by_user = exit_cause TABLES t_outtab = it_result EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES ERROR = error_tab[] EXCEPTIONS INVALID_LINESIZE = 1 OTHERS = 2.



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 RPIUNIVP or its description.