RVIVST00 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 based on billing documents for creating INTRASTAT statistics later...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 RVIVST00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
VI98 - Receipt-Basis for Intercomp.Billing
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: AU_BUKRS = Company Code
Selection Text: LS_BUKRS = Company Code
Selection Text: LS_WERKS = Plant
Selection Text: P_GJAHR = Reporting Year
Selection Text: P_MILND = Country of Declaration
Selection Text: P_MONAT = Reporting Month
Selection Text: P_PROTO = Log Type
Selection Text: P_SAVOIE = Deletion Type
Selection Text: P_TYPKU = INTRASTAT exchange rate type
Selection Text: P_UVMEI = Issue Addnl Info Incompl.
Selection Text: P_UVMEW = Issue Warnings Incompl.
Selection Text: P_VARIA = Display variant
Selection Text: P_WAERS = Declaration Currency
Title: INTRASTAT: Select Data for Receipt via SD Intercompany Billing
Text Symbol: F09 = Customer EIN ;
Text Symbol: F10 = Incoterms ;
Text Symbol: F11 = Vendor currency ;
Text Symbol: F12 = Vendor EIN ;
Text Symbol: F13 = BO Code (Netherlands) ;
Text Symbol: F14 = Invoice Value ;
Text Symbol: F15 = Domestic/Foreign ID ;
Text Symbol: F16 = Commodity Code ;
Text Symbol: F17 = Country of origin ;
Text Symbol: F18 = Region of origin ;
Text Symbol: F19 = Export/Import procedure ;
Text Symbol: F20 = Mode of Transport ;
Text Symbol: P01 = Loss of Data...
Text Symbol: P02 = Do you want to keep manually changed declaration data?
Text Symbol: P03 = Yes
Text Symbol: P04 = No
Text Symbol: T01 = Processing will be terminated
Text Symbol: T02 = France
Text Symbol: T20 = Incompleteness check - document &1
Text Symbol: T21 = Check and update - document &1
Text Symbol: X01 = Organizational Units
Text Symbol: Y01 = Log Type
Text Symbol: Y02 = Display variant
Text Symbol: 001 = ;No. ;CoCd;BillingDoc;Type;Item ;HgItm;CommodityCode;Inv.value ;Stat.value ;
INCLUDE RVVBTYP.
INCLUDE RVEXIEKS.
INCLUDE RVEXF0ST.
No SAP DATABASE tables are accessed within this REPORT code!
FTRADE_DATA_SWITCH_INITIALIZE CALL FUNCTION 'FTRADE_DATA_SWITCH_INITIALIZE'.
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.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SELECTION ADDRESS_GROUP = 'BP' IMPORTING SADR = SADR "SADR40A EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5. "SADR40A
RV_FTT_GOV_TABLE_REORGANIZE CALL FUNCTION 'RV_FTT_GOV_TABLE_REORGANIZE' EXPORTING DATUMMONA = P_MONAT DATUMJAHR = P_GJAHR REPORTING_COUNTRY = P_MILND APPLICATION = AUS_SD_FUER_MM ARRIVDEPA = CON_IMPORT DELETE_MODE = P_SAVOIE TABLE_NAME = CON_VEIAV IMPORTING NEXT_FREE_LINE = ZAEHLER TABLES WERKE = AU_WERKS BUCHUNGSKREISE = AU_BUKRS S_VKORG = AU_VKORG 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 = BELIEFBUKRS I_COUNTRY = REPORTING_COUNTRY I_REPORTING_TYPE = 'I' IMPORTING E_INTRASTAT_COMPANY_ID = EIGUINR E_INTRASTAT_COMPANY_ADD_ID = ZUSATZN EXCEPTIONS COMPANY_CODE_INITIAL = 1 COUNTRY_INITIAL = 2 WRONG_REPORTING_TYPE = 3 OTHERS = 4.
GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING TABNAME = CON_VEIAV 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.
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 RVIVST00 or its description.
RVIVST00 - INTRASTAT: Select Data for Receipt via SD Intercompany Billing RVIVST00 - INTRASTAT: Select Data for Receipt via SD Intercompany Billing RVIVAUFT - Intercompany invoices with orderpurchase RVIVAUFT - Intercompany invoices with orderpurchase RVINVBT0 - Create Test Data for First Data Transfer Program RVINVB00 RVINVBT0 - Create Test Data for First Data Transfer Program RVINVB00