Skip to Content
author's profile photo Former Member
Former Member

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

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 04, 2008 at 09:57 PM

    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,


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2008 at 05:49 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.