SAP Reports / Programs | Materials Management | Purchasing(MM-PUR) SAP MM

RWRFREORGF02 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

WRF_BUDG_TYPE_READ CALL FUNCTION 'WRF_BUDG_TYPE_READ' EXPORTING is_budg_type = ls_type_adm IMPORTING * ET_PROTOCOL = * ET_BUDGLEV = * ET_BUDGKS = et_budgty = pt_budg_type * ET_BUDGTY_TXT = EXCEPTIONS error = 1 error_message = 98 OTHERS = 99 .

WRF_BUDG_DAY_GET_PERIOD CALL FUNCTION 'WRF_BUDG_DAY_GET_PERIOD' EXPORTING i_date = pi_date I_OFFSET = pi_offset IMPORTING E_START_DATE = p_date_from E_END_DATE = p_date_to EXCEPTIONS ERROR = 1 NO_PERIOD_FOUND = 2 OTHERS = 3 .

WRF_POTB_GET_PERIOD * CALL FUNCTION 'WRF_POTB_GET_PERIOD' * EXPORTING * i_date_from = pi_date_from * i_date_to = pi_date_to * i_total_in_period = pi_total_in_period * IMPORTING * e_date_from = p_date_from * e_date_to = p_date_to * EXCEPTIONS * error = 1 * error_message = 98 * OTHERS = 99.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-013 text_question = l_string text_button_1 = text-011 text_button_2 = text-012 display_cancel_button = 'X' start_column = '25' start_row = '6' popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 error_message = 98 OTHERS = 99.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-013 text_question = l_string text_button_1 = text-011 text_button_2 = text-012 display_cancel_button = 'X' start_column = '25' start_row = '6' popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 error_message = 98 OTHERS = 99.

BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING * I_CLIENT = SY-MANDT i_s_log_filter = ls_log_filter IMPORTING e_t_log_header = lt_log_header EXCEPTIONS log_not_found = 1 no_filter_criteria = 2 error_message = 98 OTHERS = 99 .

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = lt_log_header i_t_log_handle = pt_log_handles * I_T_LOGNUMBER = i_client = sy-mandt * I_DO_NOT_LOAD_MESSAGES = ' ' * I_EXCEPTION_IF_ALREADY_LOADED = * IMPORTING * e_t_log_handle = * E_T_MSG_HANDLE = EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 error_message = 98 OTHERS = 99 .



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