SAP Reports / Programs | SAP Media | SAP Media(IS-M) SAP IS

J_1SNBOT SAP ABAP Report - IS-M/SD CH/S: Postal Data Transfer Program for PTT Carriers







J_1SNBOT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In this step, the data from the temporary table of carriers (ISP_PTT_BOT_DAT) is formatted and written to the Swiss carrier table J_1SBOTPRO...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_1SNBOT 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

J1SNB - Data Transfer: Carriers


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_1SNBOT. "Basic submit
SUBMIT J_1SNBOT AND RETURN. "Return to original report after report execution complete
SUBMIT J_1SNBOT 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 PTT Carriers
Text Symbol: T04 = End of dataset
Text Symbol: T03 = Cannot read dataset
Text Symbol: T02 = Log: Transfer PTT Carriers
Text Symbol: T01 = Carrier Log
Text Symbol: 913 = Lang.
Text Symbol: 912 = Text on Cov.Sheet
Text Symbol: 911 = Print Cover Sheet
Text Symbol: 910 = Print Imm.
Text Symbol: 907 = Reten.Period
Text Symbol: 906 = Delete After Print
Text Symbol: 905 = Printer
Text Symbol: 904 = No. of Printouts
Text Symbol: 903 = Name of Spool List
Text Symbol: 902 = Print Control
Text Symbol: 901 = Processing Date
Text Symbol: 900 = Processing Month
Text Symbol: 021 = Date
Text Symbol: 020 = Various Specs
Text Symbol: 019 = No street for carrier
Text Symbol: 018 = Error Reason
Text Symbol: 017 = HNo.To
Text Symbol: 016 = Error logging program
Text Symbol: 015 = HNo.Fr.
Text Symbol: 014 = HNInd
Text Symbol: 013 = CarRte
Text Symbol: 012 = CarrTy.
Text Symbol: 011 = PTT St
Text Symbol: 010 = St No.
Text Symbol: 009 = City No.
Text Symbol: 008 = Incorrect Carrier Data:
Text Symbol: 007 = No Carrier Insert
Text Symbol: 006 = End Report Processing:
Text Symbol: 005 = Start Report Processing:
Text Symbol: 004 = Transfer Existing Carrier Data





Text Symbol: 003 = Carrier Data Transfer By
Text Symbol: 002 = Incorrect Carrier Data
Text Symbol: 001 = Carr. file created


INCLUDES used within this REPORT J_1SNBOT

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_BOTPRO_PTT_POSTE_DATA CALL FUNCTION 'J_1S_BOTPRO_PTT_POSTE_DATA' EXPORTING DSETNAME = DSETNAME LAND = LAND W_DATAB = SY-DATUM IMPORTING BOTE = W_J1SBOTPRO X_DBCODE_BOTCH = DBCODE_BOTCH TABLES ALL_BOT = IT_BOTTAB EXCEPTIONS CANT_READ_DATASET = 01 END_OF_DATASET = 02 UNKNOWN_DATA = 03 STREET_NOT_FOUND = 04.

J_1S_BOTPRO_PRUEFEN CALL FUNCTION 'J_1S_BOTPRO_PRUEFEN' EXPORTING CHBOTPRO = W_BOTTAB X_DBCODE_BOTCH = DBCODE_BOTCH IMPORTING CHBOTPRO = W_J1SBOTPRO EXCEPTIONS CHECK_FAILED = 1 OTHERS = 2.

J_1S_BOTPRO_INSERT CALL FUNCTION 'J_1S_BOTPRO_INSERT' EXPORTING CHBOTPRO = W_J1SBOTPRO *CHBOTPRO = W_J1SBOTPRO EXCEPTIONS NO_INSERT = 1 OTHERS = 2.

DATE_COMPUTE_DAY CALL FUNCTION 'DATE_COMPUTE_DAY' EXPORTING DATE = DATUM IMPORTING DAY = WOTAG.

ISP_SHIPPING_LEAD_DATE_GET CALL FUNCTION 'ISP_SHIPPING_LEAD_DATE_GET' EXPORTING DRERZ = L_JDTPVA-DRERZ AB_ERSCHDAT = EDATUM WERK = L_JDTPVAWERK-DRKEI IMPORTING OUT_ERSCHDAT = DATUM_OUT TABLES ILIEFARTTAB = I_LFART EXCEPTIONS NO_DATE_FOUND = 1 EMPTY_LFART_TAB = 2 OTHERS = 3.



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