SAP Reports / Programs

RJLPTABF SAP ABAP Report - Extract Postal Charges for Batch Input







RJLPTABF is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The postal charges are extracted from the condition records and recorded using the desired medium...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 RJLPTABF 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

JCR2 - IS-M/SD: Extract Postal Charges


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 RJLPTABF. "Basic submit
SUBMIT RJLPTABF AND RETURN. "Return to original report after report execution complete
SUBMIT RJLPTABF 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: R_KSCHL = Condition Type
Selection Text: STICHTAG = Key Date for Charge Determ.
Title: Extract Postal Charges for Batch Input
Text Symbol: E01 = No data found
Text Symbol: L01 = Default Session Name
Text Symbol: L02 = Condition Type
Text Symbol: L03 = Condition Table
Text Symbol: L04 = Key
Text Symbol: L05 = Amount
Text Symbol: L06 = per
Text Symbol: L07 = Scale Values
Text Symbol: L08 = Valid From
Text Symbol: L09 = Valid To
Text Symbol: S01 = Store Charges In
Text Symbol: S02 = Tables in Current Client
Text Symbol: S03 = Dataset
Text Symbol: S04 = Local File
Text Symbol: T01 = POSTAL CHARGES


INCLUDES used within this REPORT RJLPTABF

INCLUDE MJ000TOP.
INCLUDE MJY00TKO.


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:

SD_KONH_SELECT call function 'SD_KONH_SELECT' tables condition_header = xkonh condition_number = r_knumh.

SD_KONP_SELECT call function 'SD_KONP_SELECT' exporting scale_read = 'X' tables condition_item = xkonp condition_number = r_knumh condition_scale = staffel.

FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = 'ISM_GROUP_MSD_BI_POSTAL_CHARGES_EXTRACT' "<= File-Gruppe changing physical_filename = ds_name "<= Pfad vom Selektionsbild exceptions others = 4.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting ** CODEPAGE = ' ' * filename = ld_name * filetype = 'ASC' * tables * data_tab = wa_tab * exceptions * file_open_error = 01 * file_write_error = 02 * invalid_filesize = 03 * invalid_table_width = 04 * invalid_type = 05 * no_batch = 06 * unknown_error = 07.

WS_FILENAME_GET * call function 'WS_FILENAME_GET' * exporting * def_filename = ld_name ** DEF_PATH = ' ' * mask = ',*.*,*.*.'

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting ** CODEPAGE = ' ' * filename = ld_name * filetype = 'ASC' * tables * data_tab = wa_tab * exceptions * file_open_error = 01 * file_write_error = 02 * invalid_filesize = 03 * invalid_table_width = 04 * invalid_type = 05 * no_batch = 06 * unknown_error = 07.

FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = 'ISM_GROUP_MSD_BI_POSTAL_CHARGES_EXTRACT' "<= File-Gruppe changing physical_filename = ds_name "<= Pfad vom Selektionsbild exceptions others = 4.

WS_QUERY call function 'WS_QUERY' exporting filename = ld_name query = 'FE' importing return = subrc.



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