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
Below is a list of transaction codes which are relevant to this SAP report
J1SNP - Data Transfer: Postal Code
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.
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:
INCLUDE MJO0FA02.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
J_1SNPLZ - IS-M/SD CH/S: Postal Data Transfer Program for Postal Codes J_1SNPLZ - IS-M/SD CH/S: Postal Data Transfer Program for Postal Codes J_1SNPAL - IS-M/SD CH/S: Postal Data Transfer - Split Overall PCode File J_1SNPAL - IS-M/SD CH/S: Postal Data Transfer - Split Overall PCode File J_1SNORT - IS-M/SD CH/S: Postal Data Transfer Program for Cities J_1SNORT - IS-M/SD CH/S: Postal Data Transfer Program for Cities