SAP Reports / Programs

RJSZIP4UPD SAP ABAP Report - IS-M: Generate Change Records for US Postal Data from ZIP+4 Files







RJSZIP4UPD 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 RJSZIP4UPD 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

JSE8 - Update Streets - USA


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 RJSZIP4UPD. "Basic submit
SUBMIT RJSZIP4UPD AND RETURN. "Return to original report after report execution complete
SUBMIT RJSZIP4UPD 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: YEAR = Year
Selection Text: VERS_NR = Version Number for Postal Data
Selection Text: TO_CP = Code Page Destination
Selection Text: STATES = States
Selection Text: MONTH = Month
Selection Text: FROM_CP = Code Page Start
Selection Text: DAY = Day
Selection Text: COUNTRY = Country
Selection Text: COMMIT_C = No. Records for DB Commit
Selection Text: AENDNR = Change number
Title: IS-M: Generate Change Records for US Postal Data from ZIP+4 Files
Text Symbol: S03 = Version data
Text Symbol: P01 = Log of Postal Data Upgrade (ZIP+4)
Text Symbol: 402 = Subobject
Text Symbol: 401 = Object
Text Symbol: 400 = For further information, please see the application log
Text Symbol: 011 = File error - no version data
Text Symbol: 010 = Incorrect version - imported version <>
Text Symbol: 009 = Upgrade-Specific Data
Text Symbol: 008 = General data
Text Symbol: 007 = The following file is currently in proc.:
Text Symbol: 006 = The following file was transferred successfully:
Text Symbol: 005 = Processing completed
Text Symbol: 004 = Sel.according to following select options
Text Symbol: 003 = Problem reading files. Check data
Text Symbol: 002 = End of file
Text Symbol: 001 = Unable to read the following file:


INCLUDES used within this REPORT RJSZIP4UPD

INCLUDE MJS00T30. " TJS37
INCLUDE MJS0FB01.
INCLUDE MJY00FAB.


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:

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = CON_DSET_ZIP4_START_UPGRADE IMPORTING FILE_NAME = DSETNAME EXCEPTIONS FILE_NOT_FOUND = 01.

FILE_GET_NAME * CALL FUNCTION 'FILE_GET_NAME' * EXPORTING * LOGICAL_FILENAME = CON_DSET_ZIP4_START_UPGRADE * IMPORTING * FILE_NAME = DSETNAME * EXCEPTIONS * FILE_NOT_FOUND = 01.

FILE_GET_NAME_AND_LOGICAL_PATH CALL FUNCTION 'FILE_GET_NAME_AND_LOGICAL_PATH' EXPORTING LOGICAL_FILENAME = CON_DSET_ZIP4_START_UPGRADE IMPORTING FILE_NAME = L_FILENAME LOGICAL_PATH = FILEPATH.

FILE_GET_NAME_USING_PATH * CALL FUNCTION 'FILE_GET_NAME_USING_PATH' * EXPORTING * LOGICAL_PATH = filepath * FILE_NAME = error_f * USE_PRESENTATION_SERVER = SY-SYSID * IMPORTING * FILE_NAME_WITH_PATH = error_f * EXCEPTIONS * PATH_NOT_FOUND = 1 * MISSING_PARAMETER = 2 * OPERATING_SYSTEM_NOT_FOUND = 3 * FILE_SYSTEM_NOT_FOUND = 4 * OTHERS = 5.

ISM_GENERATE_ZIP_FILE_NAME CALL FUNCTION 'ISM_GENERATE_ZIP_FILE_NAME' IMPORTING PHYS_FILE_NAME = L_FILENAME CHANGING PATH_FILE_NAME = DSETNAME EXCEPTIONS OTHERS = 1.

ISM_JSTSTRPRO_USPS_UPDA_CREATE CALL FUNCTION 'ISM_JSTSTRPRO_USPS_UPDA_CREATE' EXPORTING DSETNAME = DSETNAME ERROR_FILE = error_f COUNTRY = COUNTRY RESTART_COUNTER = RESTART_COUNTER COMMIT_COUNTER = COMMIT_COUNTER LOG_FILE = PHYS_FILE_NAME FROM_CODEPAGE = FROM_CP TO_CODEPAGE = TO_CP IN_JSTAENDER = GLB_JSTAENDER * VERSION = VERS_NR TABLES STATE_RANGE = STATES EXCEPTIONS INVALID_INPUT = 1 FILE_ERROR = 2 VERSION_ERROR = 3 END_OF_DATASET = 4 CANT_READ_DATASET = 8 * RECORD_ERROR = 6 OTHERS = 5.

ISM_GENERATE_ZIP_FILE_NAME CALL FUNCTION 'ISM_GENERATE_ZIP_FILE_NAME' IMPORTING PHYS_FILE_NAME = PHYS_FILE_NAME CHANGING PATH_FILE_NAME = DSETNAME EXCEPTIONS OTHERS = 1.



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