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

RPMYPA42F02 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT RPMYPA42F02

SOURCE = ' INCLUDE MPPERSFM_CE.'. "#EC NOTEXT


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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING * titlebar = * DIAGNOSE_OBJECT = ' ' text_question = question_text text_button_1 = 'Ja'(019) icon_button_1 = 'ICON_CHECKED' text_button_2 = 'Nein'(020) icon_button_2 = 'ICON_INCOMPLETE' default_button = '1' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING ** titlebar = ** DIAGNOSE_OBJECT = ' ' * text_question = question_text * text_button_1 = 'Ja'(019) * icon_button_1 = 'ICON_CHECKED' * text_button_2 = 'Nein'(020) * icon_button_2 = 'ICON_INCOMPLETE' * default_button = '1' * display_cancel_button = ' ' ** USERDEFINED_F1_HELP = ' ' ** START_COLUMN = 25 ** START_ROW = 6 ** POPUP_TYPE = * IMPORTING * answer = answer ** TABLES ** PARAMETER = * EXCEPTIONS * text_not_found = 1 * OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Dynpro existiert bereits'(017) * DIAGNOSE_OBJECT = ' ' text_question = question_text text_button_1 = 'Ja'(019) icon_button_1 = 'ICON_CHECKED' text_button_2 = 'Nein'(020) icon_button_2 = 'ICON_INCOMPLETE' default_button = '2' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'PROG' wi_tadir_obj_name = obj_name wi_read_only = 'X' IMPORTING new_tadir_entry = tadir_entry EXCEPTIONS OTHERS = 0.

RPY_DYNPRO_INSERT CALL FUNCTION 'RPY_DYNPRO_INSERT' EXPORTING * suppress_corr_checks = 'X' * CORRNUM = ' ' suppress_exist_checks = 'X' suppress_generate = suppress_generate * SUPPRESS_DICT_SUPPORT = ' ' * SUPPRESS_EXTENDED_CHECKS = ' ' header = header TABLES containers = containers fields_to_containers = fields flow_logic = flow * PARAMS = EXCEPTIONS cancelled = 1 already_exists = 2 program_not_exists = 3 not_executed = 4 missing_required_field = 5 illegal_field_value = 6 field_not_allowed = 7 not_generated = 8 illegal_field_position = 9 OTHERS = 10.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = ko200 IMPORTING we_ko200 = l_ko200_out we_object_appendable = l_appendable TABLES wt_e071k = l_e071k_tab EXCEPTIONS OTHERS = 1.

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' "XWSK068558 EXPORTING "XWSK068558 wi_ko200 = ko200 "XWSK068558 EXCEPTIONS "XWSK068558 cancel_edit_other_error = 1 "XWSK068558 show_only_other_error = 2 "XWSK068558 OTHERS = 3. "XWSK068558

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'PROG' wi_tadir_obj_name = obj_name wi_read_only = 'X' IMPORTING new_tadir_entry = tadir_entry.

PRETTY_PRINTER CALL FUNCTION 'PRETTY_PRINTER' EXPORTING inctoo = space * IMPORTING * INDENTATION_MAYBE_WRONG = TABLES ntext = pretty_coding otext = source EXCEPTIONS enqueue_table_full = 1 include_enqueued = 2 include_readerror = 3 include_writeerror = 4 error_message = 5 OTHERS = 6.

CALL FUNCTION source = ' CALL FUNCTION ''HR_GET_BUSINESS_ADD_IN'''."#EC NOTEXT

PRETTY_PRINTER CALL FUNCTION 'PRETTY_PRINTER' EXPORTING inctoo = space * IMPORTING * INDENTATION_MAYBE_WRONG = TABLES ntext = pretty_coding otext = source EXCEPTIONS enqueue_table_full = 1 include_enqueued = 2 include_readerror = 3 include_writeerror = 4 error_message = 5 OTHERS = 6.

CALL FUNCTION source = ' CALL FUNCTION ''HR_GET_BUSINESS_ADD_IN'''."#EC NOTEXT

PRETTY_PRINTER CALL FUNCTION 'PRETTY_PRINTER' EXPORTING inctoo = space * IMPORTING * INDENTATION_MAYBE_WRONG = TABLES ntext = pretty_coding otext = source EXCEPTIONS enqueue_table_full = 1 include_enqueued = 2 include_readerror = 3 include_writeerror = 4 error_message = 5 OTHERS = 6.

PRETTY_PRINTER CALL FUNCTION 'PRETTY_PRINTER' EXPORTING inctoo = space * IMPORTING * INDENTATION_MAYBE_WRONG = TABLES ntext = pretty_coding otext = source EXCEPTIONS enqueue_table_full = 1 include_enqueued = 2 include_readerror = 3 include_writeerror = 4 error_message = 5 OTHERS = 6.

RS_DIALOG_CREATE CALL FUNCTION 'RS_DIALOG_CREATE' EXPORTING * ACTION = 'INSR' * CORRNUM = ' ' dialogname = dia-dnam dynpronumber = dia-dynr programname = dia-prog * SUPPRESS_CORR_CHECK = 'X' TABLES dia_par = idiapar.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'DIAL' wi_tadir_obj_name = obj_name wi_tadir_devclass = devclass wi_test_modus = ' '.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = ko200 IMPORTING we_ko200 = l_ko200_out we_object_appendable = l_appendable TABLES wt_e071k = l_e071k_tab EXCEPTIONS OTHERS = 1.

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING wi_ko200 = ko200 EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.

HR_FEATURE_BACKTABLE





CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = 'ACTCE' struc_content = pme01 kind_of_error = '4' "Error-Message TABLES back = back_tab EXCEPTIONS OTHERS = 0.



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