SAP Reports / Programs | Default Risk and Limit System | Bank Components | Default Risk and Limit System(IS-B-RA-CL) SAP IS

RFTBLMR2 SAP ABAP Report - Report for Mass Release of Interim Limits







RFTBLMR2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Similar to mass confirmation of limits (see 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 RFTBLMR2 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

TBIR - Mass Release of Interim Limits


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 RFTBLMR2. "Basic submit
SUBMIT RFTBLMR2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBLMR2 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: S_SLA = Limit Type
Selection Text: S_DLVE = Valid To
Selection Text: S_DLVB = Valid From
Selection Text: P_STATE2 = Released Interim Limits
Selection Text: P_STATE1 = Flagged Interim Limits
Selection Text: P_STATE0 = Interim Limits not Released
Selection Text: P_RELUSE = Last Released By
Title: Report for Mass Release of Interim Limits
Text Symbol: T01 = Exit mass release
Text Symbol: S03 = Selection of Interim Limits
Text Symbol: S02 = Selection of Limits by Validity Interval
Text Symbol: S01 = General Access Options
Text Symbol: R03 = Released
Text Symbol: R02 = In Release
Text Symbol: R01 = Not Released
Text Symbol: P03 = Cancel anyway?
Text Symbol: P02 = be saved first?
Text Symbol: P01 = Should the data
Text Symbol: F04 = Error generating fld catalog in
Text Symbol: F01 = Undefined error -> inform SAP
Text Symbol: DUM =
Text Symbol: B00 = Interim Limits


INCLUDES used within this REPORT RFTBLMR2

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_ADD_RELTEXT CALL FUNCTION 'TB_LIMIT_ADD_RELTEXT' EXPORTING i_relstate = gt_vtblvil0x_neu-relstate_il IMPORTING e_reltext = gt_vtblvil0x_neu-reltext_il EXCEPTIONS OTHERS = 1.

TB_LIMIT_CHARS_MAIN_GEN CALL FUNCTION 'TB_LIMIT_CHARS_MAIN_GEN' EXPORTING i_access_mode = '2' it_entries_lkey = lt_lkey[] CHANGING ct_vtbls = t_vtbls[] * EXCEPTIONS * PARAM_ERROR = 1 * FNAME_ERROR = 2 * EXPRESSION_ERROR = 3 * TABLE_NOT_EXISTENT = 4 * OTHERS = 5 .

TB_LIMIT_CHARS_MAIN * CALL FUNCTION 'TB_LIMIT_CHARS_MAIN' * EXPORTING * I_ACCESS_MODE = '2' * IT_ENTRIES_LKEY = LT_LKEY[] * CHANGING * CT_VTBLS = T_VTBLS[].

TB_LIMIT_ADD_RELTEXT CALL FUNCTION 'TB_LIMIT_ADD_RELTEXT' EXPORTING i_relstate = t_vtblv0-relstate IMPORTING e_reltext = t_vtblv0-reltext EXCEPTIONS OTHERS = 1.

TB_LIMIT_ALV_INFO_FRAME CALL FUNCTION 'TB_LIMIT_ALV_INFO_FRAME' EXPORTING i_tabname_h = con_headertab i_tabname_i = con_itemtab i_program_name = i_repid i_strucname_h = 'VTBLV0' i_strucname_i = 'VTBLVIL0' i_detail_mode = con_display sort_request = ' ' it_atlam = t_atlam[] it_vtblv = t_vtblv[] IMPORTING gs_layout = gs_layout gs_keyinfo = gs_keyinfo gt_sort = gt_sort[] gt_events = gt_events[] CHANGING ct_fieldcat = gt_fieldcat[] EXCEPTIONS err_keyinfo = 1 err_fieldcat = 2 err_sort = 3 err_events = 4 OTHERS = 5.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = i_repid i_callback_pf_status_set = 'PF_STATUS_SET' * i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * it_sort = gt_sort[] * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = 'X' * i_save = 'A' * is_variant = variant it_events = gt_events[] it_event_exit = gt_event_exit[] i_tabname_header = con_headertab i_tabname_item = con_itemtab i_structure_name_header = 'VTBLV0' i_structure_name_item = 'VTBLVIL0' is_keyinfo = gs_keyinfo * IS_PRINT = * IS_REPREP_ID = IMPORTING * E_EXIT_CAUSED_BY_CALLER = es_exit_caused_by_user = gs_user_exit TABLES t_outtab_header = t_vtblv0 t_outtab_item = gt_vtblvil0x_neu EXCEPTIONS program_error = 1 OTHERS = 2.

TB_LIMIT_ALV_BUILD_KEYINFO CALL FUNCTION 'TB_LIMIT_ALV_BUILD_KEYINFO' EXPORTING i_tabname_h = 'VTBLV' i_tabname_i = 'VTBLVIL' IMPORTING gs_keyinfo = gs_keyinfo EXCEPTIONS internal_err = 1 OTHERS = 2.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' IMPORTING e_identification = e_identification EXCEPTIONS OTHERS = 1.

TB_LIMIT_SET_RELSTATE_INTERIM CALL FUNCTION 'TB_LIMIT_SET_RELSTATE_INTERIM' EXPORTING i_vtblv0 = t_vtblv0 CHANGING c_vtblvil0 = l_vtblvil0 EXCEPTIONS release_not_active = 1 limit_not_released = 2 wrong_user = 3 already_released = 4 missing_authority = 5 OTHERS = 6.

TB_EXPOSURE_ENQUEUE CALL FUNCTION 'TB_EXPOSURE_ENQUEUE' EXPORTING i_sla = t_vtblv0-sla i_mode = 'S' EXCEPTIONS enqueue = 1 OTHERS = 2.

TB_LIMITSETS_ENQUEUE CALL FUNCTION 'TB_LIMITSETS_ENQUEUE' EXPORTING i_create = xfalse i_sla = t_vtblv0-sla i_vtblm0 = l_vtblm0 EXCEPTIONS enqueue = 1 OTHERS = 2.

TB_LIMITS_UPDATE_ALL CALL FUNCTION 'TB_LIMITS_UPDATE_ALL' IN UPDATE TASK EXPORTING i_sla = t_vtblv0-sla it_lvil_old = lt_lvil_alt[] it_lvil_new = lt_lvil_neu[] EXCEPTIONS update_ls = 1 update_lv = 2 update_lvil = 3 call_ls = 4 call_lv = 5 call_lvil = 6 OTHERS = 7.

TB_LIMITSETS_DEQUEUE CALL FUNCTION 'TB_LIMITSETS_DEQUEUE' EXPORTING i_sla = t_vtblv0-sla i_vtblm0 = l_vtblm0 EXCEPTIONS OTHERS = 1.

TB_EXPOSURE_DEQUEUE CALL FUNCTION 'TB_EXPOSURE_DEQUEUE' EXPORTING i_sla = t_vtblv0-sla i_mode = 'S' EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-p01 textline2 = text-p02 titel = text-t01 IMPORTING answer = p_g_answer EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-p03 titel = text-t01 IMPORTING answer = p_g_answer EXCEPTIONS OTHERS = 1.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = r_msgid * EXCEPTION_IF_NOT_ACTIVE = E02 msgty = r_msgty msgv1 = r_msgv1 msgv2 = r_msgv2 msgv3 = r_msgv3 msgv4 = r_msgv4 txtnr = r_msgno zeile = p_r_zeile * IMPORTING * ACT_SEVERITY = I01 * MAX_SEVERITY = I02 EXCEPTIONS message_type_not_valid = 01 not_active = 02.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING * CORRECTIONS_OPTION = ' ' * CORRECTIONS_FUNC_TEXT = ' ' * LINE_FROM = ' ' * LINE_TO = ' ' object = text-b00 * 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.

REUSE_ALV_LIST_LAYOUT_INFO_GET





CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_filter = gt_filter EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

VIEWCLUSTER_MAINTENANCE_CALL CALL FUNCTION 'VIEWCLUSTER_MAINTENANCE_CALL' EXPORTING viewcluster_name = 'VC_ATLA' maintenance_action = 'S' TABLES dba_sellist = l_sellist[] EXCEPTIONS client_reference = 1 foreign_lock = 2 viewcluster_not_found = 3 viewcluster_is_inconsistent = 4 missing_generated_function = 5 no_upd_auth = 6 no_show_auth = 7 object_not_found = 8 no_tvdir_entry = 9 no_clientindep_auth = 10 invalid_action = 11 saving_correction_failed = 12 system_failure = 13 unknown_field_in_dba_sellist = 14 missing_corr_number = 15 OTHERS = 16.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_internal_tabname = con_headertab i_structure_name = con_vtblv0 i_client_never_display = 'X' CHANGING ct_fieldcat = lt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_internal_tabname = con_itemtab i_structure_name = con_vtblvil0 i_client_never_display = 'X' CHANGING ct_fieldcat = lt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 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 RFTBLMR2 or its description.