Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

SQL-Query on Oracle not working after upgrade from 12 to 14

$
0
0

Hi all,

we have a sql-query (command type) which worked perferctly under 12.1 to 11.2.0.2.0 and now with 14.0 to Oracle 11.2.0.3.0 the same query produces two errors:

"error in command" and "ORA-01722: invalid number"

 

Strange Thing:

when I copy the lines from the MII-Log and execute them in SQL-Developer, it just says "1 record inserted":

when I execute the SQL-Query in MII with the test-button, I get "java.sql.SQLSyntaxErrorException: ORA-00936: missing expression "

 

Error in command: insert into PDC_OPERATION (

ORDER_NR, ORDER_ID, OP_SEQ_NUM, CONF_NR, OP_NR,
CONTROL_KEY, PROD_PLANT, OP_DESCR, SEGTYP, SEG,
ACTIVITY_TYPE_1, LONG_TEXT, UNIT, UNIT_ISO, QUANTITY,
SCRAP, EARL_SCHED_START_DATE_EXEC, EARL_SCHED_START_DATE_PROC, EARL_SCHED_START_DATE_TEARD,
EARL_SCHED_FIN_DATE_EXEC, LATE_SCHED_START_DATE_EXEC, LATE_SCHED_START_DATE_PROC, LATE_SCHED_START_DATE_TEARD, LATE_SCHED_FIN_DATE_EXEC,
WORK_CENTER, WORK_CENTER_TEXT, DATE_CREATED,  DATE_CHANGED, SETUP_TIME, SETUP_TIME_UNIT, PROC_TIME, PROC_TIME_UNIT, SHORT_TEXT, PRODUCTION_AREA)

values (
'228138', 26763, 000000, 0000475389, '0010',
'ZP01', '0010', '', '', 0,
'FST', '
MIT SICHTKONTROLLE ABROLLEN, BEIDE SEITEN VOR UND FERTIGSCHNEIDEN,
ABFALL VERSCHROTTEN', 'M', 'MTR', '11,370', '0',
to_date('2014-03-24T16:14:38','YYYY-MM-DD"T"HH24:MI:SS'), to_date('2014-03-24T18:32:08','YYYY-MM-DD"T"HH24:MI:SS'), to_date('2014-03-24T18:32:08','YYYY-MM-DD"T"HH24:MI:SS'), to_date('2014-03-24T18:32:08','YYYY-MM-DD"T"HH24:MI:SS'), to_date('2014-03-24T16:14:38','YYYY-MM-DD"T"HH24:MI:SS'), to_date('2014-03-24T18:32:08','YYYY-MM-DD"T"HH24:MI:SS'), to_date('2014-03-24T18:32:08','YYYY-MM-DD"T"HH24:MI:SS'), to_date('2014-03-24T18:32:08','YYYY-MM-DD"T"HH24:MI:SS'), 'AL', 'Anlegelinie', SYSDATE, SYSDATE, '2,0',
'H','0,0','H','MIT SICHTKONTROLLE ABROLLEN, BEIDE SEITE','FB4')



All other sql-queries work, what is going on here?


Any ideas out there?

Any help highly appreciated!


regards,

Reinhard


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>