REETA1967
20th January 2003, 19:04
hi,

while creating table error is displaying "no table defination present" what could be the problem

NPRao
20th January 2003, 20:02
Reeta,

You need to execute - Convert to Runtime Data Dictionary (ttadv5215m000) and Create Runtime Data Dictionary (ttadv5210m000), resolve any errors, and then you will have the DD files for the tables that you can create the tables.

Please refer to the Tools Adminstration and Development Manuals for the standard procedures.

REETA1967
21st January 2003, 04:46
NPRao,
i have converted data defination to
Runtime Data Dictionary (ttadv5215m000) and Create Runtime Data Dictionary . At this point it was not giving any error but while
creating the table , it is displaying " no table defination present"

Bye

NPRao
21st January 2003, 05:26
Reeta,

I think the DD files were not created. There is no particular document for the session ttadv5215m000. Try to execute the session, ttadv5210m000 for the package combination.

Please go through the documentation do remember the various options which can change the results of the process.

Here is some info on the ttadv5215m000 from BaaN Support from a case I logged -

Checking Reconfigure Tables, will compare and reconfigure tables if a new table def/domain is present. If you unchecked this option, then the .new file would be created but nothing would get reconfigured. As for the Runtime Directories option, what it does is create new runtime directories if they do not already exist, like if there is a new module zzz, it would create the Runtime directory tczzz if checked and wouldn't if it wasn't.

Also, on the sessions themselves:
CONVERT TO RUNTIME
To convert the changed software components to the runtime data dictionary. This is done by a range of package combinations/packages.

HOW TO USE THE SESSION:
Enter the ranges of package combinations and packages, and indicate which components must be converted.

Only the table definitons will be created, not the tables itself. To create tables, run Create Tables ttaad4230m000)

IMPORTANT:
If Reconfigure Tables = yes, the system will reconfigure ALL tables (the range of tables is not taken into account!) which are changed. This will be done for the companies linked to the specified range of package combinations. BE SURE that everyone has left the bshell, to avoid problems with locked tables. If reconfiguring tables is not successful (e.g. dure to lock errors), it is possible to stop the process by answering "No" at the question "Error during file configuration; try again?" Later on, you can restart reconfiguring the tables, by running this program again.
**********
Be aware that after a reconfig all ref counters have been set to 0. This means that ALWAYS a refint has to be run on all tables.
**********
CREATE RUNTIME
To create a runtime data dictionary containing software components by package combination. This session is automatically called after you have created a new package combination. It convers all specified components to the runtime dictionary, including those that have not been chagned. The following software components will be converted to runtime dictionary:

-table definitions
-domains
-enum descriptions
-sessions
The session will also dump the user data of users withing the specified packge combination and the fd6.1<package combination> with redirctions for software components.

The runtime definitions of tables, domains and enum descriptions are stored in "d"-files in the directory as defined in Maintain Package Combinations ttaad1120m000. The runtime definitions of sessions are stored in table ttadv999.

To create runtime forms and menus you must use the sessions ttadv5214m000.

OmeLuuk
21st January 2003, 13:27
Maybe the problem of not making the tabledefs is because a domain is not there.

Another option is to first clear the srddtab file (do not load any components into shared memory at Baan start with rc.start), and then try again.

g_Jericho
22nd January 2003, 14:33
Are you in the Right Package combination.
u might have the table defination in PC, whereas u are trying to create the tables in some company which is not attached to that PC.

REETA1967
23rd January 2003, 04:55
thanxs for all the above replies.

Now i am able to create tables after taking the shut down of the server.
i would like know the following things:
1. what is the diff betn . create Data dictionary & convert data dictionary.
2. Why session is required to convet data dictionary.
3. what is the meaning of (#include itccom0010. )

bye

morpheus
23rd January 2003, 08:40
1. what is the diff betn . create Data dictionary & convert data dictionary.

If the software component is appearing in the system for the first time, use CREATE. If the software component already exists, and you have made some modifications, use CONVERT.

2. Why session is required to convet data dictionary.

If the software component has been changed, then to make that change effective in RTDD, this session is used.

3. what is the meaning of (#include itccom0010. )

This command "includes" a function file "itccom0010" in your script, so that the script can use the functions of this file.

Hope this helps.