cancel
Showing results for 
Search instead for 
Did you mean: 

ORDR.CardCode Field cannot be updated (ODBC -1029)

Former Member
0 Kudos

On update of order via DI the following error occurs:

[ ORDR.CardCode ] : 'Field cannot be updated (ODBC -1029)'

It turns out that in ORDR the CardCode value is 'ssvcu', but in OCRD it is 'SSVCU'. Apparently the DI replaces the lowercase version with the uppercase version when the document is loaded, but fails on update because a rule is in place to not allow change of BP on an existing order. The order was created by copying from on older order, however the does not validate the fields before adding the document, leaving a quandry. Since the database is not case sensitive, the DI should compare the upshifted versions of the text in determining whether a change has been made.

Is the only recourse to update ODRD (and ADOC) with the correct value using direct SQL?

Accepted Solutions (1)

Accepted Solutions (1)

former_member201110
Active Contributor
0 Kudos

Hi Dave,

I'd recommend you speak to SAP support before running direct SQL updates. If you update your database directly then strictly speaking you are in breach of SAP's support agreement and you could lose your support. If you speak to SAP support then they can run scripts on your database to correct the problem (assuming that this is the best option). The result would be the same but at least you'd be confident that it was 100% legit.

Alternatively, cancel any open sales orders and import them again with the correct CardCode value.

Kind Regards,

Owen

Answers (1)

Answers (1)

Former Member
0 Kudos

The problem originates in the duplicate sales order task. When the user enters the business partner code in lower case they are asked if they want to update all rows. Any response here changes the focus of the curser to the Add button. This leaves the business partner code in lower case. If the user does not tab out of the field, but just presses Enter, the order is added with incorrect case. Form that point forward, the order cannot be updated through the DI.

Edited by: Rui Pereira on Dec 23, 2008 4:18 PM