‎2006 Jul 26 7:53 AM
hello all,
i have to insert data to oracle, and my code look ok but there is a dump.
i did the following things:
begin of it_report occurs 0,
aufnr(8) type c,
objkey1(12) type c,
endof it_report.
loop at it_report.
exec sql.
insert into oracle_table
wo,
pck_change
values (
:it_report-aufnr,
:it_report-objkey1 ).
commit work.
endexec.
endloop.
is anyone know what is the problem?
thanks in advanced'
dana.
‎2006 Jul 26 8:48 AM
is anyone know how can i resolve this problem?
thanks in advanced.
dana
‎2006 Jul 26 9:03 AM
‎2006 Jul 26 9:28 AM
The error i got:
"the error occured in the database connection "DEFAULT".
database error text: missing values keyword#"
Triggering SQL statement:"insert into oracle_table,cancelled values( ?,? ) commit work.
thanks in advanced.
dana.
‎2006 Jul 30 6:32 AM
‎2006 Jul 26 8:55 AM
Hi ,
The problem may be because of "END OF" statement in it-report structure declaration. You have written it as endof. Can you just try it once.
Give some more information on type of error by checking the dump.
Regards,
Amit.
Message was edited by: amit bhadauria
Message was edited by: amit bhadauria
Message was edited by: amit bhadauria
‎2006 Jul 26 8:59 AM
Hi Dana,
Could you explain what the Runtime Error Explains( Error Analysis in Dump). This would help to figure out the Problem.
Thanks and Regards,
Prashanth