SAP Reports / Programs

RVEXCH00 SAP ABAP Report - V.A.R.: Select export billing documents - Switzerland







RVEXCH00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report selects data from billing documents relevant to the Vereinfachte Ausfuhrregelung (VAR) (simplified export regulation)...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 RVEXCH00 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

VE21 - VAR: Selection of bill. docs Switz.
VE41 - VAR: Selection of bill. docs Switz.


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 RVEXCH00. "Basic submit
SUBMIT RVEXCH00 AND RETURN. "Return to original report after report execution complete
SUBMIT RVEXCH00 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_WAERS = Declaration Currency
Selection Text: P_VARIA = Layout
Selection Text: P_UVMEW = Issue Warnings Incompl.
Selection Text: P_UVMEI = Issue Addnl Info Incompl.
Selection Text: P_SAVOIE = Deletion Type
Selection Text: P_PSTLZ = Level for postal code
Selection Text: P_PROTO = Log type
Selection Text: P_MONAT = Reporting Month
Selection Text: P_MILND = Country of Declaration
Selection Text: P_GJAHR = Reporting year
Title: V.A.R.: Select export billing documents - Switzerland
Text Symbol: Z02 = Reporting Year
Text Symbol: Z01 = Reporting Month
Text Symbol: Y02 = Layout
Text Symbol: Y01 = Log type
Text Symbol: X01 = Organizational units
Text Symbol: T21 = Check and update - document &1
Text Symbol: T20 = Incompleteness check - document &1
Text Symbol: T01 = Processing will be terminated
Text Symbol: P04 = No
Text Symbol: P03 = Yes
Text Symbol: P02 = Do you want to keep manually changed declaration data?
Text Symbol: P01 = Loss of Data...
Text Symbol: 001 = ;No. ;CoCd;BillingDoc;Type;Item ;SItem;CommodityCode;Weight ;Stat.value ;
Text Symbol: 005 = ; ;
Text Symbol: 006 = No error log created
Text Symbol: 007 = ;BillingDoc;Item ;01;02;03;04;05;06;07;08;09;10;11;12;13;14;15;16;17;18;19;20;
Text Symbol: 008 = Selection Log - Month & / &
Text Symbol: 009 = Log of incomplete items - Month & / &
Text Symbol: 010 = Key to Log of Incomplete Items
Text Symbol: 011 = Selection Log by Commodity Code - Month & / &
Text Symbol: 012 = ;CommodityCode;CoCd;BillDocNo.;Type;Item ;SItem;Weight ;StatsValue ;No. ;
Text Symbol: 015 = ;Fld ;Explanation ;
Text Symbol: B01 = Add.specific. CH EXPORT;
Text Symbol: C18 = Reserve
Text Symbol: E01 = CH EXPORT - General
Text Symbol: E02 = CH EXPORT
Text Symbol: E03 = Issue/Update





Text Symbol: E04 = Additional specifications
Text Symbol: E16 = Date Origin
Text Symbol: E23 = Numeric Country Key
Text Symbol: E24 = Country of Dec.
Text Symbol: E25 = Decl. Currency
Text Symbol: E30 = Issue Warnings Incompl.
Text Symbol: E31 = Issue Addnl Info Incompl.


INCLUDES used within this REPORT RVEXCH00

INCLUDE RVEXDATZ.
INCLUDE RVEXIEKS.


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:

RV_FTT_GOV_MEMORY_HANDLING CALL FUNCTION 'RV_FTT_GOV_MEMORY_HANDLING' EXPORTING MODE = 'E' PROGRAM = CON_REPID_SAPLV50G TABLES SELECTION_LOG_OPEN = SELECTION_LOG_OPEN EXCEPTIONS ILLEGAL_MODE = 1 EXPORT_FAILED = 2 IMPORT_FAILED = 3 OTHERS = 4.

RV_FTT_GOV_MEMORY_HANDLING CALL FUNCTION 'RV_FTT_GOV_MEMORY_HANDLING' EXPORTING MODE = 'E' PROGRAM = CON_REPID_SAPLV50G TABLES SELECTION_LOG = SELECTION_LOG EXCEPTIONS ILLEGAL_MODE = 1 EXPORT_FAILED = 2 IMPORT_FAILED = 3 OTHERS = 4.

RV_FTT_GOV_MEMORY_HANDLING CALL FUNCTION 'RV_FTT_GOV_MEMORY_HANDLING' EXPORTING MODE = 'E' PROGRAM = CON_REPID_SAPLV50G TABLES INCOMPLETION_DATA_HEADER = INCOMPLETION_DATA_HEADER EXCEPTIONS ILLEGAL_MODE = 1 EXPORT_FAILED = 2 IMPORT_FAILED = 3 OTHERS = 4.

RV_FTT_GOV_MEMORY_HANDLING CALL FUNCTION 'RV_FTT_GOV_MEMORY_HANDLING' EXPORTING MODE = 'E' PROGRAM = CON_REPID_SAPLV50G TABLES INCOMPLETION_DATA_ITEM = INCOMPLETION_DATA_ITEM EXCEPTIONS ILLEGAL_MODE = 1 EXPORT_FAILED = 2 IMPORT_FAILED = 3 OTHERS = 4.

RV_FTT_GOV_TABLE_REORGANIZE CALL FUNCTION 'RV_FTT_GOV_TABLE_REORGANIZE' EXPORTING DATUMMONA = P_MONAT DATUMJAHR = P_GJAHR APPLICATION = EIGENE ARRIVDEPA = CON_EXPORT DELETE_MODE = P_SAVOIE TABLE_NAME = CON_VEXAV IMPORTING NEXT_FREE_LINE = ZAEHLER TABLES WERKE = DD_WERKS BUCHUNGSKREISE = DD_BUKRS UNDELETED_ITEMS = UNDELETED_ITEMS EXCEPTIONS DATABASE_ERROR = 1 INTERNAL_TABLE_ERROR = 2 ILEGAL_MONTH = 3 ILEGAL_YEAR = 4 ILEGAL_APPLICATION = 5 ILEGAL_ARRIVDEPA = 6 ILEGAL_DELETE_MODE = 7 OTHERS = 8.

RV_FTT_GOV_TABLE_REORGANIZE CALL FUNCTION 'RV_FTT_GOV_TABLE_REORGANIZE' EXPORTING DATUMMONA = P_MONAT DATUMJAHR = P_GJAHR APPLICATION = AUS_SD_FUER_MM_III ARRIVDEPA = CON_IMPORT DELETE_MODE = P_SAVOIE TABLE_NAME = CON_VEXAV IMPORTING NEXT_FREE_LINE = ZAEHLER_MM TABLES WERKE = DD_WERKS BUCHUNGSKREISE = DD_BUKRS UNDELETED_ITEMS = UNDELETED_ITEMS EXCEPTIONS DATABASE_ERROR = 1 INTERNAL_TABLE_ERROR = 2 ILEGAL_MONTH = 3 ILEGAL_YEAR = 4 ILEGAL_APPLICATION = 5 ILEGAL_ARRIVDEPA = 6 ILEGAL_DELETE_MODE = 7 OTHERS = 8.

RV_FTT_GOV_ID_CODES_READ CALL FUNCTION 'RV_FTT_GOV_ID_CODES_READ' EXPORTING I_COMPANY_CODE = VBRK-BUKRS I_COUNTRY = P_MILND I_REPORTING_TYPE = 'C' IMPORTING E_VAR_COMPANY_ID = FIRMENNU E_VAR_MATERIAL_ID = MATERIALN EXCEPTIONS COMPANY_CODE_INITIAL = 1 COUNTRY_INITIAL = 2 WRONG_REPORTING_TYPE = 3 OTHERS = 4.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING TABNAME = CON_VEXAV WITHTEXT = SPACE TABLES FIELDTAB = TABLE_STRUCTURE_TAB EXCEPTIONS INTERNAL_ERROR = 1 NO_TEXTS_FOUND = 2 TABLE_HAS_NO_FIELDS = 3 TABLE_NOT_ACTIV = 4 OTHERS = 5.



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