SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

RPU51000_FORM SAP ABAP INCLUDE - Form Include for RPU51000







RPU51000_FORM is a standard ABAP INCLUDE 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 RPU51000_FORM 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 RPU51000_FORM. "Basic submit
SUBMIT RPU51000_FORM AND RETURN. "Return to original report after report execution complete
SUBMIT RPU51000_FORM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Form Include for RPU51000


INCLUDES used within this REPORT RPU51000_FORM

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:

TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' * IMPORTING * WE_ORDER = * WE_TASK = TABLES wt_ko200 = t_ko200 wt_e071k = t_e071k EXCEPTIONS OTHERS = 01.

TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' * EXPORTING * WI_ORDER = ' ' * IMPORTING * WE_ORDER = * WE_TASK = TABLES wt_ko200 = t_ko200 wt_e071k = t_e071k EXCEPTIONS OTHERS = 01.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = molga trfar = trfart trfgb = trfgeb trfkz = trfkz begda = cur_begda endda = high_date IMPORTING waers = curkey valid_begda = get_curr_begda valid_endda = get_curr_endda return = get_currency_ret TABLES currency_table = i500c EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = molga trfar = trfart trfgb = trfgeb trfkz = trfkz begda = gc_date endda = gc_date IMPORTING waers = gc_currency valid_begda = get_curr_begda valid_endda = get_curr_endda return = get_currency_ret EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p_cur_tab_begda foreign_amount = p_tab_betrg foreign_currency = p_old_cur local_currency = p_cur_tab_waers * RATE = 0 * TYPE_OF_RATE = 'M' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = local_amount = p_tab_betrg * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_alv_list_top_of_list[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = 'ALV_OUTPUT' i_inclname = 'RPU51000_DATA' CHANGING ct_fieldcat = p_gt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING et_fieldcat = gt_fieldcat[] EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_SET' EXPORTING it_fieldcat = gt_fieldcat[] EXCEPTIONS OTHERS = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' is_layout = alv_layout it_fieldcat = gt_fieldcat[] it_events = gt_events[] TABLES t_outtab = alv_output 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 RPU51000_FORM or its description.