RVFTGKMD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report reads a file and creates various files that must be reported to the federal export office (BAFA) for a declaration period: The federal export office demands the following files on the disk...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 RVFTGKMD into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
VX17 - Create BAFA diskette
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.
Selection Text: P_ZOLLNR = Customs no.
Selection Text: P_SAG = SAG number
Selection Text: P_PROT = Issue log
Selection Text: P_PFAD = @4H@ Subdirectory
Selection Text: P_MRAUM = @1U@ Decl.period
Selection Text: P_DRIV = @6M@ Disc drive
Selection Text: P_DEL = @11@ Delete source file
Selection Text: P_DATNAM = @32@ Source file
Selection Text: P_COPY = Copy file
Title: Legal Control: Create BAFA Diskette for Germany
Text Symbol: P06 = Target File
Text Symbol: P05 = Source File
Text Symbol: P04 = Use of source file
Text Symbol: P03 = Criteria for output
Text Symbol: P02 = Spec. for creating files
Text Symbol: P01 = Declaration data
Text Symbol: 009 = <-EOR
Text Symbol: 008 = The following files could not be created:
Text Symbol: 007 = The system created the following files:
Text Symbol: 006 = ...
Text Symbol: 005 = Target files
Text Symbol: 004 = Srce file
Text Symbol: 003 = Diskette
Text Symbol: 002 = formatted diskette?
Text Symbol: 001 = Have you inserted a
INCLUDE RVEXBAFA.
INCLUDE RVEXAULI.
INCLUDE FTGKMDDATA.
INCLUDE FTGKMD01.
No SAP DATABASE tables are accessed within this REPORT code!
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING QUERY = 'OS' IMPORTING RETURN = OPERATING_SYSTEM EXCEPTIONS INV_QUERY = 1 NO_BATCH = 2 FRONTEND_ERROR = 3 OTHERS = 4.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename CHANGING physical_filename = p_datnam EXCEPTIONS OTHERS = 1.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename CHANGING physical_filename = p_datnam EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RVFTGKMD - Legal Control: Create BAFA Diskette for Germany RVFTGKMD - Legal Control: Create BAFA Diskette for Germany RVFTFTWE - Foreign Trade: Analysis of Goods Receipts (Import) RVFTFTWE - Foreign Trade: Analysis of Goods Receipts (Import) RVFTFTIM - Foreign Trade: Analysis Import Purchase Orders RVFTFTIM - Foreign Trade: Analysis Import Purchase Orders