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
Below is a list of transaction codes which are relevant to this SAP report
VEIA - Create INTRASTAT CUSDEC EDI SE
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: 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
INCLUDE RVEXINRO.
INCLUDE RVEXINDF.
INCLUDE RVEXINPR.
INCLUDE RVEXCUIN.
No SAP DATABASE tables are accessed within this REPORT code!
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
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.