SAP Reports / Programs | Cross-Application Components | General Application Functions(CA-GTF) SAP CA

MABADRF01 SAP ABAP INCLUDE - documentation and ABAP source code







MABADRF01 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 MABADRF01 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 MABADRF01. "Basic submit
SUBMIT MABADRF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MABADRF01 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 MABADRF01

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:

ABADR_BAL CALL FUNCTION 'ABADR_BAL' EXPORTING it_msg = lt_msg i_display = 'X' i_key = i_strategy-key.

ABA_CLIENT_STATE * call function 'ABA_CLIENT_STATE' * importing * e_subrc = subrc * exceptions * others = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = i_default_answer textline1 = 'Änderungen speichern ?'(107) titel = 'Sicherheitsabfrage'(108) IMPORTING answer = e_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Ohne Speicherung verlassen ?'(105) titel = 'Sicherheitsabfrage'(106) cancel_display = space IMPORTING answer = e_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Alle Einträge löschen ?'(115) titel = 'Sicherheitsabfrage'(106) cancel_display = space IMPORTING answer = e_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = 'Änderungen seit letzter'(100) textline2 = 'Speicherung zurücksetzen ?'(101) titel = 'Sicherheitsabfrage'(102) IMPORTING answer = e_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Speicherung trotz fehlgeschlagener'(117) textline2 = 'Transportfortschreibung fortsetzen ?'(118) titel = 'Sicherheitsabfrage'(102) IMPORTING answer = e_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Regeleinträge konnten nicht kopiert werden'(190) textline2 = 'Trotzdem speichern und Einträge löschen ?'(189) titel = 'Sicherheitsabfrage'(102) cancel_display = space IMPORTING answer = e_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'J' textline1 = 'Es sind Regeleinträge vorhanden'(187) textline2 = 'Sollen Sie übernommen werden ?'(188) titel = 'Sicherheitsabfrage'(102) IMPORTING answer = e_answer.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'FIELDNAME' display = display * TITEL = ' ' no_pers_help_select = 'X' * TITLE_IN_VALUES_LIST = ' ' * SHOW_ALL_VALUES_AT_FIRST_TIME = ' ' * USE_USER_SELECTIONS = ' ' * WRITE_SELECTFIELD_IN_COLOURS = 'X' * NO_SCROLL = ' ' * NO_CONVERSION = ' ' * REDUCED_STATUS_ONLY = ' ' * NO_MARKING_OF_CHECKVALUE = ' ' no_display_of_pers_values = 'X' IMPORTING ind = index TABLES fields = tab_help_fields full_table = tab_help_values.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'FIELDNAME' display = display * TITEL = ' ' no_pers_help_select = 'X' * TITLE_IN_VALUES_LIST = ' ' * SHOW_ALL_VALUES_AT_FIRST_TIME = ' ' * USE_USER_SELECTIONS = ' ' * WRITE_SELECTFIELD_IN_COLOURS = 'X' * NO_SCROLL = ' ' * NO_CONVERSION = ' ' * REDUCED_STATUS_ONLY = ' ' * NO_MARKING_OF_CHECKVALUE = ' ' no_display_of_pers_values = 'X' IMPORTING ind = index TABLES fields = tab_help_fields full_table = tab_help_values_2.

F4IF_INT_TABLE_VALUE_REQUEST * call function 'F4IF_INT_TABLE_VALUE_REQUEST' * exporting ** DDIC_STRUCTURE = ' ' * retfield = 'FIELDNAME' ** PVALKEY = ' ' ** DYNPPROG = ' ' ** DYNPNR = ' ' ** DYNPROFIELD = ' ' ** STEPL = 0 ** WINDOW_TITLE = ** VALUE = ' ' * value_org = 'S' ** MULTIPLE_CHOICE = ' ' * display = display ** CALLBACK_PROGRAM = ' ' ** CALLBACK_FORM = ' ' * tables * value_tab = tab_help_values ** FIELD_TAB = * return_tab = tab_return_values ** DYNPFLD_MAPPING = * exceptions * parameter_error = 1 * no_values_found = 2 * others = 3 * .

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'SAPMABADR' dynumb = sy-dynnr TABLES dynpfields = e_tab_dynpreads EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 OTHERS = 9.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = 'SAPMABADR' dynumb = sy-dynnr TABLES dynpfields = tab_dynpreads EXCEPTIONS OTHERS = 9.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'SAPMABADR' dynumb = sy-dynnr * TRANSLATE_TO_UPPER = ' ' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' TABLES dynpfields = tab_dynpreads EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 OTHERS = 10.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = 'SAPMABADR' dynumb = sy-dynnr TABLES dynpfields = tab_dynpreads EXCEPTIONS OTHERS = 9.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = i_ctrl-top_line entry_to = i_tab_size * last_page_full = ' ' loops = i_line_count ok_code = ok_code overlapping = 'X' IMPORTING entry_new = new_top_line EXCEPTIONS no_entry_or_page_act = 1 no_entry_to = 2 no_ok_code_or_page_go = 3 OTHERS = 4.

ABADR_TRACE_WRITE CALL FUNCTION 'ABADR_TRACE_WRITE' EXPORTING i_import_from_tabadrx = 'X' i_list_access = global-list_access.

HELP_OBJECT_SHOW_FOR_FIELD





CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING doklangu = langu doktitle = space called_by_tcode = help_info-tcode called_by_program = repid called_by_dynp = dynnr called_for_tab = help_info-tabname called_for_field = help_info-fieldname called_for_tab_fld_btch_input = help_info-dynprofld called_by_cuaprog = sy-cprog called_by_cuastat = sy-pfkey EXCEPTIONS OTHERS = 1.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = i_name-tabname fieldname = i_name-fieldname dynpprog = repid dynpnr = dynnr dynprofield = dynpro_field stepl = stepl display = display EXCEPTIONS field_not_found = 0 no_help_for_field = 0 inconsistent_help = 0 no_values_found = 0 OTHERS = 0.

F4IF_FIELD_VALUE_REQUEST

HELP_VALUES_GET * call function 'F4IF_FIELD_VALUE_REQUEST' CALL FUNCTION 'HELP_VALUES_GET' EXPORTING display = display fieldname = i_name-fieldname tabname = i_name-tabname IMPORTING select_value = value.

ABADR_EXIT CALL FUNCTION 'ABADR_EXIT' EXPORTING i_exit_id = 'ABADR_USE_EXT' i_count_params = 2 CHANGING x_param_1 = desc-dtelm x_param_2 = e_use_ext_format.

ABADR_EXIT CALL FUNCTION 'ABADR_EXIT' EXPORTING i_exit_id = 'ABADR_EXT_DTELM' i_count_params = 2 CHANGING x_param_1 = desc-dtelm x_param_2 = e_dtelm.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Sollen auch die Regeleinträge transportiert werden ?'(110) titel = 'Strategie transportieren '(111) IMPORTING answer = answer. "#EC *



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