Skip to Content
0
Jun 03, 2013 at 01:14 AM

Runtime Error in SM36 IMPORT_OBJECT_DESTROYED

100 Views

Hello,

When i call up Tx : SM36 and choose Standard Jobs a runtime error is occurring " IMPORT_OBJECT_DESTROYED".

The short dump mentions as :

Short text The IMPORT dataset has been destroyed.

What happened? Error in the ABAP Application Program The current ABAP program "SAPLSEU_COMPONENT" had to be terminated because it has come across a statement that unfortunately cannot be executed.

Error analysis Unable to import the dataset because it has an unexpected format. It was destroyed as a result of direct manipulation of the IMPORT/EXPORT data by other means (for instance, explicit deletion of parts of the dataset using SQL instead of DELETE FROM DATABASE). In this case, the records in the dataset do not appear in the expected order, which is 0,1,2,3... (sequence counter in field SRTF2). The next record expected here is number 1, but number 0 appears.

Trigger Location of Runtime Error Program SAPLSEU_COMPONENT Include LSEU_COMPONENTU01 Row 41 Module type (FUNCTION) Module Name RS_COMPONENT_VIEW

Source Code Extract Line SourceCde 11 *" TABLES 12 *" NODETAB STRUCTURE SNODETEXT 13 *"---------------------------------------------------------------------- 14 15 DATA: subrc LIKE sy-subrc. 16 DATA: l_delete TYPE i. 17 DATA: date LIKE sy-datum. 18 19 CLEAR sy-subrc. 20 date = sy-datum. 21 REFRESH nodetab. CLEAR nodetab. 22 G_IGNORE_SFW_SWITCHES = IGNORE_SFW_SWITCHES. 23 24 if REFRESH ne SPACE. 25 G_REFRESH_ALL = REFRESH_ALL. 26 endif. 27 28 IF object_type = 'FUNC'. 29 object_type = 'FUGR'. 30 ENDIF. 31 IF object_type = space. 32 object_type = 'APPL'. 33 ENDIF. 34 apid-langu = language. 35 apid-type = object_type. 36 37 IF refresh IS INITIAL. 38 * get table "nodetab" of all object lists 39 * of the desired type "object_type": 40 CATCH SYSTEM-EXCEPTIONS conne_import_wrong_comp_leng = 1. "note 1553389 >>>>> IMPORT date nodetab FROM DATABASE dwtree(ap) ID apid 42 ACCEPTING PADDING. 43 ENDCATCH. 44 subrc = sy-subrc. 45 ENDIF. 46 47 IF subrc NE 0 OR refresh = 'X'. 48 IF object_type = 'APPL' OR 49 object_type = 'DEVC'. 50 CASE object_type. 51 WHEN 'APPL'. 52 PERFORM get_components TABLES nodetab. 53 WHEN 'DEVC'. 54 PERFORM get_devc_view TABLES nodetab. 55 ENDCASE. 56 IF without_tree_setting IS INITIAL. 57 CALL FUNCTION 'RS_TREE_CONSTRUCT' 58 TABLES 59 nodetab = nodetab 60 EXCEPTIONS

I would appreciatte any help from you guys!

Thanks in advance.

Thales.