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

RVSAAREI SAP ABAP Report - Verification of Foreign Trade messages







RVSAAREI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RVSAAREI 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

VIBN - Monitor messages


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 RVSAAREI. "Basic submit
SUBMIT RVSAAREI AND RETURN. "Return to original report after report execution complete
SUBMIT RVSAAREI VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Verification of export messages
Selection Text: SO_KSCHL = Output type
Selection Text: SO_DATUM = Date of creation
Selection Text: P_VARIA = D Layout
Selection Text: PA_WAERK = Currency
Title: Verification of Foreign Trade messages
Text Symbol: 020 = Layout
Text Symbol: 015 = Sold-to party
Text Symbol: 014 = Involved authority
Text Symbol: 013 = Receiving authority
Text Symbol: 012 = Verification documents
Text Symbol: 011 = Output
Text Symbol: 010 = Foreign Trade
Text Symbol: 005 = Doc.
Text Symbol: 004 = Month
Text Symbol: 003 = Currency unit
Text Symbol: 002 = Details
Text Symbol: 001 = Documents


INCLUDES used within this REPORT RVSAAREI

INCLUDE RVSADATA.
INCLUDE RVSASCREEN.
INCLUDE RVSAINIT.


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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' IT_FIELDCAT = GT_FIELDCAT[] IS_LAYOUT = GS_LAYOUT I_CALLBACK_HTML_TOP_OF_PAGE = 'HTML_TOP_OF_PAGE' IT_EVENTS = GT_EVENTS[] I_SAVE = 'A' IS_VARIANT = G_VARIANT TABLES T_OUTTAB = GT_OUTTAB.

EXPIMP_DATA_MAINTAIN CALL FUNCTION 'EXPIMP_DATA_MAINTAIN' EXPORTING I_AHBAS = '2FA' I_TCODE = SY-TCODE I_TCODE_TYP = 'A' I_ENTRY_SINGLE_REC = TRUE TABLES I_TAB_TREE = LT_TREE_TAB.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = G_TABNAME I_STRUCTURE_NAME = 'STRUC_RVSAAREI' I_CLIENT_NEVER_DISPLAY = TRUE CHANGING CT_FIELDCAT = RT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = GT_OUTTAB-ERDAT FOREIGN_CURRENCY = PA_WAERK LOCAL_AMOUNT = GT_OUTTAB-NETWR LOCAL_CURRENCY = GT_OUTTAB-WAERK TYPE_OF_RATE = 'M' IMPORTING FOREIGN_AMOUNT = GT_OUTTAB-NETWR EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 OTHERS = 5.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = E03_LT_EVENTS.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING I_LOGO = 'ENJOYSAP_LOGO' "SAP-LOGO * I_LOGO = 'RVSAAREI' "eigenes Logo IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = G_VARIANT I_SAVE = 'A' IMPORTING E_EXIT = G_EXIT ES_VARIANT = GX_VARIANT EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = 'A' CHANGING CS_VARIANT = GX_VARIANT.



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