SAP Reports / Programs | Basis Components | ABAP Runtime Environment | Syntax, Compiler, Runtime(BC-ABA-LA) SAP BC

RSTPDA_SCRIPT_DUPREC_1 SAP ABAP INCLUDE - Debugger Script: Analysis of Runtime Error SAPSQL_ARRAY_INSERT_DUPREC







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


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 RSTPDA_SCRIPT_DUPREC_1. "Basic submit
SUBMIT RSTPDA_SCRIPT_DUPREC_1 AND RETURN. "Return to original report after report execution complete
SUBMIT RSTPDA_SCRIPT_DUPREC_1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RSTPDA_SCRIPT_DUPREC_1

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:

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.



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