Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dump when Searching

Former Member
0 Kudos

everytime i use search in this certain program dump will always occur.

The dump says:

Error when atempting to IMPORT object "P_STRUCTURE_TEXTS"

and directed in this line:

IMPORT p_structure_texts p_child_structures

FROM DATABASE indx_hsrch(19) ID p_structure_id.

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

Try to refresh the text index, use the refresh button on the search dialog box.

8 REPLIES 8

0 Kudos

Hi,

Is it giving an Exception? Also check possible exceptions for IMPORT in the documentation of the keyword.

Regards,

Sesh

0 Kudos

here is another part of the Run time Error:

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_IMPORT_

not caught in

procedure "READ_TEXTS_FROM_INDX" "(FORM)", nor was it pr

clause.

Since the caller of the procedure could not have anticip

exception would occur, the current program is terminated

The reason for the exception is:

When importing the object "P_STRUCTURE_TEXTS", the compo

had a different length from the corresponding component

target object in the program "SAPLSHI10".

The length is 75 in the dataset, but 30 in the program.

0 Kudos

Hi,

From the message it appears that the TYPE or the Length of the field P_STRUCTURE_TEXTS is different from the one that is there in the database cluster from which you are importing.

Can you paste the full name of the exception?

The length in the dataset is 70 where as it is 30 in the program.. looks like the dataset is modified and due to this program is not dumping. If its a standard program you should report this to SAP, but make sure there no custom modifications.

Regards,

Sesh

former_member194669
Active Contributor
0 Kudos

Try to refresh the text index, use the refresh button on the search dialog box.

0 Kudos

thanks. it's now working ^^

0 Kudos

Hello everybody

Simply you can solve this problem by do refresh on the background (f7) and wait until finished successfully.

0 Kudos

Perfekt answer! I refreshed the Index in the Background.

Thank you very much !

Former Member
0 Kudos

Hi Audemar

try below

IMPORT p_structure_texts = p_structure_texts  
     p_child_structures  = p_child_structures
FROM DATABASE indx_hsrch(19) ID p_structure_id.

.

hope it works

Thanks!