RVEXAU04 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report selects all orders that are relevant for declaration to the Bureau of Export Administration (BAFA)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RVEXAU04 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
VX16 - BAFA diskette: Selection
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.
Selection Text: P_CURR = Declaration Currency
Selection Text: P_DAT = Create file
Selection Text: P_DATNAM = File Name for Output
Selection Text: P_GEGRU = D Legal Regulations
Selection Text: P_KUM = Aggregate Data
Selection Text: P_LAND = Decl. ctry
Selection Text: P_MSG = D Display Processing Steps
Selection Text: P_PROT = Issue Log
Selection Text: P_VARI = D Layout
Selection Text: S_ALNUM = D Export control class
Selection Text: S_BUKRS = D Company Code
Selection Text: S_ERDAT = Document Date
Selection Text: S_EXART = Bus.trans.type f.temp.export
Selection Text: S_EXGEN = D External license no.
Selection Text: S_GEART = D License type
Selection Text: S_GENNR = D License number
Selection Text: S_KUNNR = D Sold-To Party
Selection Text: S_WERKS = D Plant
Title: Legal control: AG11 Declaration for German Export office
Text Symbol: T08 = IssueTo
Text Symbol: T07 = Decl. data
Text Symbol: T06 = Export data
Text Symbol: T05 = Order data
Text Symbol: T04 = Add. specifics
Text Symbol: T03 = Currncy
Text Symbol: 002 = Output list format
Text Symbol: 003 = Export control class
Text Symbol: 004 = Sold-to
Text Symbol: 005 = Ship-to/UltConsig.
Text Symbol: 006 = General data
Text Symbol: 007 = File creation
Text Symbol: E01 = Legal Regulation
Text Symbol: L01 = Error when reading partner address:
Text Symbol: L02 = Incorr. parameter transf.
Text Symbol: L03 = Address does not exist
Text Symbol: L04 = Version does not exist
Text Symbol: L05 = Internal error has occurred
Text Symbol: L06 = A general error has occurred
INCLUDE RVEXSTAT.
INCLUDE RVEXBAFA.
No SAP DATABASE tables are accessed within this REPORT code!
FT_CONTROL_BAFA_DATA_SELECT call function 'FT_CONTROL_BAFA_DATA_SELECT' exporting i_gegru = p_gegru i_mland = p_land i_msg = p_msg i_new_structure = space tables t_range_geart = s_geart t_range_gennr = s_gennr t_range_exgen = s_exgen t_range_werks = s_werks t_range_bukrs = s_bukrs t_range_erdat = s_erdat t_range_kunnr = s_kunnr t_range_alnum = s_alnum t_range_exart = s_exart t_vbak = int_tab_vbak t_vbap = int_tab_vbap t_vbpa = int_tab_vbpa t_vbex = int_tab_vbex t_embk = int_tab_embk t_marc = int_tab_marc t_t605 = int_tab_t605 exceptions no_data_selected = 1 no_data_authority_check = 2 others = 3.
FT_LEGAL_CON_BAFA_FILE_CREATE call function 'FT_LEGAL_CON_BAFA_FILE_CREATE' exporting i_kum = p_kum i_mland = p_land i_curr = p_curr i_datnam = p_datnam i_msg = p_msg tables t_vbak = int_tab_vbak t_vbap = int_tab_vbap t_vbpa = int_tab_vbpa t_vbex = int_tab_vbex t_embk = int_tab_embk t_marc = int_tab_marc t_t605 = int_tab_t605 t_t001k = int_tab_t001k t_collect = int_tab_collect exceptions file_error = 1.
FT_LIST_LEGAL_CONTROL_BAFA call function 'FT_LIST_LEGAL_CONTROL_BAFA' exporting i_curr = p_curr i_mland = p_land i_kum = p_kum i_vari = p_vari i_detail = con_space i_report = con_au04 i_msg = p_msg tables t_vbak = int_tab_vbak t_vbap = int_tab_vbap t_vbpa = int_tab_vbpa t_vbex = int_tab_vbex t_embk = int_tab_embk t_marc = int_tab_marc t_t605 = int_tab_t605 t_t001k = int_tab_t001k t_collect = int_tab_collect t_alv = int_tab_alv t_alv_det = int_tab_alv_det exceptions alv_error = 1 others = 2.
RV_HELP call function 'RV_HELP' exporting field_in = lv_exart key = t001w-werks number = '055' importing field = lv_exart.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = lv_text.
FT_LIST_LEGAL_CONTROL_BAFA call function 'FT_LIST_LEGAL_CONTROL_BAFA' exporting i_detail = con_x i_report = con_au04 tables t_collect = lt_collect t_alv = lt_alv t_alv_det = lt_alv_det exceptions alv_error = 1 others = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.