Skip to Content

UDT is defined but does not exist


I am planing to upgrade SAP Business One from 9.1 to 9.2 but I am getting an error in the preupgrade test for one of the databases.

Test result: Not completed due to SBOErr -2004 in function CDagCheckUTBRecordInconsistence::DoCheck(), error text: Open user defined table @BCENOTE failed. # #

I ran the scripts in 1076082 - UDT & UDF related issues

All the scripts returned no result except

1) UDT is defined but does not exist

***
select TableName from OUTB
where not exists (
select 1 from sysobjects where xtype='U' and [name]='@'+TableName
)
***

returned

TableName
BCENOTE

I am sure that there is no query performed directly on the database except SELECT queries and the User-Defined Tables were removed from the User-Defined Tables Setup form.

I detected the problem as mentioned but what is the solution?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Sep 08, 2016 at 01:50 PM

    Hi,

    you can try this in a Testdatabase.

    Create the tabele with column Code and Name.

    Ahter this you can delete the UTD in SAP B1 under Tools -> customizing tools


    Kind regards


    Marco


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2016 at 02:24 PM

    Hi

    check through MS SQL Management Studio if the [@BCENOTE] exists, and if it is true drop it.

    Go to Tools --> Customizing tools and create a new table with the same name, and add two fields U_ID and U_String.

    U_ID is int, and U_String is nvarchar(32).

    First do it in a test enviroment.

    Kind regards

    Agustín Marcos Cividanes

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2016 at 06:35 PM

    Hi,

    yes you can create the table @BCNOTE with the sql Management Studio and after this you can elete this table from sapb1 ->Tools -> customizing tools

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2016 at 09:22 PM

    BCENOTE table is created by Copy Express - SAP add on

    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.