SAP Reports / Programs

RPLBEN07 SAP ABAP Report - Changes in Benefits Elections







RPLBEN07 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report shows the changes made to benefit plan infotype records on a given date or during a certain period in time...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 RPLBEN07 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

HRBEN0077 - Changes in Benefits Elections


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 RPLBEN07. "Basic submit
SUBMIT RPLBEN07 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLBEN07 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: P_VARI = Layout
Selection Text: CRENR = Provider
Selection Text: BPLAN = Plan
Title: Changes in Benefits Elections
Text Symbol: H14 = Pers.no.
Text Symbol: H15 = Changed
Text Symbol: H16 = Reason
Text Symbol: H17 = From
Text Symbol: H18 = To
Text Symbol: H19 = By
Text Symbol: H20 = Details
Text Symbol: H21 = Reason/Details
Text Symbol: M01 = First enrollment in plan type
Text Symbol: M02 = Re-enrollment (no obvious changes)
Text Symbol: M03 = Renewed enrollment in plan type
Text Symbol: M06 = Participation terminated
Text Symbol: M07 = Participation terminated, but enrollment renewed on
Text Symbol: M08 = Renewed enrollment
Text Symbol: S02 = Layout
Text Symbol: STT = Key date $1
Text Symbol: T01 = Provider:
Text Symbol: T02 = Plan :
Text Symbol: T03 = Name of Provider
Text Symbol: T04 = Period :
Text Symbol: T05 = PlanName
Text Symbol: T06 = Provider
Text Symbol: T07 = Plan
Text Symbol: TLI = Changes to existing employee records
Text Symbol: TLR = Changes in benefit elections
Text Symbol: UNT = P
Text Symbol: ZRM = Evaluation period $1 to $2
Text Symbol: H01 = Name
Text Symbol: 001 = New plan
Text Symbol: 002 = Plan data
Text Symbol: 003 = Option
Text Symbol: 004 = Dep.cover.
Text Symbol: 005 = Ins.opt.
Text Symbol: 011 = Alternative salary





Text Symbol: 012 = Additional units
Text Symbol: 013 = Insurance coverage override
Text Symbol: 021 = Cost alternative
Text Symbol: 022 = Costs for bonus
Text Symbol: 023 = Cost period
Text Symbol: 031 = Contr. regular, pre-tax
Text Symbol: 032 = Contr. regular, post-tax
Text Symbol: 033 = Bonus contribution pre-tax
Text Symbol: 034 = Bonus contribution post-tax
Text Symbol: 035 = Contribution period
Text Symbol: 041 = Employee contribution
Text Symbol: 051 = Alt. credit amount
Text Symbol: 052 = Credit period
Text Symbol: 061 = Dependent inserted
Text Symbol: 062 = Dependent deleted
Text Symbol: 071 = Beneficiary inserted
Text Symbol: 072 = Beneficiary deleted
Text Symbol: 073 = Beneficiary percentage
Text Symbol: 081 = Investment inserted
Text Symbol: 082 = Investment deleted
Text Symbol: 083 = Investment percentage
Text Symbol: 091 = Alt. beneficiary inserted
Text Symbol: 092 = Alt. beneficiary deleted
Text Symbol: 093 = Alt. beneficiary percentage
Text Symbol: F01 = Total changes


INCLUDES used within this REPORT RPLBEN07

INCLUDE: FBEN0D01, " ERROR HANDLING


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_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING PERNR = PERNR-PERNR MSG_CLASS = 'RP' MSG_NUMBER = '050' MSG_PAR1 = '0001' MSG_PAR2 = PERNR-PERNR MSG_PAR3 = PN-BEGDA MSG_PAR4 = PN-ENDDA SEVERITY = 8 REACTION = NO_MSG TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_HANDLE_ERROR CALL FUNCTION 'HR_BEN_HANDLE_ERROR' EXPORTING PERNR = PERNR-PERNR MSG_CLASS = 'RP' MSG_NUMBER = '050' MSG_PAR1 = '0002' MSG_PAR2 = PERNR-PERNR MSG_PAR3 = PN-BEGDA MSG_PAR4 = PN-ENDDA SEVERITY = 8 REACTION = NO_MSG TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_SHOW_ERROR_POPUP CALL FUNCTION 'HR_BEN_SHOW_ERROR_POPUP' TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_GET_TEXT_DOMVALUE CALL FUNCTION 'HR_BEN_GET_TEXT_DOMVALUE' EXPORTING DOMNAME = 'PFREQ' DOMVALUE = P0168-PERIO REACTION = NO_LOG IMPORTING TEXT = TXT_PERIOD SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_GET_TEXT_DOMVALUE CALL FUNCTION 'HR_BEN_GET_TEXT_DOMVALUE' EXPORTING DOMNAME = 'PFREQ' DOMVALUE = P0168-PERIO REACTION = NO_LOG IMPORTING TEXT = TXT_PERIOD SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_GET_TEXT_DOMVALUE





CALL FUNCTION 'HR_BEN_GET_TEXT_DOMVALUE' EXPORTING DOMNAME = 'PFREQ' DOMVALUE = P0377-PERIO REACTION = NO_LOG IMPORTING TEXT = TXT_PERIOD SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_GET_TEXT_DOMVALUE CALL FUNCTION 'HR_BEN_GET_TEXT_DOMVALUE' EXPORTING DOMNAME = 'PFREQ' DOMVALUE = P0379-PERIO REACTION = NO_LOG IMPORTING TEXT = TXT_PERIOD SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_GET_TEXT_DOMVALUE CALL FUNCTION 'HR_BEN_GET_TEXT_DOMVALUE' EXPORTING DOMNAME = 'PFREQ' DOMVALUE = P0379-PERIO REACTION = NO_LOG IMPORTING TEXT = TXT_PERIOD SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = GS_VARIANT I_SAVE = GC_SAVE IMPORTING ES_VARIANT = GS_VARIANT EXCEPTIONS NOT_FOUND = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = GC_SAVE CHANGING CS_VARIANT = GS_VARIANT EXCEPTIONS WRONG_INPUT = 1 NOT_FOUND = 2 PROGRAM_ERROR = 3 OTHERS = 4.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

HR_BEN_CALL_INFOTYPE CALL FUNCTION 'HR_BEN_CALL_INFOTYPE' EXPORTING PERNR = GS_OUTPUT_DETAIL-PERSNO INFTY = GS_OUTPUT_DETAIL-INFTY SUBTY = SPACE OBJPS = SPACE BEGDA = GS_OUTPUT_DETAIL-BEGDA ENDDA = GS_OUTPUT_DETAIL-ENDDA OPERATION = 'DIS' REACTION = NO_MSG IMPORTING SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID I_CALLBACK_USER_COMMAND = SLIS_EV_USER_COMMAND I_CALLBACK_PF_STATUS_SET = SLIS_EV_PF_STATUS_SET IT_FIELDCAT = GT_SLIS_FCAT I_SAVE = GC_SAVE IT_EVENTS = GT_EVENTS IS_LAYOUT = GS_LAYOUT I_TABNAME_HEADER = GC_TABNAME_HEADER1 I_TABNAME_ITEM = GC_TABNAME_DETAIL1 I_STRUCTURE_NAME_HEADER = GC_STRUCTURE_HEADER I_STRUCTURE_NAME_ITEM = GC_STRUCTURE_DETAIL IS_KEYINFO = GS_KEYINFO TABLES T_OUTTAB_HEADER = GT_OUTPUT_HEADER1 T_OUTTAB_ITEM = GT_OUTPUT_DETAIL1 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID I_INTERNAL_TABNAME = XV_TAB_HEADER I_STRUCTURE_NAME = GC_STRUCTURE_HEADER I_BYPASSING_BUFFER = GC_X CHANGING CT_FIELDCAT = XT_FCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID I_INTERNAL_TABNAME = XV_TAB_DETAIL I_STRUCTURE_NAME = GC_STRUCTURE_DETAIL I_BYPASSING_BUFFER = GC_X CHANGING CT_FIELDCAT = XT_FCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID I_CALLBACK_USER_COMMAND = SLIS_EV_USER_COMMAND I_CALLBACK_PF_STATUS_SET = SLIS_EV_PF_STATUS_SET IT_FIELDCAT = GT_SLIS_FCAT I_SAVE = GC_SAVE IT_EVENTS = GT_EVENTS IS_LAYOUT = GS_LAYOUT I_TABNAME_HEADER = GC_TABNAME_HEADER2 I_TABNAME_ITEM = GC_TABNAME_DETAIL2 I_STRUCTURE_NAME_HEADER = GC_STRUCTURE_HEADER I_STRUCTURE_NAME_ITEM = GC_STRUCTURE_DETAIL IS_KEYINFO = GS_KEYINFO TABLES T_OUTTAB_HEADER = GT_OUTPUT_HEADER2 T_OUTTAB_ITEM = GT_OUTPUT_DETAIL2 EXCEPTIONS PROGRAM_ERROR = 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 RPLBEN07 or its description.