SAP Reports / Programs

RVFTOPWE SAP ABAP Report - Foreign Trade: Operative Cockpit: Import Goods Receipts







RVFTOPWE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program supports three different core functions for both import purchase orders and export billing documents: Journals Incompleteness Status Reorganization Incompleteness The individual functions are described in detail below...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 RVFTOPWE 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

VOWE - Incompleteness: Goods Receipt


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 RVFTOPWE. "Basic submit
SUBMIT RVFTOPWE AND RETURN. "Return to original report after report execution complete
SUBMIT RVFTOPWE 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: S_HEFELI = Item
Selection Text: S_HEFEL = Header
Selection Text: P_WERKS = D Plant
Selection Text: P_USNAM = D User name
Selection Text: P_REORG = D Reorg. Incompleteness
Selection Text: P_MBLNR = D Material document
Selection Text: P_MATNR = D Material
Selection Text: P_LIFNR = D Vendor
Selection Text: P_ILAND = D Country
Selection Text: P_GRUND = D Reason for movement
Selection Text: P_BWART = D Movement type
Selection Text: P_BUDAT = D Posting date
Title: Foreign Trade: Operative Cockpit: Import Goods Receipts
Text Symbol: T02 = Quality criteria
Text Symbol: T01 = Level
Text Symbol: S02 = blocked by
Text Symbol: S01 = Document
Text Symbol: P06 = Create: Communication data
Text Symbol: P05 = Generate: Tree Control
Text Symbol: P04 = Process: System status
Text Symbol: P03 = Read: Incompleteness
Text Symbol: P02 = Read: Foreign Trade data
Text Symbol: P01 = Read: Material doc.
Text Symbol: L07 = Address
Text Symbol: L06 = A general error has occurred
Text Symbol: L05 = Internal error has occurred
Text Symbol: L04 = Version does not exist
Text Symbol: T12 = Customs Office: Office of Entry for FT
Text Symbol: V01 = Journals
Text Symbol: V02 = Import Journal
Text Symbol: V10 = Monitoring
Text Symbol: V11 = Journals
Text Symbol: V12 = or a receiving plant
Text Symbol: V13 = Ctry
Text Symbol: V14 = Vendor
Text Symbol: V16 = Payer
Text Symbol: V17 = Sold-to
Text Symbol: V18 = Ship-to party





Text Symbol: V19 = Reorganization
Text Symbol: V20 = Import
Text Symbol: V21 = Export
Text Symbol: L03 = Address does not exist
Text Symbol: 001 = Pur. Order
Text Symbol: 002 = Billing
Text Symbol: B01 = Geography-Departure
Text Symbol: B02 = Geography - Import
Text Symbol: B03 = Further doc. data
Text Symbol: B04 = List Format
Text Symbol: B05 = Incompletion
Text Symbol: B06 = Fld Selectn
Text Symbol: B07 = OverallStatus(system)
Text Symbol: B08 = Manual status
Text Symbol: C01 = Complete
Text Symbol: C02 = Incomplete
Text Symbol: E02 = Error while reading the parameter addr
Text Symbol: E07 = Receipt / Import
Text Symbol: E08 = Dispatch / export
Text Symbol: E09 = Receipt / Import and Dispatch / Export
Text Symbol: EA1 = Incorr. parameter transf.
Text Symbol: EA2 = Address does not exist
Text Symbol: EA3 = Version does not exist
Text Symbol: EA4 = Internal error has occurred
Text Symbol: EA5 = A general error has occurred
Text Symbol: G01 = Ctry dep.
Text Symbol: G02 = Purch. 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: I01 = @08@
Text Symbol: I02 = @0A@
Text Symbol: I03 = @01@
Text Symbol: I04 = @02@
Text Symbol: I05 = @3P@
Text Symbol: I06 = @3R@





Text Symbol: K01 = Import POs Journal
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.


INCLUDES used within this REPORT RVFTOPWE

INCLUDE FTOPDATA.
INCLUDE FTOPWESE.
INCLUDE FTOPUVSE.
INCLUDE FTOPWEAT.
INCLUDE FTOPFORM.


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' EXPORTING i_reduced_sel_lines = lv_sel_lines 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.

FT_COCKPIT_FILL_TREE CALL FUNCTION 'FT_COCKPIT_FILL_TREE' EXPORTING i_ahbas = con_1we TABLES * ITAB_EKKO = * ITAB_EKPO = itab_lfa1 = itab_lfa1 itab_mkpf = itab_mkpf itab_mseg = itab_mseg * ITAB_VBRK = * ITAB_VBRP = * ITAB_VBPA = i_tab_tree = komm_tree_tab EXCEPTIONS no_data_selected = 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 = ' ' i_invoice_creation = ' ' 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.



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