SAP Reports / Programs

RVEXSOVA SAP ABAP Report - Uploading Commodity Codes and Import Code Numbers







RVEXSOVA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program copies 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 RVEXSOVA 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

VA94 - Load Commodity Codes for Japan
VP94 - Load Import Code No. for Japan
VEU4 - Load Commodity Code-Other Countries
VIU4 - Load Import Code No.-Other Countries
VI94 - Load Import Code Nos - EU Countries
VE94 - Load Commodity Code for EU Countries


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 RVEXSOVA. "Basic submit
SUBMIT RVEXSOVA AND RETURN. "Return to original report after report execution complete
SUBMIT RVEXSOVA 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: PAR_DRIV = Source drive
Selection Text: PAR_FILE = Source file
Selection Text: PAR_PFAD = Subdirectory
Selection Text: P_BEMEHH = Spec.unit of measurement-high
Selection Text: P_BEMEHL = Spec. unit of measurement-low
Selection Text: P_FIRST = First data carrier
Selection Text: P_KEY = D Key for upload
Selection Text: P_LAND1 = Country
Selection Text: P_LTEXTH = Long text - high
Selection Text: P_LTEXTL = Long text - low
Selection Text: P_OFFSE = Offset long text to goods no.
Selection Text: P_OTHER = Further data carriers
Selection Text: P_REORG = Carry out preparations
Selection Text: P_SPRAS = Language
Selection Text: P_STAWN = Length: Comm.code/Imp.code no.
Selection Text: P_STAWNH = Comm.code/Imp.code no. - High
Selection Text: P_STAWNL = Comm.code/Imp.code no. - Low
Selection Text: P_UMSCH = Conversion spec. UoM
Selection Text: S_STAWN = Chapter of comm.code
Title: Uploading Commodity Codes and Import Code Numbers
Text Symbol: M02 = of the European Union
Text Symbol: M03 = The country specified is a member
Text Symbol: M04 = Invalid country
Text Symbol: M05 = Maintain the length of the comm.code / import
Text Symbol: M06 = code no. in table T609S for the country
Text Symbol: M07 = For this key, there is already an
Text Symbol: M08 = entry in INDX - It will be overwritten
Text Symbol: M09 = Enter key for reorganization
Text Symbol: M10 = Distance does not correspond to
Text Symbol: M11 = defined length
Text Symbol: M12 = For this key, there is no entry
Text Symbol: M13 = in INDX
Text Symbol: M14 = Specify start and end position
Text Symbol: M18 = Table T604 is locked by another user
Text Symbol: M01 = The country specified is not a member
Text Symbol: 001 = Should table entries with identical
Text Symbol: 002 = key be overwritten?
Text Symbol: 003 = Enter table





Text Symbol: 004 = Do you want the comm. codes
Text Symbol: 005 = to be deleted?
Text Symbol: 006 = Delete commodity codes
Text Symbol: 0C4 = Do you want the imp. code no.
Text Symbol: 0C6 = Delete Import code numbers
Text Symbol: E00 = Selection criteria - General
Text Symbol: E01 = File Specifications
Text Symbol: E02 = Data record structure
Text Symbol: E03 = Spec.unit of measure
Text Symbol: E04 = Additional specifications
Text Symbol: E05 = Manual fixing of goods movement at 0 (no SAP standard !!)
Text Symbol: E06 = Prepare comparison
Text Symbol: E07 = Data carr.
Text Symbol: E20 = Initial item goods no. ;
Text Symbol: E21 = Final item goods no. ;
Text Symbol: E22 = Initial item goods text;
Text Symbol: E23 = Final item goods text ;
Text Symbol: E24 = Initial item spec. UoM.;
Text Symbol: E25 = End item spec. UoM. ;
Text Symbol: F01 = Data records inserted: &
Text Symbol: H01 = Stat; "Status
Text Symbol: H02 = Commodity code ; "Commodity code
Text Symbol: H03 = UoM; "Special unit of mea.
Text Symbol: H04 = Goods text
Text Symbol: HC2 = Import code number; "Import code number
Text Symbol: I01 = Commodity code
Text Symbol: I02 = Import code no.
Text Symbol: K01 = Commodity code ;
Text Symbol: K02 = to
Text Symbol: K03 = Records read ;
Text Symbol: KC1 = Import code no. ;


INCLUDES used within this REPORT RVEXSOVA

INCLUDE RVEXCODE.


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:

RV_FTT_CALL_SCREEN CALL FUNCTION 'RV_FTT_CALL_SCREEN' EXPORTING I_LAND1 = P_LAND1 I_LASTW = P_STAWN I_NIHON = P_VEREI I_SPRAS = P_SPRAS I_KEY = P_KEY IMPORTING E_RETURNCODE = RETURNCODE.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING TEXT_BEFORE = TEXT-004 TEXT_AFTER = TEXT-005 TITEL = TEXT-006 DEFAULTOPTION = 'J' OBJECTVALUE = '' IMPORTING ANSWER = POPUP_ANSWER.

SYSTEM_FORMAT





CALL FUNCTION 'SYSTEM_FORMAT' IMPORTING CODEP = CODEPAGE EXCEPTIONS NO_CODEP = 1 UNKNOWN_NFORM = 2 OTHERS = 3.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = LV_FULLPATH FILETYPE = LC_FILETYPE_ASC HAS_FIELD_SEPARATOR = ' ' READ_BY_LINE = 'X' TABLES DATA_TAB = SOVA_DATA_TAB EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING TEXT_BEFORE = TEXT-001 TEXT_AFTER = TEXT-002 TITEL = TEXT-003 DEFAULTOPTION = 'J' OBJECTVALUE = '' IMPORTING ANSWER = POPUP_ANSWER.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = LC_TEXT.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING ACTION = LOC_ACTION ENQUEUE_MODE = LOC_ENQUEUE_MODE VIEW_NAME = LOC_VIEW_NAME ENQUEUE_RANGE = LOC_ENQUEUE_RANGE * TABLES * SELLIST = EXCEPTIONS CLIENT_REFERENCE = 1 FOREIGN_LOCK = 2 INVALID_ACTION = 3 INVALID_ENQUEUE_MODE = 4 SYSTEM_FAILURE = 5 TABLE_NOT_FOUND = 6 OTHERS = 7.



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