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

RVFTOPIM SAP ABAP Report - Foreign Trade: Operative Cockpit: Import Purchase Orders







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

VOIM - Incompleteness: Purchase Order


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 RVFTOPIM. "Basic submit
SUBMIT RVFTOPIM AND RETURN. "Return to original report after report execution complete
SUBMIT RVFTOPIM 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_BEDAT = D Document date
Selection Text: P_BSART = D Purchasing document type
Selection Text: P_BUKRS = D Company code
Selection Text: P_EBELN = D Purchasing document
Selection Text: P_EKORG = D Purchasing organization
Selection Text: P_ERNAM = D Created by
Selection Text: P_ILAND = D Country
Selection Text: P_LIFNR = D Vendor
Selection Text: P_LLIEF = D Supplying vendor
Selection Text: P_REORG = D Reorg. Incompleteness
Selection Text: P_RESWK = D Delivering plant
Selection Text: P_WERKS = D Plant
Selection Text: S_HEFEL = D Header fields
Selection Text: S_HEFELI = D Item fields
Title: Foreign Trade: Operative Cockpit: Import Purchase Orders
Text Symbol: L04 = Version does not exist
Text Symbol: L05 = Internal error has occurred
Text Symbol: L06 = A general error has occurred
Text Symbol: L07 = Address
Text Symbol: P01 = Read purch.order
Text Symbol: P04 = Process: System status
Text Symbol: P05 = Process: Manual status
Text Symbol: P06 = Generate: Tree Control
Text Symbol: S01 = Document
Text Symbol: S02 = blocked by
Text Symbol: T01 = Level
Text Symbol: T02 = Quality criteria
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 RVFTOPIM

INCLUDE FTOPDATA.
INCLUDE FTOPIMSE.
INCLUDE FTOPUVSE.
INCLUDE FTOPIMAT.
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_ORDERS_SELECT CALL FUNCTION 'FT_COCKPIT_IMP_ORDERS_SELECT' EXPORTING i_reduced_sel_lines = lv_sel_lines TABLES i_range_iland = p_iland i_range_ebeln = p_ebeln i_range_bukrs = p_bukrs i_range_bsart = p_bsart i_range_ernam = ranges_ernam i_range_bedat = p_bedat i_range_ekorg = p_ekorg i_range_lifnr = p_lifnr i_range_llief = p_llief i_range_werks = p_werks i_range_reswk = p_reswk itab_ekko = itab_ekko itab_ekpo = itab_ekpo itab_lfa1 = itab_lfa1 EXCEPTIONS no_data_selected = 1 OTHERS = 2.

FT_COCKPIT_FILL_TREE CALL FUNCTION 'FT_COCKPIT_FILL_TREE' EXPORTING i_ahbas = con_1be TABLES itab_ekko = itab_ekko itab_ekpo = itab_ekpo itab_lfa1 = itab_lfa1 * ITAB_MKPF = * 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_1be i_updkz = ' ' i_invoice_creation = ' ' TABLES i_t_ekko = lt_itab_ekko EXCEPTIONS wrong_update_flag = 1 no_ft_data_found = 2 OTHERS = 3.

EXPIMP_POSTING_TRIGGER CALL FUNCTION 'EXPIMP_POSTING_TRIGGER' EXPORTING i_ahbas = con_1be TABLES i_t_ekko = lt_itab_ekko.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING mode_ekko = 'E' mandt = sy-mandt ebeln = lt_itab_ekko-ebeln EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING mode_ekko = 'E' mandt = sy-mandt ebeln = lt_itab_ekko-ebeln.



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