RSTPSQL_TEST_STATEMENT_LCL_IMP 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 RSTPSQL_TEST_STATEMENT_LCL_IMP into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include RSTPSQL_TEST_STATEMENT_LCL_IMP
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_TABL_ACTIVATE call function 'DDIF_TABL_ACTIVATE' exporting name = iv_new_name * AUTH_CHK = 'X' * PRID = -1 * EXCOMMIT = 'X' * IMPORTING * RC = exceptions not_found = 1 put_failure = 2 others = 3.
DD_TABL_DEL call function 'DD_TABL_DEL' exporting tabname = lv_test_name del_state = 'A'.
DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = iv_old_name * STATE = 'A' langu = sy-langu importing gotstate = gotstate dd02v_wa = dd02v_wa dd09l_wa = dd09l_wa tables dd03p_tab = dd03p_tab dd05m_tab = dd05m_tab dd08v_tab = dd08v_tab dd12v_tab = dd12v_tab dd17v_tab = dd17v_tab dd35v_tab = dd35v_tab dd36m_tab = dd36m_tab exceptions illegal_input = 1 others = 2.
DDIF_TABL_PUT call function 'DDIF_TABL_PUT' exporting name = iv_new_name dd02v_wa = dd02v_wa dd09l_wa = dd09l_wa tables dd03p_tab = dd03p_tab dd05m_tab = dd05m_tab dd08v_tab = dd08v_tab dd35v_tab = dd35v_tab dd36m_tab = dd36m_tab exceptions tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 others = 6.
TR_TADIR_INTERFACE call function 'TR_TADIR_INTERFACE' exporting * WI_DELETE_TADIR_ENTRY = ' ' * WI_REMOVE_REPAIR_FLAG = ' ' * WI_SET_REPAIR_FLAG = ' ' wi_test_modus = ' ' wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'TABL' wi_tadir_obj_name = lv_tadir_objname * WI_TADIR_KORRNUM = ' ' * WI_TADIR_SRCSYSTEM = ' ' wi_tadir_author = sy-uname wi_tadir_devclass = ' ' * WI_TADIR_MASTERLANG = ' ' * WI_TADIR_CPROJECT = ' ' * WI_TADIR_VERSID = ' ' * WI_REMOVE_GENFLAG = ' ' wi_set_genflag = 'X' * WI_READ_ONLY = ' ' * IV_SET_EDTFLAG = ' ' * IV_TRANSL_TECH_TEXT = ' ' * IV_DELFLAG = ' ' * IV_NO_PAK_CHECK = ' ' * IV_OBJ_STABILITY = ' ' * WI_TADIR_CHECK_DATE = '' * WI_TADIR_CHECK_CFG = ' ' * IMPORTING * NEW_GTADIR_ENTRY = * NEW_TADIR_ENTRY = exceptions tadir_entry_not_existing = 1 tadir_entry_ill_type = 2 no_systemname = 3 no_systemtype = 4 original_system_conflict = 5 object_reserved_for_devclass = 6 object_exists_global = 7 object_exists_local = 8 object_is_distributed = 9 obj_specification_not_unique = 10 no_authorization_to_delete = 11 devclass_not_existing = 12 simultanious_set_remove_repair = 13 order_missing = 14 no_modification_of_head_syst = 15 pgmid_object_not_allowed = 16 masterlanguage_not_specified = 17 devclass_not_specified = 18 specify_owner_unique = 19 loc_priv_objs_no_repair = 20 gtadir_not_reached = 21 object_locked_for_order = 22 change_of_class_not_allowed = 23 no_change_from_sap_to_tmp = 24 others = 25.
LVC_FIELDCATALOG_MERGE call function 'LVC_FIELDCATALOG_MERGE' exporting i_structure_name = 'STPSQL_TEST_UI_S' changing ct_fieldcat = rt_fieldcat exceptions others = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSTPSQL_TEST_STATEMENT_LCL_IMP - Include RSTPSQL_TEST_STATEMENT_LCL_IMP RSTPSQL_TEST_STATEMENT_LCL_DEF - Include RSTPSQL_TEST_STATEMENT_LCL_DEF RSTPSQL_TEST_STATEMENT - Program TEST_TPSQL_STATEMENT RSTPSQL_TEST_STATEMENT - Program TEST_TPSQL_STATEMENT RSTPRVOR - Program Template for Print Table/Views (generation template) RSTPPERF - Transport Tools: Performance of tp Interface