Skip to Content
0
Former Member
Apr 27, 2009 at 11:13 AM

length error occured in IMPORT statement

624 Views

Hello everyone,

i hv one requirment in PO print(ME23N). in po print asset no nt display without changing other format.

so that i first copy both smartform and driver program, in that i made certain changes such that i declare the patameter p_ebeln and i comment to data statement of p_ebeln & p_ebeln = nest-objky.

then i join asset no (anek-anln1) with the help of inner join. then in smartform i gave condition that if bsart = 'ZCAP'

wa_final-anln1 = gv_anln1.

endif.

i import gv_anln1 in smartform and exported in deriver program.

both are synthetically currect but when i gave print preview dump is occured.

length error occured in IMPORT statement

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was

not caught in

procedure "%GLOBAL_INIT" "(FORM)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

During import the system discovered that the target object has

a different length than the object to be imported.

what i do?