RSTPDA_SCRIPT_DUPREC_1 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). It is used for Script to analyze the runtime error SAPSQL_ARRAY_INSERT_DUPREC - Part 1...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 RSTPDA_SCRIPT_DUPREC_1 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: Debugger Script: Analysis of Runtime Error SAPSQL_ARRAY_INSERT_DUPREC
Text Symbol: ABC = Identical Rows
Text Symbol: ABD = Search for Duplicate Entries in the Database Table
Text Symbol: ABE = Search for Duplicate Entries in the Database Table Using the Secondary Key
Text Symbol: ABG = Yes
Text Symbol: ABT = Duplicate Entries Were Found. Should the Search Be Continued?
Text Symbol: ABW = No
Text Symbol: TPI = Search for Duplicate Entries in the Internal Table
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TPDA_SCRIPT_POPUP_GET_VALUES CALL FUNCTION 'TPDA_SCRIPT_POPUP_GET_VALUES' EXPORTING p_popup_type = 1 IMPORTING okcode = okcode p_detail_str = l_detail_str CHANGING ref_data = ref_data.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = dbtab_name TABLES dd03p_tab = l_dd03p_tab dd12v_tab = l_dd12v_tab dd17v_tab = l_dd17v_tab EXCEPTIONS illegal_input = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Suche nach duplikativen Einträgen innerhalb der internen Tabelle'(tpi).
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 78 text = 'Suche nach duplikativen Einträgen in der Datenbanktabelle'(abd).
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 85 text = 'Suche nach duplikativen Einträgen in der Datenbanktabelle mittels Sekundär-Schlüssel'(abe).
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Es wurden duplikative Eintraege gefunden. Soll nach weiteren gesucht werden?'(abt)
TPDA_SCRIPT_POPUP_DISPLAY_DUP CALL FUNCTION 'TPDA_SCRIPT_POPUP_DISPLAY_DUP' EXPORTING p_index = l_index p_type = l_type p_source_tab = l_source_itab p_line = l_line.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSTPDA_SCRIPT_DUPREC_1 - Debugger Script: Analysis of Runtime Error SAPSQL_ARRAY_INSERT_DUPREC RSTPDA_SCRIPT_DUPREC_1 - Debugger Script: Analysis of Runtime Error SAPSQL_ARRAY_INSERT_DUPREC RSTPDA_SCRIPT_DATASTREAM - Debugger Script: Data Flow Analysis RSTPDA_SCRIPT_DATASTREAM - Debugger Script: Data Flow Analysis RSTPDA_SCRIPT_CONTROL_FLOW_TRC - Debugger Script: Trace of Control Flow of an Application RSTPDA_SCRIPT_CONTROL_FLOW_TRC - Debugger Script: Trace of Control Flow of an Application