Skip to Content
0
Former Member
Jun 08, 2007 at 09:49 PM

run time error with select statement

14 Views

BEGIN OF t_ve,

AUFNR type zownerpost-AUFNR,

zzpool type zownerpost-zzpool,

ZZOWNER type zownerpost-ZZOWNER,

zzvalid_fr type zownerpost-zzvalid_fr,

zzvalid_to type zownerpost-zzvalid_to,

starttot type p decimals 2,

endtot type p decimals 2,

variation type p decimals 2,

discrepancy(10) type c,

END OF t_ve.

data : i_ve1 type standard table of t_ve.

data : wa_i_ve1 type t_ve.

loop at itab_s into wa_itab_s.

SELECT zzpool zzvalid_fr AUFNR zzOWNER FROM zownerpost

INTO table i_ve1

FOR ALL ENTRIES IN Itab_s

WHERE

zzPOOL EQ Itab_s-ZZPOOL

AND zzVALID_FR EQ Itab_s-ZZVALID_FR.

endloop.

it got activated, but when i tried to execute it,

it was giving the following error:

The following reason caused a runtime error:

In a select access, the read file could not be placed in the target field.

But as the above code i do not see any discrepancy.

can some one help.