SAP Reports / Programs | Financials | Financial Supply Chain Management | Transfer to Financial Accounting(FIN-FSCM-TRM-TM-AC) SAP FIN

RTPM_TRL_POS_VALUES_TOOL_CIMP1 SAP ABAP INCLUDE - Include RTPM_TRL_POS_VALUES_TOOL_CIMP1







RTPM_TRL_POS_VALUES_TOOL_CIMP1 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RTPM_TRL_POS_VALUES_TOOL_CIMP1 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 RTPM_TRL_POS_VALUES_TOOL_CIMP1. "Basic submit
SUBMIT RTPM_TRL_POS_VALUES_TOOL_CIMP1 AND RETURN. "Return to original report after report execution complete
SUBMIT RTPM_TRL_POS_VALUES_TOOL_CIMP1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include RTPM_TRL_POS_VALUES_TOOL_CIMP1


INCLUDES used within this REPORT RTPM_TRL_POS_VALUES_TOOL_CIMP1

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:

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_attr_table i_bypassing_buffer = abap_true CHANGING ct_fieldcat = mt_fcat_attr EXCEPTIONS OTHERS = 0.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_text_table i_bypassing_buffer = abap_true CHANGING ct_fieldcat = mt_fcat_attr_text EXCEPTIONS OTHERS = 0.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_keyf_table i_bypassing_buffer = abap_true CHANGING ct_fieldcat = mt_fcat_keyf EXCEPTIONS OTHERS = 0.

DB_SQL_PARSE * CALL FUNCTION 'DB_SQL_PARSE' * EXPORTING * stmt_str = go_model->mv_sql * IMPORTING * sql_stmt = ls_sql.

DB_SQL_STRING_DISPLAY CALL FUNCTION 'DB_SQL_STRING_DISPLAY' EXPORTING stmt_str = go_model->mv_sql * STMT_LEN = 0 * START_POS = 1 line_size = 150 * WITH_FRAME = ' ' * FOR_DB = SY-DBSYS .

SUSR_USER_AUTH_FOR_OBJ_GET CALL FUNCTION 'SUSR_USER_AUTH_FOR_OBJ_GET' EXPORTING user_name = sy-uname sel_object = lv_sel_object TABLES values = lt_auth_val EXCEPTIONS OTHERS = 4.

RSDS_RANGE_TO_WHERE CALL FUNCTION 'RSDS_RANGE_TO_WHERE' EXPORTING i_t_range = lt_t_range IMPORTING e_where = lv_authority_check EXCEPTIONS internal_error = 1 OTHERS = 2.

LVC_VARIANT_SAVE CALL FUNCTION 'LVC_VARIANT_SAVE' EXPORTING it_fieldcat = it_fieldcat it_sort = it_sort it_filter = it_filter is_layout = is_layout TABLES it_data = CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 fc_not_complete = 2 foreign_lock = 3 variant_exists = 4 name_reserved = 5 program_error = 6 OTHERS = 7.

FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING kind = tpmco_char_t field_ranges_int = mt_range IMPORTING selection_id = lv_selection_id field_ranges = mt_range TABLES tables_tab = lt_tables fields_tab = mt_fields EXCEPTIONS OTHERS = 0.

FREE_SELECTIONS_DIALOG CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING selection_id = lv_selection_id title = lv_title tree_visible = lv_tree just_display = lv_display no_intervals = abap_true IMPORTING field_ranges = lt_range TABLES fields_tab = mt_fields EXCEPTIONS no_action = 1 OTHERS = 2.

RSDS_RANGE_TO_WHERE CALL FUNCTION 'RSDS_RANGE_TO_WHERE' EXPORTING i_t_range = lt_t_range IMPORTING e_where = rv_string EXCEPTIONS internal_error = 1 OTHERS = 2.

LT_VARIANTS_MAINTAIN CALL FUNCTION 'LT_VARIANTS_MAINTAIN' EXPORTING * I_TOOL = 'LT' is_variant = ls_variant * I_USER_SPECIFIC = ' ' * I_TABNAME = * I_TABNAME_SLAVE = * I_CALLBACK_HEADER_TRANSPORT = * IS_LAYOUT = * IT_DEFAULT_FIELDCAT = i_grid = abap_true EXCEPTIONS foreign_lock = 1 OTHERS = 2.

LVC_VARIANT_SELECT CALL FUNCTION 'LVC_VARIANT_SELECT' EXPORTING i_dialog = abap_false i_default = abap_false it_default_fieldcat = lt_fcat_def IMPORTING e_exit = lv_exit et_fieldcat = lt_fcat et_sort = lt_sort et_filter = lt_filter es_layout = ls_layout TABLES it_data = lt_data CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 fc_not_complete = 2 not_found = 3 program_error = 4 data_missing = 5 OTHERS = 6.

POPUP_GET_VALUES * CALL FUNCTION 'POPUP_GET_VALUES' * EXPORTING ** NO_VALUE_CHECK = ' ' * popup_title = 'Key Date' ** START_COLUMN = '5' ** START_ROW = '5' * IMPORTING * returncode = lv_rc * TABLES * fields = lt_fields * EXCEPTIONS * error_in_fields = 1 * OTHERS = 2.



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