SAP Reports / Programs

RFTBLIM1 SAP ABAP Report - Import Limits and Interim Limits from Local File







RFTBLIM1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Imports limits and interim limits from local files...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 RFTBLIM1 into the relevant SAP transactions such as SE38 or SE80


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 RFTBLIM1. "Basic submit
SUBMIT RFTBLIM1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBLIM1 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: P_DEL = Delete
Selection Text: P_INS = Insert
Selection Text: P_LVIL = File name for interim limits
Selection Text: P_SEPA = Field separator character
Selection Text: P_UPD = Update
Selection Text: P_VTBLV = File name for limits
Selection Text: S_LINE1 = Line numbers to be transferred
Selection Text: S_LINE2 = Line numbers to be transferred
Title: Import Limits and Interim Limits from Local File
Text Symbol: F01 = Limits.csv
Text Symbol: F02 = Interims.csv
Text Symbol: T01 = File paths and selections
Text Symbol: T02 = Mode


INCLUDES used within this REPORT RFTBLIM1

No INCLUDES are used within this REPORT code!


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:

TB_LIMIT_WS_FILENAME_GET CALL FUNCTION 'TB_LIMIT_WS_FILENAME_GET' EXPORTING * DEF_FILENAME = ' ' * DEF_PATH = ' ' * mask = mode = 'O' * TITLE = ' ' IMPORTING filename = c_file * PATH = * FILE = EXCEPTIONS selection_cancel = 1 selection_error = 2.

TB_LIMIT_UPLOAD CALL FUNCTION 'TB_LIMIT_UPLOAD' EXPORTING filename = u_filename filetype = 'ASC' * ITEM = ' ' * FILEMASK_MASK = ' ' * IMPORTING * FILESIZE = * CANCEL = * ACT_FILENAME = * ACT_FILETYPE = TABLES data_tab = tab EXCEPTIONS invalid_type = 1 no_batch = 2 unknown_error = 3 gui_refuse_filetransfer = 4 no_authority = 5 * OTHERS = 6 .

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = u_tabname * ALL_TYPES = ' ' * LFIELDNAME = ' ' * GROUP_NAMES = ' ' * IMPORTING * X030L_WA = * DTELINFO_WA = * TTYPINFO_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES * X031L_TAB = dfies_tab = tt_dfies EXCEPTIONS not_found = 1 OTHERS = 2.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = tt_dfies-rollname * STATE = 'A' langu = sy-langu IMPORTING * GOTSTATE = dd04v_wa = tt_dd04v * TPARA_WA = EXCEPTIONS illegal_input = 1 OTHERS = 2.

TB_LIMITS_UPDATE_DI CALL FUNCTION 'TB_LIMITS_UPDATE_DI' * IMPORTING * E_RC = TABLES tt_limittab = gt_lv_di tt_inttab = gt_il_di return = gt_return.

TB_LIMITS_INSERT_DI CALL FUNCTION 'TB_LIMITS_INSERT_DI' * IMPORTING * E_RC = TABLES tt_limittab = gt_lv_di tt_inttab = gt_il_di return = gt_return.

TB_LIMITS_DELETE_DI CALL FUNCTION 'TB_LIMITS_DELETE_DI' * IMPORTING * E_RC = TABLES tt_limittab = gt_lv_di return = gt_return.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' IMPORTING e_identification = l_identification.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = tt_return-id * EXCEPTION_IF_NOT_ACTIVE = 'X' msgty = tt_return-type msgv1 = tt_return-message_v1 msgv2 = tt_return-message_v2 msgv3 = tt_return-message_v3 msgv4 = tt_return-message_v4 txtnr = tt_return-number zeile = tt_return-row * IMPORTING * ACT_SEVERITY = * MAX_SEVERITY = EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' * EXPORTING * CORRECTIONS_OPTION = ' ' * CORRECTIONS_FUNC_TEXT = ' ' * LINE_FROM = ' ' * LINE_TO = ' ' * OBJECT = ' ' * SEND_IF_ONE = ' ' * BATCH_LIST_TYPE = 'J' * SHOW_LINNO = 'X' * SHOW_LINNO_TEXT = ' ' * SHOW_LINNO_TEXT_LEN = '3' * IMPORTING * CORRECTIONS_WANTED = EXCEPTIONS inconsistent_range = 1 no_messages = 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 RFTBLIM1 or its description.