REWU6F01 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 REWU6F01 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' "EWU TABLES "EWU listobject = listetab "EWU EXCEPTIONS "EWU not_found = 1 "EWU OTHERS = 2. "EWU
WRITE_LIST CALL FUNCTION 'WRITE_LIST' "EWU TABLES "EWU listobject = listetab "EWU EXCEPTIONS "EWU empty_list = 0 "EWU OTHERS = 0. "EWU
LIST_FREE_MEMORY CALL FUNCTION 'LIST_FREE_MEMORY' "EWU TABLES "EWU listobject = listetab "EWU EXCEPTIONS "EWU OTHERS = 0. "EWU
EWU00_FROM_EWUOS_FILL CALL FUNCTION 'EWU00_FROM_EWUOS_FILL' EXPORTING pi_ewuvw = wa_wewu-ewuvw pi_ewuoa = wa_wewu-ewuoa pi_ewuos = wa_wewu-ewuos IMPORTING pe_i_ewu00 = g_i_ewu00 EXCEPTIONS structure_ewu00_invalid = 1 structure_ewuxy_invalid = 2 structure_field_invalid = 3 OTHERS = 4.
EWU_CUSTOMER CALL FUNCTION 'EWU_CUSTOMER' EXPORTING * waersold = waersnew = waersnew no_chgdoc = no_chdoc TABLES customer = customer xknvv = xknvv " insert uh, 09.02.99
WEWU_CONVERSION_CONFIRM CALL FUNCTION 'WEWU_CONVERSION_CONFIRM' EXPORTING pi_umsta_new = 'C' * PI_BENAM_NEW = pi_updta = ' ' pi_comwo = ' ' TABLES pi_t_wewu_key = g_t_wewu_key.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'. "\BE Note 416125
EWUOS_FROM_EWU00_FILL CALL FUNCTION 'EWUOS_FROM_EWU00_FILL' EXPORTING pi_ewuvw = g_t_wewu_key-ewuvw pi_ewuoa = g_t_wewu_key-ewuoa pi_i_ewu00 = g_i_ewu00 IMPORTING pe_ewuos = g_t_wewu_key-ewuos EXCEPTIONS OTHERS = 1.
WEWU_CONVERSION_CONFIRM CALL FUNCTION 'WEWU_CONVERSION_CONFIRM' EXPORTING pi_umsta_new = 'C' * PI_BENAM_NEW = pi_updta = ' ' pi_comwo = 'X' TABLES pi_t_wewu_key = g_t_wewu_key.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING no_dialog = 'X' mode = 'CURRENT' * IMMEDIATELY = ' ' "\BE Note 401629 release = ' ' new_list_id = ' ' line_size = 80 list_name = p_plist list_text = p_prtxt "text-100 data_set = p_prdsn IMPORTING out_parameters = params valid = valid.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'CURRENT' no_dialog = 'X' * IMMEDIATELY = ' ' "\BE Note 401629 new_list_id = ' ' release = ' ' line_size = 100 list_name = p_plist list_text = p_prtxt data_set = p_prdsn in_parameters = params "\BE Note 429328 IMPORTING out_parameters = params valid = valid.
EWU00_FROM_EWUOS_FILL CALL FUNCTION 'EWU00_FROM_EWUOS_FILL' EXPORTING pi_ewuvw = g_t_wewu_key-ewuvw pi_ewuoa = g_t_wewu_key-ewuoa pi_ewuos = g_t_wewu_key-ewuos IMPORTING pe_i_ewu00 = g_i_ewu00 EXCEPTIONS structure_ewu00_invalid = 1 structure_ewuxy_invalid = 2 structure_field_invalid = 3 OTHERS = 4.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid it_fieldcat = lt_fieldcat it_events = lt_eventtab TABLES t_outtab = gt_output EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_listheader[].
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = lv_repid i_structure_name = 'KNVV' CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.