SAP Reports / Programs

RFTBLMR1 SAP ABAP Report - Mass Release of Limits







RFTBLMR1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is an easy way to confirm several limits at one time...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 RFTBLMR1 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

TBLR - Release 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 RFTBLMR1. "Basic submit
SUBMIT RFTBLMR1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBLMR1 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_RELUSE = Last Released By
Selection Text: P_STATE0 = Limits not Released
Selection Text: P_STATE1 = Limits Flagged for Release
Selection Text: P_STATE2 = Released Limits
Selection Text: S_SLA = Limit Type
Title: Mass Release of Limits
Text Symbol: 002 = Derived Char.
Text Symbol: 003 = Free Char.
Text Symbol: B00 = Limits
Text Symbol: F01 = Undefined error -> inform SAP
Text Symbol: P01 = Should the data
Text Symbol: P02 = be saved first?
Text Symbol: P03 = Cancel anyway?
Text Symbol: R01 = Not Released
Text Symbol: R02 = In Release
Text Symbol: R03 = Released
Text Symbol: S01 = General Selections
Text Symbol: S02 = Selection of Limits
Text Symbol: T01 = Exit Mass Release


INCLUDES used within this REPORT RFTBLMR1

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_READ_PARTNER CALL FUNCTION 'TB_LIMIT_READ_PARTNER' EXPORTING it_atlat = t_atlat[] CHANGING ct_vtblsp = gt_vtblsp_neu[] EXCEPTIONS OTHERS = 1.

TB_LIMIT_CUSTOMER_CHAR_TEXTS CALL FUNCTION 'TB_LIMIT_CUSTOMER_CHAR_TEXTS' CHANGING c_t_vtblsp = gt_vtblsp_neu[].

TB_LIMIT_ADD_RELTEXT CALL FUNCTION 'TB_LIMIT_ADD_RELTEXT' EXPORTING i_relstate = gt_vtblv0x_neu-relstate IMPORTING e_reltext = gt_vtblv0x_neu-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 = 'VTBLS' i_strucname_i = 'VTBLV' 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.

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[].

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

TB_LIMIT_SET_RELEASE_STATE CALL FUNCTION 'TB_LIMIT_SET_RELEASE_STATE' CHANGING c_vtblv0 = wa_vtblv0 EXCEPTIONS release_not_active = 1 wrong_user = 2 already_released = 3 missing_authority = 4 OTHERS = 5.

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.

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

TB_LIMITSETS_ENQUEUE CALL FUNCTION 'TB_LIMITSETS_ENQUEUE' EXPORTING i_create = xfalse i_sla = gt_vtblsp_neu-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_atla-sla it_lv_old = lt_vtblv_a[] it_lv_new = lt_vtblv_n[] 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 = gt_vtblsp_neu-sla i_vtblm0 = l_vtblm0 EXCEPTIONS OTHERS = 1.

TB_EXPOSURE_DEQUEUE CALL FUNCTION 'TB_EXPOSURE_DEQUEUE' EXPORTING i_sla = t_atla-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.

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 = 'VTBLS' i_structure_name_item = 'VTBLV' 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 = gt_vtblsp_neu t_outtab_item = gt_vtblv0x_neu EXCEPTIONS program_error = 1 OTHERS = 2.

TB_LIMIT_ALV_SHOW_INTERIMS





CALL FUNCTION 'TB_LIMIT_ALV_SHOW_INTERIMS' EXPORTING i_vtblv0 = u_vtblv0 EXCEPTIONS OTHERS = 1.

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.



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