SAP Reports / Programs

RRTP_US_CONTRIBUTION SAP ABAP Report - Report: Contribution limits for retirement plan (US enhancement)







RRTP_US_CONTRIBUTION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RRTP_US_CONTRIBUTION 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

RTP_US_R3 - Retirement plan contribution limit


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 RRTP_US_CONTRIBUTION. "Basic submit
SUBMIT RRTP_US_CONTRIBUTION AND RETURN. "Return to original report after report execution complete
SUBMIT RRTP_US_CONTRIBUTION 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_YEAR = D Calendar year
Selection Text: RNG_BPNB = D Business partner
Title: Report: Contribution limits for retirement plan (US enhancement)
Text Symbol: R10 = Select accountholders who made contributions above the limit
Text Symbol: R11 = Select accountholders who made contributions below the limit
Text Symbol: RP6 = Contribution:
Text Symbol: RP7 = above the limit
Text Symbol: RP8 = below the limit
Text Symbol: S01 = Calendar Year Selection
Text Symbol: S03 = Accountholder Selections
Text Symbol: S07 = Contribution limit selection


INCLUDES used within this REPORT RRTP_US_CONTRIBUTION

INCLUDE IRTP_US_CONSTANTS.
INCLUDE RRTP_US_CONTRIBUTION_F01.
INCLUDE IRTP_US_SEL_YEAR.
INCLUDE IRTP_US_SEL_ACCOUNTHOLDER.


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:

RTP_US_API_CHECK_YEAR CALL FUNCTION 'RTP_US_API_CHECK_YEAR' EXPORTING i_year = p_year EXCEPTIONS no_year = 1 future_year = 2 OTHERS = 3.

RTP_US_API_CHECK_BP_SELECTION CALL FUNCTION 'RTP_US_API_CHECK_BP_SELECTION' EXPORTING i_role_category = g_con_rolecat_accholder IMPORTING e_stnd_role = l_stnd_role_accholder TABLES t_rng_business_partner = rng_bpnb EXCEPTIONS invalid_partner = 1 OTHERS = 2.

RTP_US_API_FILL_FIELD_CATALOG CALL FUNCTION 'RTP_US_API_FILL_FIELD_CATALOG' EXPORTING i_report_id = '04' TABLES t_field_cat = l_tab_field_catalog.

RTP_US_DB_TOT_READ_REP CALL FUNCTION 'RTP_US_DB_TOT_READ_REP' EXPORTING i_tax_year = p_year TABLES t_tot = l_tab_tot.

RTP_US_DB_PLAN_READ_SNG CALL FUNCTION 'RTP_US_DB_PLAN_READ_SNG' EXPORTING i_bkkrs = l_wrk_tot-bkkrs i_plan_number = l_wrk_tot-plan_number IMPORTING e_plan = l_str_plan EXCEPTIONS not_found = 1 OTHERS = 2.

RTP_US_DB_BP_PLAN_READ CALL FUNCTION 'RTP_US_DB_BP_PLAN_READ' EXPORTING i_bkkrs = l_wrk_tot-bkkrs i_plan_number = l_wrk_tot-plan_number i_rltyp = l_stnd_role_accholder TABLES t_bp_plan = l_tab_bp_plan EXCEPTIONS not_found = 1 OTHERS = 2.

RTP_US_DB_CONT_LIM_READ_MULT CALL FUNCTION 'RTP_US_DB_CONT_LIM_READ_MULT' TABLES t_trtp_us_cont_lim = l_tab_cont_lim EXCEPTIONS not_found = 1 OTHERS = 2.

RTP_US_API_ALV_PLAN_REPORT CALL FUNCTION 'RTP_US_API_ALV_PLAN_REPORT' EXPORTING i_str_alv_variant = l_str_alv_variant i_save = 'A' i_report_title = l_report_title i_screen_title_number = '3' TABLES t_plan_report = l_tab_plan_report t_field_catalog = l_tab_field_catalog EXCEPTIONS object_create_error = 1 method_error = 2 OTHERS = 3.

RTP_US_API_CONFIRM_POP_UP CALL FUNCTION 'RTP_US_API_CONFIRM_POP_UP' IMPORTING e_continue = l_continue.

RTP_US_API_FILL_FIELD_CATALOG CALL FUNCTION 'RTP_US_API_FILL_FIELD_CATALOG' EXPORTING i_report_id = '03' TABLES t_field_cat = l_tab_field_catalog.

RTP_US_API_ALV_PLAN_REPORT CALL FUNCTION 'RTP_US_API_ALV_PLAN_REPORT' EXPORTING i_str_alv_variant = l_str_alv_variant i_save = 'A' i_report_title = l_report_title i_screen_title_number = '3' TABLES t_plan_report = l_tab_plan_report_unknown t_field_catalog = l_tab_field_catalog EXCEPTIONS object_create_error = 1 method_error = 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 RRTP_US_CONTRIBUTION or its description.