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

Update Command Problem

$
0
0

Hello

 

Well, recently I had to add two new columns to an already created table in my xMII DB (MS Sql Server). After that I had to modify a few of the querys to show the new info available. I'm facing a weird issue with the one used to update the records of said table. This is the query I have in xMII defined as a command. (table and columns name had been change for security issues):

 

UPDATE       Table_Name
SET      Table_Name.paramA  = '[Param.1]',     Table_Name.paramB = '[Param.2]',     Table_Name.paramC = '[Param.3]'
WHERE      Table_Name.paramID  = '[Param.4]'

 

When I call this query from the CRUD page, it executes successfully but when I reload the grid data only one of the parameters is updated. This parameter is the one that was originally meant to be updated before the two new columns where introduced. If I hardcode the values in the query, the table values are updated so I know the query is OK. I'm really confused with this behavior and would appreciate any insides you could have on this.

 

Regards

Ximena


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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