SAP Reports / Programs

RVFTCMPL SAP ABAP Report - Foreign Trade: MM and SD Documents With Foreign Trade Data







RVFTCMPL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report supports three different basic functions for both import purchase orders and export billing documents: Journals Incompletion status Reorganization of Incomplete Data 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 RVFTCMPL 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

VIR2 - Export Reorg. - Incompleteness
VIR1 - Import Reorg. - Incompleteness
VIJ1 - Journal Import
VIJ2 - Journal Export


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 RVFTCMPL. "Basic submit
SUBMIT RVFTCMPL AND RETURN. "Return to original report after report execution complete
SUBMIT RVFTCMPL 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 = @1U@ Doc. date
Selection Text: P_BSART = @90@ Purch.doc.type
Selection Text: P_BUKRS = @BN@ Company code
Selection Text: P_EBELN = @90@ Purch.doc.
Selection Text: P_EKORG = @B_OGUN@ Purch.organization
Selection Text: P_ELAND = @8M@ Ctry
Selection Text: P_ERDAT = @1U@ Doc. date
Selection Text: P_ERNAM = @6C@ Created by
Selection Text: P_FI_GL = Transferred to accounting
Selection Text: P_FKART = @90@ Billing type
Selection Text: P_ILAND = @8M@ Ctry
Selection Text: P_KOMA = Header status set manually
Selection Text: P_KOSY = Header status set by system
Selection Text: P_KU_AG = @A0@ Sold-to
Selection Text: P_WERKS = @A8@ Plant
Selection Text: P_VS = Completeness - System
Selection Text: P_VM = Completeness - Manual
Selection Text: P_VKORG = @B_OGUN@ Sales organization
Selection Text: P_VBELN = @90@ Bill.doc.
Selection Text: P_UVS = Button Incompleteness System
Selection Text: P_UVM = Button Incompleteness Manual
Selection Text: P_RESWK = @B_PLNT@ Receiving plant
Selection Text: P_POSY = Header status set manually
Selection Text: P_POMA = Item status set manually
Selection Text: P_LLIEF = @AD@ Supplying vendor
Selection Text: P_LIFNR = @AD@ Vendor
Selection Text: P_KU_WE = @A0@ Ship-to
Selection Text: P_KU_RG = @A0@ Payer
Title: Foreign Trade: MM and SD Documents With Foreign Trade Data
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: 001 = Pur. Order
Text Symbol: 002 = BillDoc
Text Symbol: B01 = Geography-Departure
Text Symbol: B02 = Geography - Import
Text Symbol: B03 = Further document data
Text Symbol: B04 = Situation of incompleteness
Text Symbol: B05 = Manual processing
Text Symbol: B06 = Completeness (System)
Text Symbol: B10 = Quality
Text Symbol: B11 = Level
Text Symbol: C01 = Item
Text Symbol: C02 = Hdr
Text Symbol: C03 = Incomplete
Text Symbol: C04 = Complete
Text Symbol: E01 = Geography-Export
Text Symbol: E02 = Geography-Receipt
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: P01 = Read purch.order
Text Symbol: P02 = Read bill.doc.
Text Symbol: P03 = Read: Foreign Trade data
Text Symbol: P04 = Process output tables
Text Symbol: P05 = Process: Incompleteness
Text Symbol: P07 = Read: Incompleteness
Text Symbol: S01 = Document
Text Symbol: S02 = blocked by
Text Symbol: T01 = Level
Text Symbol: T02 = Quality criteria
Text Symbol: V01 = Import Journal
Text Symbol: V02 = Export Journal
Text Symbol: V03 = Import status
Text Symbol: V04 = Export status
Text Symbol: V10 = Monitoring
Text Symbol: V11 = Journals


INCLUDES used within this REPORT RVFTCMPL

INCLUDE FTCMDATA.





INCLUDE FTCMSELE.
INCLUDE FTCMATSE.
INCLUDE FTCMFORM.
INCLUDE FTCMREORG.


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:

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * i_interface_check = 'X' i_callback_program = con_report_name i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'FT_USER_COMMAND' is_layout = gs_layout it_fieldcat = gt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * it_sort = gt_sort * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = 'X' i_save = 'A' is_variant = gs_disvariant * IT_EVENTS = * IT_EVENT_EXIT = i_tabname_header = tabname_header i_tabname_item = tabname_item * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = is_keyinfo = gs_keyinfo * IS_PRINT = * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab_header = alv_itab_ko t_outtab_item = alv_itab_po EXCEPTIONS program_error = 1 OTHERS = 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 RVFTCMPL or its description.