SAP Reports / Programs | Bank Customer Accounts | Bank Components | Bank Customer Accounts(IS-B-BCA) SAP IS

RRTP_US_AGE SAP ABAP Report - Report: Age limits for retirement plan (US enhancement)







RRTP_US_AGE 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_AGE 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_R2 - Retirement plan age limit report


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_AGE. "Basic submit
SUBMIT RRTP_US_AGE AND RETURN. "Return to original report after report execution complete
SUBMIT RRTP_US_AGE 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_DELTA =
Selection Text: RNG_BKKR = D Bank Area
Selection Text: RNG_BPNB = D Business partner
Selection Text: RNG_PLNB = D Plan number of the retirement
Selection Text: RNG_TPCD = D Type code of the retirement pl
Title: Report: Age limits for retirement plan (US enhancement)
Text Symbol: M01 = There are accountholders who's age is unknown.
Text Symbol: M02 = Do you want to display these accountholders?
Text Symbol: R05 = Age limit for eligible distributions.
Text Symbol: R06 = Age limit for required distributions.
Text Symbol: R07 = Age limit for contributions.
Text Symbol: R08 = Deviation from age limit
Text Symbol: R09 = years below the age limit.
Text Symbol: RP2 = Reporting age limits
Text Symbol: RP3 = for eligible distribution
Text Symbol: RP4 = for required distribution
Text Symbol: RP5 = for contribution
Text Symbol: S02 = Plan Selections
Text Symbol: S03 = Accountholder Selections
Text Symbol: S05 = Age Selections
Text Symbol: S06 = Age Interval Selection


INCLUDES used within this REPORT RRTP_US_AGE

INCLUDE IRTP_US_CONSTANTS.
INCLUDE RRTP_US_AGEF01.
INCLUDE IRTP_US_SEL_PLAN.
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_PLAN_SELECT CALL FUNCTION 'RTP_US_API_CHECK_PLAN_SELECT' TABLES t_rng_bkkrs = rng_bkkr t_rng_plan_number = rng_plnb t_rng_type_code = rng_tpcd EXCEPTIONS invalid_bank_area = 1 plan_number_not_checked = 2 invalid_plan_number = 3 invalid_type_code = 4 OTHERS = 5.

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 = '02' TABLES t_field_cat = l_tab_field_catalog.

RTP_US_DB_PLAN_READ_REP CALL FUNCTION 'RTP_US_DB_PLAN_READ_REP' TABLES t_rng_bkkrs = rng_bkkr t_rng_plan_number = rng_plnb t_rng_plan_type = rng_tpcd t_plan = l_tab_plan.

RTP_US_API_GET_DESCRIPTIONS CALL FUNCTION 'RTP_US_API_GET_DESCRIPTIONS' EXPORTING i_str_accountholder = l_str_accountholder i_type_code = l_wrk_plan-type_code i_bkkrs = l_wrk_plan-bkkrs IMPORTING e_name = l_wrk_plan_report-name e_type_description = l_wrk_plan_report-type_description e_bkkrs = l_wrk_plan_report-t_bkkrs.

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 = '2' 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 = '2' 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_AGE or its description.