SAP Reports / Programs

RVEXCUSA SAP ABAP Report - INTRASTAT: CUSDEC/INSTAT - Austria







RVEXCUSA 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 the work list VEIAV for creating intra-European Union trade statistics in CUSDEC/INSTAT-EDIFACT format in diskettes...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 RVEXCUSA 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

VE93 - EDI-CUSTEC Austria
VEI8 - Create INTRASTAT CUSDEC EDI AT


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 RVEXCUSA. "Basic submit
SUBMIT RVEXCUSA AND RETURN. "Return to original report after report execution complete
SUBMIT RVEXCUSA 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: DATUMJAH = Reporting Year
Selection Text: DATUMMON = Reporting Month
Selection Text: NUMMBUKR = Company Code
Selection Text: P_ACCUM = Aggregate Data
Selection Text: P_ARIDEP = Receipt (1) / Dispatch (2)
Selection Text: P_CONT = Internal firm address
Selection Text: P_DRIVE = Target disk drive
Selection Text: P_FILE = Target File
Selection Text: P_KONTA = Contact person for information
Selection Text: P_KONTD = Contact person third party dec
Selection Text: P_LIFNR = Third party declarant
Selection Text: P_LIST = Issue Log
Selection Text: P_MESNO = Sequential Number of Declar.
Selection Text: P_PATH = Subdirectory on PC
Selection Text: P_VARIA = Layout
Selection Text: S_WERKS = Plant
Selection Text: TAPE = Create File
Title: INTRASTAT: CUSDEC/INSTAT - Austria
Text Symbol: T22 = Disk
Text Symbol: T21 = formatted disk?
Text Symbol: T20 = Have you inserted a
Text Symbol: T13 = Year ;
Text Symbol: T12 = Month ;
Text Symbol: T11 = Company code ;
Text Symbol: B01 = Internal firm address
Text Symbol: B02 = Third-party decl.info ;
Text Symbol: D01 = INTRASTAT declar. - Austria
Text Symbol: ER2 = ;Dataset of CUSDEC/INSTAT declaration on data carrier ;
Text Symbol: K01 = ;No. ;Doc. ;Item ;Comm.Code ;Invoice value ATS;Stat. value ATS ;Plnt;
Text Symbol: K02 = ;Dataset of CUSDEC/INSTAT declaration on data carrier ;
Text Symbol: K03 = ;Individual display of segments from CUSDEC/INSTAT
Text Symbol: L01 = Record number
Text Symbol: L02 = Billing Document
Text Symbol: L03 = Item Number
Text Symbol: L04 = Commodity Code
Text Symbol: L05 = Invoice Value
Text Symbol: L06 = Statistical Value
Text Symbol: L07 = Plants





Text Symbol: L08 = No data could be selected
Text Symbol: S02 = Technical Specs
Text Symbol: T01 = Selection Criteria - General
Text Symbol: T02 = Additional Specifications
Text Symbol: T03 = Spec. for creating files
Text Symbol: T04 = Criteria for issuing output
Text Symbol: T05 = Sort asc. order :
Text Symbol: T06 = Sort desc. order :
Text Symbol: T10 = Decl. number ;


INCLUDES used within this REPORT RVEXCUSA

INCLUDE RVEXINRO.
INCLUDE RVEXINDF.
INCLUDE RVEXINPR.
INCLUDE RVEXCUIN.


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:

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SELECTION ADDRESS_GROUP = 'CA01' IMPORTING SADR = SADR "SADR40A EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5. "SADR40A

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING ADRSWA_IN = ADRS "SADR40A SENDER_COUNTRY = T001-LAND1 RECEIVER_LANGUAGE = 'D' NUMBER_OF_LINES = 4 IMPORTING ADRSWA_OUT = ADRS. "SADR40A

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING ADRSWA_IN = ADRS "SADR40A SENDER_COUNTRY = LFA1-LAND1 RECEIVER_LANGUAGE = 'D' NUMBER_OF_LINES = 4 IMPORTING ADRSWA_OUT = ADRS. "SADR40A



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