SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assignment of Markdown Profiles(LO-MD-MPA) SAP LO

WRF_ROUTINES_BLOCK1 SAP ABAP INCLUDE - WRFROUTINESBLOCK1







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

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:

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * titlebar = text-328 "Zuviele Sätze * text_question = text-329 "Zu viele Sätze! Weiter? * start_column = 14 * start_row = 14 * display_cancel_button = ' ' * default_button = '2' * IMPORTING * answer = lv_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-328 diagnose_object = 'WRF_MPA_GREAT_NUMBER' text_question = text-329 text_button_1 = 'Ja'(027) * icon_button_1 = 'icon_okay' text_button_2 = 'Nein'(028) * icon_button_2 = 'icon_cancel' default_button = '2' display_cancel_button = ' ' userdefined_f1_help = 'WRF_MPA_GREAT_NUMBER_F1' start_column = 14 start_row = 14 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = lv_answer TABLES parameter = lt_text EXCEPTIONS text_not_found = 1 OTHERS = 2.

WRF_MATGRP_ARTICLE_READ CALL FUNCTION 'WRF_MATGRP_ARTICLE_READ' EXPORTING hier_id = pa_ah_id node_range = so_nod[] IMPORTING wrf_article_buffer = gt_ah[] *DHU-17/08/04 CHANGING wrf_article_buffer2 = lt_ah_main EXCEPTIONS no_database_entries = 1 no_node_selected = 2 OTHERS = 3.

WRF_MATGRP_ARTICLE_READ CALL FUNCTION 'WRF_MATGRP_ARTICLE_READ' EXPORTING hier_id = pa_ah_id node_range = so_nod[] IMPORTING wrf_article_buffer = gt_ah[] *DHU-17/08/04 CHANGING wrf_article_buffer2 = lt_ah_main EXCEPTIONS no_database_entries = 1 no_node_selected = 2 OTHERS = 3.

WRF_MATGRP_ARTICLE_READ CALL FUNCTION 'WRF_MATGRP_ARTICLE_READ' EXPORTING hier_id = pa_ah_id node_range = so_nod[] IMPORTING wrf_article_buffer = gt_ah[] *DHU-17/08/04 CHANGING wrf_article_buffer2 = lt_ah_main EXCEPTIONS no_database_entries = 1 no_node_selected = 2 OTHERS = 3.

WRF_MATGRP_ARTICLE_READ CALL FUNCTION 'WRF_MATGRP_ARTICLE_READ' EXPORTING hier_id = pa_ah_id node_range = so_nod[] IMPORTING wrf_article_buffer = gt_ah[] *DHU-17/08/04 CHANGING wrf_article_buffer2 = lt_ah_main EXCEPTIONS no_database_entries = 1 no_node_selected = 2 OTHERS = 3.

WRF_MATGRP_ARTICLE_READ CALL FUNCTION 'WRF_MATGRP_ARTICLE_READ' EXPORTING hier_id = pa_ah_id node_range = so_nod[] IMPORTING wrf_article_buffer = gt_ah[] *DHU-17/08/04 CHANGING wrf_article_buffer2 = lt_ah_main EXCEPTIONS no_database_entries = 1 no_node_selected = 2 OTHERS = 3.

WRF_MATGRP_ARTICLE_READ CALL FUNCTION 'WRF_MATGRP_ARTICLE_READ' EXPORTING hier_id = pa_ah_id node_range = so_nod[] IMPORTING wrf_article_buffer = gt_ah[] *DHU-17/08/04 CHANGING wrf_article_buffer2 = lt_ah_main EXCEPTIONS no_database_entries = 1 no_node_selected = 2 OTHERS = 3.

WRF_MPA_READ_PRICING_REF_ART CALL FUNCTION 'WRF_MPA_READ_PRICING_REF_ART' EXPORTING i_vkorg = pa_vkorg i_vtweg = pa_vtweg i_mvke_check = 'X' * i_node_check = 'X' " bei CDT1 Verprobung aktivieren i_pmata_considered = 'X' i_fix_short_text = 'X' i_avoid_mpa_prefetch = 'X' * i_fix_profile = 'X' " assignment for heads already fixed i_hierid = gs_hierid-hier_id i_fix_node = 'X' TABLES xt_article_list = gt_head_if EXCEPTIONS no_found = 1.

WRF_MPA_READ_PRICING_REF_ART CALL FUNCTION 'WRF_MPA_READ_PRICING_REF_ART' EXPORTING i_vkorg = pa_vkorg i_vtweg = pa_vtweg i_mvke_check = 'X' i_pmata_considered = 'X' i_fix_short_text = 'X' i_fix_profile = 'X' i_avoid_mpa_prefetch = 'X' TABLES xt_article_list = gt_position_if EXCEPTIONS no_found = 1.

WRF_MPA_READ_PROFILE_ASSIGNM CALL FUNCTION 'WRF_MPA_READ_PROFILE_ASSIGNM' EXPORTING im_vkorg = pa_vkorg im_vtweg = pa_vtweg TABLES im_profile_assignm = gt_wrf_apc_mpa.

WRF_MPA_READ_ALL_BW_PROFILE CALL FUNCTION 'WRF_MPA_READ_ALL_BW_PROFILE' EXPORTING i_destination = gs_wrft_mpa-bw_destination TABLES t_profile = lt_profiles EXCEPTIONS no_data_found = 1 connection_error = 2 system_error = 3 no_correct_destination = 4 other_error = 5 OTHERS = 6.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' "#EC * EXPORTING * ddic_structure = 'WRF_MPA_BW_PROFILE_STY' retfield = 'MDPROF' dynpprog = sy-repid dynpnr = '1000' dynprofield = 'SO_PROF-LOW' window_title = text-520 value_org = 'S' TABLES value_tab = lt_profiles field_tab = lt_fields EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING ddic_structure = 'WRF_CABNT_RED_STY' retfield = 'ATWRT' dynpprog = sy-repid dynpnr = '1000' dynprofield = l_dyn_field window_title = text-521 value_org = 'S' TABLES value_tab = lt_output[] EXCEPTIONS parameter_error = 1 no_values_found = 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 WRF_ROUTINES_BLOCK1 or its description.