SAP Reports / Programs | Sales and Distribution | Foreign Trade | Basic Functions(SD-FT-PRO) SAP SD

RVFTFTEX SAP ABAP Report - Foreign Trade: Analysis Export Billing Documents







RVFTFTEX is a standard Executable ABAP Report 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 RVFTFTEX into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FTEX - Exp.bill.doc.analysis


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 RVFTFTEX. "Basic submit
SUBMIT RVFTFTEX AND RETURN. "Return to original report after report execution complete
SUBMIT RVFTFTEX VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_BUKRS = D Company Code
Selection Text: P_CURR = D Document currency
Selection Text: P_ELAND = D Destination country
Selection Text: P_ERNAM = D Created by
Selection Text: P_FI_GL = Transferred to accounting
Selection Text: P_FKART = D Billing type
Selection Text: P_FKDAT = D Billing date
Selection Text: P_KU_AG = D Sold-To Party
Selection Text: P_KU_RG = D Payer
Selection Text: P_KU_WE = D Ship-to party
Selection Text: P_REORG = D Reorg. Incompleteness
Selection Text: P_VARI = D Layout
Selection Text: P_VBELN = D Billing document
Selection Text: P_VKORG = D Sales Organization
Selection Text: P_WERKS = D Plant
Selection Text: S_COIMP = D Import code no.
Selection Text: S_EXART = D Business Transaction Type
Selection Text: S_EXPRF = D Procedure
Selection Text: S_EXPVZ = D ModeOfTrnsprt-Border
Selection Text: S_HERKL = D Country of origin
Selection Text: S_IEVER = D DomestModeOfTransp.
Selection Text: S_STAWN = D Comm./Imp. code no.
Selection Text: S_ZOLLA = D Customs office
Title: Foreign Trade: Analysis Export Billing Documents
Text Symbol: V02 = Export Journal
Text Symbol: V01 = Journals
Text Symbol: P05 = Generate: ALV list
Text Symbol: P04 = Process: Issue table
Text Symbol: P03 = Read: Incompleteness
Text Symbol: P02 = Read: Foreign Trade data
Text Symbol: P01 = Read:Bill.docs
Text Symbol: L07 = Address
Text Symbol: 001 = Pur. Order
Text Symbol: 002 = BillDoc
Text Symbol: 003 = BillDoc
Text Symbol: B01 = Geography-Receipt
Text Symbol: B02 = Geography-Export
Text Symbol: B03 = Further doc. data





Text Symbol: B04 = List Format
Text Symbol: B05 = Header
Text Symbol: B09 = Item
Text Symbol: C01 = @6A@ EU
Text Symbol: C02 = @6A@ Mercosur
Text Symbol: C03 = @6A@ NAFTA
Text Symbol: C04 = @6A@ ASEAN
Text Symbol: C05 = @6A@ EFTA
Text Symbol: G01 = Destination country
Text Symbol: G02 = Sales Organization
Text Symbol: G03 = Plnt
Text Symbol: G04 = GoodsNo./CodeNo.
Text Symbol: G11 = Invoice value
Text Symbol: G12 = Statistical value
Text Symbol: G21 = Key fig.
Text Symbol: G40 = Exp.bill.docs journal graphic
Text Symbol: K01 = Exp.bill.doc.analysis
Text Symbol: K02 = Created by
Text Symbol: K03 = Date :
Text Symbol: K04 = ApprovlNo.
Text Symbol: L01 = Error reading customer 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


INCLUDES used within this REPORT RVFTFTEX

INCLUDE FTCODATA.
INCLUDE FTCODALV.
INCLUDE FTFTEXSE.
INCLUDE FTCOSALV.
INCLUDE FTFTKOPF.
INCLUDE FTFTEXAT.
INCLUDE FTCOATAL.
INCLUDE FTCOFORM.
INCLUDE FTCOGRAF.


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:

FT_COCKPIT_EXP_INVOIC_SELECT CALL FUNCTION 'FT_COCKPIT_EXP_INVOIC_SELECT' EXPORTING i_wide_selection = 'X' TABLES i_range_eland = p_eland i_range_vbeln = p_vbeln i_range_bukrs = p_bukrs i_range_fkart = p_fkart i_range_ernam = ranges_ernam i_range_fkdat = p_fkdat i_range_vkorg = p_vkorg i_range_rfbsk = ranges_rfbsk i_range_ku_rg = p_ku_rg i_range_ku_ag = p_ku_ag i_range_ku_we = p_ku_we i_range_werks = p_werks itab_vbrk = itab_vbrk itab_vbrp = itab_vbrp itab_vbpa = itab_vbpa EXCEPTIONS no_documents_found = 1 OTHERS = 2.






EXPIMP_TABLES_REFRESH CALL FUNCTION 'EXPIMP_TABLES_REFRESH'.

EXPIMP_MASS_DATA_READ CALL FUNCTION 'EXPIMP_MASS_DATA_READ' EXPORTING i_ahbas = con_2fa i_updkz = 'U' i_t_range_expvz = s_expvz[] i_t_range_iever = s_iever[] i_t_range_zolla = s_zolla[] i_t_range_stawn = s_stawn[] * i_t_range_coimp = s_coimp[] i_t_range_exprf = s_exprf[] i_t_range_exart = s_exart[] i_t_range_herkl = s_herkl[] TABLES i_t_xvbrk = itab_vbrk EXCEPTIONS wrong_update_flag = 1 no_ft_data_found = 2 OTHERS = 3.

EXPIMP_MASS_DATA_RETRIEVE CALL FUNCTION 'EXPIMP_MASS_DATA_RETRIEVE' TABLES i_t_ft_header = itab_eikp i_t_ft_line_item = itab_eipo EXCEPTIONS no_ft_data_found = 1 OTHERS = 2.

FT_LIST_COCKPIT_IMPEXP_MONITOR CALL FUNCTION 'FT_LIST_COCKPIT_IMPEXP_MONITOR' EXPORTING i_variant = p_vari i_reportname = con_report_ftex i_ahbas = con_2fa TABLES t_alv_ko = alv_itab_ko t_alv_po = alv_itab_po EXCEPTIONS alv_error = 1 OTHERS = 2.

EXPIMP_TABLES_REFRESH CALL FUNCTION 'EXPIMP_TABLES_REFRESH'.

EXPIMP_MASS_DATA_READ CALL FUNCTION 'EXPIMP_MASS_DATA_READ' EXPORTING i_ahbas = con_2fa i_updkz = 'U' i_t_range_expvz = s_expvz[] i_t_range_iever = s_iever[] i_t_range_zolla = s_zolla[] i_t_range_stawn = s_stawn[] * i_t_range_coimp = s_coimp[] i_t_range_exprf = s_exprf[] i_t_range_exart = s_exart[] i_t_range_herkl = s_herkl[] TABLES i_t_xvbrk = lt_itab_vbrk EXCEPTIONS wrong_update_flag = 1 no_ft_data_found = 2 OTHERS = 3.

EXPIMP_POSTING_TRIGGER CALL FUNCTION 'EXPIMP_POSTING_TRIGGER' EXPORTING i_ahbas = con_2fa TABLES i_t_xvbrk = lt_itab_vbrk.

ENQUEUE_EVVBRKE CALL FUNCTION 'ENQUEUE_EVVBRKE' EXPORTING mode_vbrk = 'E' mandt = sy-mandt vbeln = lt_itab_vbrk-vbeln EXCEPTIONS foreign_lock = 1 system_failure = 2.

DEQUEUE_EVVBRKE CALL FUNCTION 'DEQUEUE_EVVBRKE' EXPORTING mode_vbrk = 'E' mandt = sy-mandt vbeln = lt_itab_vbrk-vbeln.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = lv_datlo foreign_amount = f_wert foreign_currency = f_curr local_currency = l_curr type_of_rate = 'M' IMPORTING exchange_rate = l_rate * FOREIGN_FACTOR = local_amount = l_amnt * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.



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