SAP Reports / Programs

RVFTFTWE SAP ABAP Report - Foreign Trade: Analysis of Goods Receipts (Import)







RVFTFTWE 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 RVFTFTWE 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

FTGR - Import Gds Receipt 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 RVFTFTWE. "Basic submit
SUBMIT RVFTFTWE AND RETURN. "Return to original report after report execution complete
SUBMIT RVFTFTWE 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_BUDAT = D Posting Date
Selection Text: P_BWART = D Movement type
Selection Text: P_GRUND = D Reason for movement
Selection Text: P_ILAND = D Country
Selection Text: P_LIFNR = D Vendor
Selection Text: P_MATNR = D Material
Selection Text: P_MBLNR = D Material document
Selection Text: P_REORG = D Reorg. Incompleteness
Selection Text: P_USNAM = D User name
Selection Text: P_VARI = D Layout
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 Procedures
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 of Goods Receipts (Import)
Text Symbol: V02 = Export Journal
Text Symbol: V01 = Journals
Text Symbol: P05 = Process: Incompleteness
Text Symbol: P04 = Process: Issue table
Text Symbol: P03 = Read: Incompleteness
Text Symbol: P02 = Generate: ALV list
Text Symbol: P01 = Read: Material doc.
Text Symbol: L07 = Address
Text Symbol: 001 = Pur. Order
Text Symbol: 002 = BillDoc
Text Symbol: 003 = Material doc.
Text Symbol: B01 = Geography-Departure
Text Symbol: B02 = Geography - Import
Text Symbol: B03 = Further doc. data
Text Symbol: B04 = List Format
Text Symbol: B05 = Hdr
Text Symbol: B07 = Other Parameters
Text Symbol: B09 = Item





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 = Import Gds Receipt 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 RVFTFTWE

INCLUDE FTCODATA.
INCLUDE FTCODALV.
INCLUDE FTFTWESE.
INCLUDE FTCOSALV.
INCLUDE FTFTKOPF.
INCLUDE FTFTPOSI.
INCLUDE FTFTWEAT.
INCLUDE FTCOATAL.
INCLUDE FTCOFORM.


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_IMP_MATBEL_SELECT CALL FUNCTION 'FT_COCKPIT_IMP_MATBEL_SELECT' TABLES i_range_iland = p_iland i_range_mblnr = p_mblnr i_range_vgart = p_vgart i_range_ernam = ranges_ernam i_range_budat = p_budat i_range_lifnr = p_lifnr i_range_werks = p_werks i_range_bwart = p_bwart i_range_grund = p_grund i_range_matnr = p_matnr itab_mkpf = itab_mkpf itab_mseg = itab_mseg itab_lfa1 = itab_lfa1 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_1we 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_mkpf = itab_mkpf 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_ftwe i_ahbas = con_1we 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_1we i_updkz = 'U' i_invoice_creation = ' ' 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_mkpf = lt_itab_mkpf EXCEPTIONS wrong_update_flag = 1 no_ft_data_found = 2 OTHERS = 3.

EXPIMP_POSTING_TRIGGER CALL FUNCTION 'EXPIMP_POSTING_TRIGGER' EXPORTING i_ahbas = con_1we TABLES i_t_mkpf = lt_itab_mkpf.

ENQUEUE_EMMKPF CALL FUNCTION 'ENQUEUE_EMMKPF' EXPORTING mode_mkpf = 'E' mandt = sy-mandt mblnr = lt_itab_mkpf-mblnr mjahr = lt_itab_mkpf-mjahr EXCEPTIONS foreign_lock = 1 system_failure = 2.

DEQUEUE_EMMKPF CALL FUNCTION 'DEQUEUE_EMMKPF' EXPORTING mode_mkpf = 'E' mandt = sy-mandt mblnr = lt_itab_mkpf-mblnr mjahr = lt_itab_mkpf-mjahr.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mbefu return = mtcor.



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