SAP Reports / Programs

RVEXCUPT SAP ABAP Report - INTRASTAT: CUSDEC/INSTAT - Portugal







RVEXCUPT 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 a 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 RVEXCUPT 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

VEIB - Create INTRASTAT CUSDEC EDI PT


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 RVEXCUPT. "Basic submit
SUBMIT RVEXCUPT AND RETURN. "Return to original report after report execution complete
SUBMIT RVEXCUPT 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_AUTH1 = Lisbon
Selection Text: P_AUTH2 = Porto
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_REFNR = Reference Message Number
Selection Text: P_TESTR = Test Message
Selection Text: P_VARIA = Layout
Selection Text: S_WERKS = Plant
Selection Text: TAPE = Create File
Selection Text: P_MESNP = D .
Title: INTRASTAT: CUSDEC/INSTAT - Portugal
Text Symbol: T22 = Disk
Text Symbol: T21 = formatted disk?
Text Symbol: B01 = Internal firm address
Text Symbol: B02 = Third-party decl.info ;
Text Symbol: D01 = INTRASTAT Declaration-Portugal
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 Specs
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 = Responsib. Authority
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


INCLUDES used within this REPORT RVEXCUPT

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 = 'P' 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 RVEXCUPT or its description.