SAP Reports / Programs

J_1SNPLZ SAP ABAP Report - IS-M/SD CH/S: Postal Data Transfer Program for Postal Codes







J_1SNPLZ is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program formats the data from the temporary postal code file (ISP_PTT_PLZ_DAT) and writes it to the following postal code tables: JSTPLZPRO (postal codes) JSTPLZORT (postal code-city assignments) J_1SPLZZUO (assignment of 4-digit to 6-digit postal codes for CH) Please adhere to the processing sequence (reports)...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 J_1SNPLZ 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

J1SNP - Data Transfer: Postal Code


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 J_1SNPLZ. "Basic submit
SUBMIT J_1SNPLZ AND RETURN. "Return to original report after report execution complete
SUBMIT J_1SNPLZ 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: V_MONAT = Processing Month
Selection Text: V_JAHR = Processing Year
Selection Text: LAND = Country
Title: IS-M/SD CH/S: Postal Data Transfer Program for Postal Codes
Text Symbol: 024 = HD
Text Symbol: 025 = PO
Text Symbol: 026 = MC
Text Symbol: 027 = MCG
Text Symbol: 028 = Reas.
Text Symbol: 029 = Postal Code Data Transfer By
Text Symbol: 902 = Print Control
Text Symbol: 903 = Name of Spool List
Text Symbol: 904 = No. of Printouts
Text Symbol: 905 = Printer
Text Symbol: 906 = Delete After Print
Text Symbol: 907 = Reten.Period
Text Symbol: 908 = Cover Sht
Text Symbol: 909 = Cover Sh.Text
Text Symbol: 910 = Print Imm.
Text Symbol: 911 = Print Cover Sheet
Text Symbol: 912 = Text on Cov.Sheet
Text Symbol: 913 = Lang.
Text Symbol: 001 = Transfer Existing PCd Data
Text Symbol: 002 = Log: Transfer Postal Codes
Text Symbol: 003 = PCode Log
Text Symbol: 004 = Postal codes, PCd city, PCd assignment created
Text Symbol: 005 = End of Dataset
Text Symbol: 006 = Cannot Read Dataset
Text Symbol: 007 = 4-digit PCd invalid
Text Symbol: 009 = PCd city already exists
Text Symbol: 010 = No PCd insert / update
Text Symbol: 011 = No PCd city insert
Text Symbol: 012 = 6-digit PCd invalid
Text Symbol: 013 = Postal asgt no.missing
Text Symbol: 014 = No 4-/6-digit PCd insert
Text Symbol: 015 = Start Report Processing:
Text Symbol: 016 = End Report Processing:
Text Symbol: 017 = Incorrect PCd data:





Text Symbol: 018 = Ctry
Text Symbol: 019 = PCd 4
Text Symbol: 020 = CityNo
Text Symbol: 021 = PCd 6
Text Symbol: 022 = AsgtNo
Text Symbol: 023 = Error logging program


INCLUDES used within this REPORT J_1SNPLZ

INCLUDE MJO0FA02.


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 = log_name IMPORTING file_name = dsetname EXCEPTIONS file_not_found = 01.

FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = log_name changing physical_filename = dsetname exceptions others = 4.

J_1S_PLZPRO_PTT_POSTE_DATA CALL FUNCTION 'J_1S_PLZPRO_PTT_POSTE_DATA' EXPORTING dsetname = dsetname land = land IMPORTING loc_jstplzort = w_jstplzort loc_jstplzpro = w_jstplzpro loc_j_1splzzuo = w_j1splzzuo x_dbcode_plzort = dbcode_plzort x_dbcode_plz = dbcode_plz x_dbcode_plzch = dbcode_plzch EXCEPTIONS end_of_dataset = 01 cant_read_dataset = 02 unknown_data = 03.

ISP_POSTAL_CODE_CHECK CALL FUNCTION 'ISP_POSTAL_CODE_CHECK' EXPORTING country = w_jstplzpro-land1 postal_code = w_jstplzpro-plzneu EXCEPTIONS not_valid = 4.

ISP_JSTPLZPRO_INSERT CALL FUNCTION 'ISP_JSTPLZPRO_INSERT' EXPORTING stplzpro = w_jstplzpro *stplzpro = w_jstplzpro EXCEPTIONS no_insert = 1.

ISP_JSTPLZPRO_UPDATE CALL FUNCTION 'ISP_JSTPLZPRO_UPDATE' EXPORTING *stplzpro = w_jstplzpro stplzpro = w_jstplzpro EXCEPTIONS no_update = 1.

ISP_JSTPLZORT_PRUEFEN CALL FUNCTION 'ISP_JSTPLZORT_PRUEFEN' EXPORTING stplzort = w_jstplzort x_dbcode_plzort = dbcode_plzort IMPORTING stplzort = w_jstplzort EXCEPTIONS no_update = 01.

ISP_JSTPLZORT_INSERT CALL FUNCTION 'ISP_JSTPLZORT_INSERT' EXPORTING stplzort = w_jstplzort *stplzort = w_jstplzort EXCEPTIONS no_insert = 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 J_1SNPLZ or its description.