J_1SNFIL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program J_1SNFIL converts the Swiss postal master data to SAP formats and generates various files that are used as input for the dataset transfer and conversion programs...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_1SNFIL into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
J1S4 - Create Operating System Files
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: ANZCOPY = No.of Copies
Selection Text: DECKBL = Cover Sheet?
Selection Text: DECKTXT = Cover Sheet Text
Selection Text: LOESCHN = Delete After Output
Selection Text: PA_MSORT = Mailsort (Letters etc.)
Selection Text: PA_PLZC = Municipality File
Selection Text: PA_PLZP1 = Postal Code File (P1)
Selection Text: PA_PSORT = Packsort (Catalogs from 500g)
Selection Text: PA_STR = Street File
Selection Text: PRINTER = Printer
Selection Text: SOFORT = Print Immediately?
Selection Text: VERWDAU = Spool Retention Period
Title: IS-M/SD CH/S: Create Temporary Files
Text Symbol: 008 = 10 Home and PO Box Addresses
Text Symbol: 007 = PCd Types
Text Symbol: 006 = CH PTT File Path
Text Symbol: 005 = Municipalities Read
Text Symbol: 004 = Postal Codes Read
Text Symbol: 003 = CH PTT Files
Text Symbol: 002 = Create Temp. Files from CH PTT Files
Text Symbol: 001 = Cannot open dataset
Text Symbol: 016 = Temp. Street File Created
Text Symbol: 017 = Mailsort File Read
Text Symbol: 018 = Temp. Carrier File Created
Text Symbol: 019 = Optional Files
Text Symbol: 020 = Munic. File
Text Symbol: 021 = Mailsort (Letters, Newspapers, Magazines)
Text Symbol: 022 = Create Temp. Files from CH PTT Files via
Text Symbol: 023 = Page
Text Symbol: 024 = Start Report Processing:
Text Symbol: 025 = End Report Processing:
Text Symbol: 026 = PCd, Cities, Munics.
Text Symbol: 027 = Streets
Text Symbol: 015 = Streets Read
Text Symbol: 029 = Select File
Text Symbol: 028 = Mailsort File(Letters)
Text Symbol: 911 = Print Cover Sheet
Text Symbol: 910 = Print Imm.
INCLUDE MJV00T16.
No SAP DATABASE tables are accessed within this REPORT code!
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = w_filestr filetype = 'ASC' has_field_separator = 'X' read_by_line = 'X' TABLES data_tab = it_pttplzp1 EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 invalid_type = 5 no_authority = 6 access_denied = 13.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = 'ZISP_PTT_P1_DAT' IMPORTING file_name = dsetname EXCEPTIONS file_not_found = 01.
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = 'ZISP_PTT_P1_DAT' changing physical_filename = dsetname exceptions others = 4.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = w_filestr filetype = 'ASC' has_field_separator = 'X' read_by_line = 'X' TABLES data_tab = it_pttplzc EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 invalid_type = 5 no_authority = 6 access_denied = 13.
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = pa_unort changing physical_filename = w_dsetname exceptions others = 4.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = p_locpfad operating_system = sy-opsys IMPORTING file_name = p_w_dsetname EXCEPTIONS file_not_found = 01.
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = pa_unplz changing physical_filename = w_dsetname exceptions others = 4.
CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = w_filestr filetype = 'ASC' has_field_separator = ' ' read_by_line = 'X' TABLES data_tab = it_pttstr EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 invalid_type = 5 no_authority = 6 access_denied = 13.
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = pa_unstr changing physical_filename = w_dsetname exceptions others = 4.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = w_filestr filetype = 'ASC' has_field_separator = ' ' read_by_line = 'X' TABLES data_tab = it_pttsort EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 invalid_type = 5 no_authority = 6 access_denied = 13.
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = pa_unbot changing physical_filename = w_dsetname exceptions others = 4.
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_1SNFIL or its description.
J_1SNFIL - IS-M/SD CH/S: Create Temporary Files J_1SNFIL - IS-M/SD CH/S: Create Temporary Files J_1SNBOT - IS-M/SD CH/S: Postal Data Transfer Program for PTT Carriers J_1SNBOT - IS-M/SD CH/S: Postal Data Transfer Program for PTT Carriers J_1SNBAL - IS-M/SD CH/S: Postal Data Transfer - Split General Carrier File J_1SNBAL - IS-M/SD CH/S: Postal Data Transfer - Split General Carrier File