SAP Reports / Programs | Sales and Distribution | Foreign Trade | Basic Functions(SD-FT-PRO) SAP SD

RVEXCUSE SAP ABAP Report - INTRASTAT: CUSDEC/INSTAT - Sweden







RVEXCUSE 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 worklist VEIAV to create the INTRASTAT declaration in CUSDEC/INSTAT Edifact format for diskette...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 RVEXCUSE 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

VEIA - Create INTRASTAT CUSDEC EDI SE


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 RVEXCUSE. "Basic submit
SUBMIT RVEXCUSE AND RETURN. "Return to original report after report execution complete
SUBMIT RVEXCUSE 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_DRIVE = Target disk drive
Selection Text: P_FILE = Target File
Selection Text: P_KENNR = D ID number:Oblig. to prov. info
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_MESNP = D Seq. No. in reporting period
Selection Text: P_PATH = Subdirectory on PC
Selection Text: P_TESTR = Test message
Selection Text: P_VARIA = Layout
Selection Text: S_WERKS = Plant
Selection Text: TAPE = Create file
Title: INTRASTAT: CUSDEC/INSTAT - Sweden
Text Symbol: Z05 = Business Transaction Type
Text Symbol: Z06 = Commodity Code
Text Symbol: Z07 = Invoice Value
Text Symbol: Z08 = Characteristic not maintained (transaction VEFU)
Text Symbol: Z09 = Goods number & does not exist (table T604)
Text Symbol: Z10 = DocumentNo
Text Symbol: Z11 = Item No.
Text Symbol: Z12 = Characteristic
Text Symbol: Z13 = Error Description
Text Symbol: Z14 = Maintain the INTRASTAT ID number in the selection screen for transaction VEIA
Text Symbol: Z20 = Data is incomplete/incorrect. Declaration not possible.
Text Symbol: Z21 = Remove all errors first
Text Symbol: B01 = Internal firm address
Text Symbol: B02 = Third-party decl.info ;
Text Symbol: D01 = INTRASTAT Declaration - Sweden
Text Symbol: ER2 = ;Dataset of CUSDEC/INSTAT declaration on data carrier ;
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 Doc.
Text Symbol: L03 = Item Number
Text Symbol: L04 = Commodity Code
Text Symbol: L05 = Invoice Value
Text Symbol: L06 = Statistical Value
Text Symbol: L07 = Plnts
Text Symbol: L08 = No data could be selected
Text Symbol: S02 = Technical Specifications
Text Symbol: T01 = Selection criteria - General
Text Symbol: T02 = Addit.Specif.
Text Symbol: T03 = Spec. for creating files
Text Symbol: T04 = Criteria for output
Text Symbol: T05 = Sort asc. order :
Text Symbol: T06 = Sort desc. order :
Text Symbol: T10 = Decl. number ;
Text Symbol: T11 = Company code ;
Text Symbol: T12 = Month ;
Text Symbol: T13 = Year ;
Text Symbol: T20 = Have you inserted a
Text Symbol: T21 = formatted disk?
Text Symbol: T22 = Disk
Text Symbol: Z01 = Qty in special unit of measure
Text Symbol: Z02 = Mode of Transport
Text Symbol: Z03 = Destination/Departure Country
Text Symbol: Z04 = Tare Mass


INCLUDES used within this REPORT RVEXCUSE

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