SAP Reports / Programs

RVFTREWE SAP ABAP Report - Foreign Trade: Reorganization Incompleteness Goods Receipts







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

VRWE - FT: Reorg. T609S 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 RVFTREWE. "Basic submit
SUBMIT RVFTREWE AND RETURN. "Return to original report after report execution complete
SUBMIT RVFTREWE 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_MBLNR = D Material document
Selection Text: P_USNAM = D User name
Selection Text: P_VARI = D Display variant
Selection Text: P_WERKS = D Plant
Title: Foreign Trade: Reorganization Incompleteness Goods Receipts
Text Symbol: C01 = Item
Text Symbol: B11 = Level
Text Symbol: B10 = Quality
Text Symbol: B06 = Completeness (System)
Text Symbol: B05 = Manual processing
Text Symbol: B04 = Situation of incompleteness
Text Symbol: B03 = Further doc. data
Text Symbol: B02 = Geography - Import
Text Symbol: B01 = Geography-Departure
Text Symbol: 003 = Pur. Order
Text Symbol: 002 = Billing
Text Symbol: 001 = Pur. Order
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: E02 = Geography-Receipt
Text Symbol: L06 = A general error has occurred
Text Symbol: L05 = Internal error has occurred
Text Symbol: L04 = Version does not exist
Text Symbol: L03 = Address does not exist
Text Symbol: L02 = Incorr. parameter transf.
Text Symbol: L01 = Error reading customer address:
Text Symbol: K04 = ApprovlNo.
Text Symbol: K03 = Date:
Text Symbol: K02 = Created by
Text Symbol: K01 = Reorganization Incompleteness Goods Receipts
Text Symbol: C02 = Hdr
Text Symbol: V10 = Monitoring





Text Symbol: V04 = Export status
Text Symbol: V03 = Import status
Text Symbol: V02 = Export Journal
Text Symbol: V01 = Import Journal
Text Symbol: T02 = Quality criteria
Text Symbol: T01 = Level
Text Symbol: S02 = blocked by
Text Symbol: S01 = Document
Text Symbol: P07 = Read: Incompleteness
Text Symbol: P05 = Process: Incompleteness
Text Symbol: P04 = Process output tables
Text Symbol: P03 = Read: Foreign Trade data
Text Symbol: P02 = Read bill.doc.
Text Symbol: P01 = Read purch.order
Text Symbol: L07 = Address
Text Symbol: V11 = Journals
Text Symbol: V21 = Export
Text Symbol: V20 = Import
Text Symbol: V19 = Reorganization
Text Symbol: V18 = Ship-to party
Text Symbol: V17 = Sold-to
Text Symbol: V16 = Payer
Text Symbol: V14 = Vendor
Text Symbol: V13 = Ctry
Text Symbol: V12 = or a receiving plant
Text Symbol: E01 = Geography-Export
Text Symbol: C04 = Complete
Text Symbol: C03 = Incomplete


INCLUDES used within this REPORT RVFTREWE

INCLUDE FTCODATA.
INCLUDE FTCODALV.
INCLUDE FTCOSALV.
INCLUDE FTCOWEAT.
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.

FT_LIST_COCKPIT_IMPEXP_MONITOR





CALL FUNCTION 'FT_LIST_COCKPIT_IMPEXP_MONITOR' EXPORTING i_variant = p_vari i_reportname = con_report_rewe 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 = ' ' i_invoice_creation = ' ' TABLES i_t_mkpf = 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 = itab_mkpf.

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 = ' ' 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.

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

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.



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