francishsu
19th December 2001, 19:25
Does anyone know any Baan sessions/libraries/functions that are undocumented or hidden, yet useful for Baan developers?
My favorite:
ttiex4100m000 Maintain Patch Codes
Create those .dmp patch files that Baan used to deliver solutions before PMC
better in most cases vs. using ttiex1280m000, in my opinion
make sure to set the environment variable CUNO_SRC=1 or else source code is not included in the patch
patvdv
20th December 2001, 11:11
Let's make the topic broader and cover any areas where you might know some 'secret' functionalities. For admins, sone useful object reside in the $BSE/tools subdirectories:
e.g.:
ottstpsessinfo: display session info, runtime objects etc (Baan Support rely heavily on this)
ottstperrlog: a little viewer program to scroll through all logs in $BSE/log
But there is much more....
victor_cleto
20th December 2001, 14:53
Baan usually asks straight away for a sessionfo of a session to see the version of your objects.
Now, ottstpsessinfo only gives you the object used by the session, so it's limited.
But you can get information on all kind of objects (compiled session, compiled reports and libraries) if you use the command line:
bic_info6.1 (bic_info.exe on NT): to get full sessinfo on all object types
Have look at the options, this is the program that ottstpsessinfo calls!
pjohns
20th December 2001, 17:04
How would you run an object such as ottstperrlog? :confused:
patvdv
20th December 2001, 17:10
Pj,
From your BW client:
File > Run Program
and enter following details:
francishsu
20th December 2001, 17:11
Run the session ttstperrlog, which will execute the ottstperrlog object code
Stephen Ruger
10th January 2002, 16:46
There are also the "rebuild" sessions. Although the Rebuilds of Customer and Supplier order balances (tccom4213 and 4223) are now on the menu, there are others hidden around that are used to clean up the mess that Baan sometimes leaves behind itself.
Stephen Ruger
Lodestar Consulting
sr@mylodestar.com
pshipley
10th January 2002, 18:16
How about
ttstpisotable
pshipley
10th January 2002, 18:32
and
ttaadconv - Conversion to Word Processor
ttdskcs - Colour selector
ttdskfs - Font selector
ttstpcalc - The Calculator
ttstpcalandar - The Calandar
ttstpcreatdll - Turn a session into a dll
ttstpshell - Runs a shell
MariaC
11th January 2002, 08:45
Hi Phil,
What is ttstpisotable used for?
pshipley
11th January 2002, 11:13
ttstpisotable is the ISO-8859 character set which tells you the decimal, octal and hex values of the character set. It can be quite useful when programming.
pshipley
11th January 2002, 11:34
Just remembered some other 'features' from within a Baan session.
1. Press <ctrl><shift> 6 - gives full XML data on the session and includes an amazing array of information.
2. Press <ctrl><shift> 4 - this gives you a full breakdown of the SQL the session has executed to display the current data
3. Press <ctrl><shift> - (hyphen) - this shows the current porting set
I believe that this only works on porting set 7.1 or higher.
MariaC
11th January 2002, 13:05
is this in baan or in unix?
francishsu
12th January 2002, 00:50
Set the environment variable BSE_LANG=<language code> before/when logging into Baan (i.e. or in your BW configuration). This overrides the default language set for your user.
pit0815
6th February 2002, 19:27
ttstpbshdebug - here you can turn on some tracing options
(only available in Baan5, also available via option dialog, debug bshell)
Ravenscross
11th February 2002, 13:11
What a totally cool subject.... I'm gonna jot some of these down.
Make you wonder what else is hidden away in there somewhere
joepte
7th March 2006, 18:32
I know this is an old thread but ... what does ttdskcs change? I'd really like to change the colour of the window of the session - will it help with that?
Thanks
metropoj
9th March 2006, 17:27
Good question, I tried it, and the Font change one, seem to do nothing :( ... I am sure it's my lack of Baan knowledge thats hindering this one ....
I printed this whole thread off ...:D
günther
10th March 2006, 07:53
what does ttdskcs change?
AFAIK it can be used for colour select but it does not change anything.
Evert-Jan Bosch
14th March 2006, 16:14
Trace on dal.error.line and dal.error.file in debugger mode.
Steps
1. type 't dal.error.line' in the debug window.
2. type 't dal.error.file' in the debug window.
3. Press Continue button
4. Debugger stops when an error message is set via dal.set.error.message(...).
5. Debugger reports the script (dal.error.file) and the line (dal.error.line) where the message is set.
This debugging possibility is available in ERP LN 6.1 as far as I know.
vmallien
20th March 2006, 15:32
Try
ttcon61export
ttcon61import
Bye, Volker
Hutje33
7th April 2006, 13:02
another one which is not in the menu, is session tdinv0252 Check Stock Data.
Nice about this one is, that it offers a "just print-no update" option before actually updating the records.
I also saw some changes in tdinv0250 SP18/19: instead of running the full range it can be done by item I believe.
metropoj
7th April 2006, 14:59
While working with Baan on a couple issues, they used different command line syntax like - setdbslog or something like that. ANy one have any useful debugging syntax >? I've never seen it documented anywhere ...:(
Evert-Jan Bosch
7th April 2006, 15:04
You can find it in:
http://www.baanboard.com/programmers_manual_baanerp_help_functions_database_handling_sql_trace_options
:)
metropoj
7th April 2006, 15:05
Niiiiiicccccceeeeeeeee, thx !!:D
Danny Leolux
4th May 2006, 16:16
another one which is not in the menu, is session tdinv0252 Check Stock Data.
Nice about this one is, that it offers a "just print-no update" option before actually updating the records.
I also saw some changes in tdinv0250 SP18/19: instead of running the full range it can be done by item I believe.
I think you mean tdcor0250m000. You can rebuild plannend inventory transactions (tdinv150 and tipcs500) and limit you selection on itemlevel.
You can also do a trial run first. I find this a much more useful session than is predicessor tdinv0250m000. This has been available sinds SP10 or even longer !?!
mark_h
4th May 2006, 17:13
Nope there is actually a session called tdinv0252m000 Check Inventory Data(at least on our release of 4c4). Which I just learned about - will have to play with this session to see if it will fix some of our table mismatches.
metbaan
4th May 2006, 18:20
I have a couple of ones which are more utility than secret. I will post the code for these later today.
a) otcmcscalendar - Utility which shows Calendar dates and Baan date value on one screen (avoids those hassles with calculating dates)
b) otcmcstime - Utility that converts time in secs since midnight to HH:MM:SS.
I don't know if these are already around, but thought i'd share.
Thanks.
Markus Schmitz
5th May 2006, 10:37
above two must be in LN. They are not present in my BaanIV system!
Danny Leolux
8th May 2006, 09:14
Nope there is actually a session called tdinv0252m000 Check Inventory Data(at least on our release of 4c4). Which I just learned about - will have to play with this session to see if it will fix some of our table mismatches.
I checked them both out. Both sessions exist and cannot be found in the standard menu. tdcor0252m000 corrects actual stock values (stoc, blck) for standard and PCS items. tdcor0250m000 corrects planned stock transactions (standard and PCS).
günther
25th April 2007, 17:16
Whenever your transfer a new session from a test environment to a live environment you have to run "Create Runtime Data Dictionary" - or you simply go to "Maintains Sessions" and change the session status twice (eg. finished->testing, save; then testing->finished, save) and you can run the session much faster ...
Marioth
30th April 2007, 18:15
I have a couple of ones which are more utility than secret. I will post the code for these later today.
a) otcmcscalendar - Utility which shows Calendar dates and Baan date value on one screen (avoids those hassles with calculating dates)
b) otcmcstime - Utility that converts time in secs since midnight to HH:MM:SS.
I don't know if these are already around, but thought i'd share.
Thanks.
Checked both session in BaaN IV and LN and both are not available.
mark_h
30th April 2007, 18:29
I believe those are user defined utilities. You might check the code and utilities forum.
Marioth
1st May 2007, 14:36
I believe those are user defined utilities. You might check the code and utilities forum.
I checked it but there is nothing related to those sessions.
mark_h
3rd May 2007, 00:26
Well it looks like the poster never did post the code to those utilities. Or at least I could not find it. I know other examples of timing and calendar stuff have been posted - not sure of the forums.
Francesco
27th June 2007, 12:22
Maybe one of the best kept secrets among baan techies and probably not very legal:
Have you ever noticed that sometimes service pack installations add new source code to your environment?
Have you ever wondered why and when?
Baan Service packs traditionally come with a full load of sources. My guess is that this is to accomodate customers who actually bought the source.
The criteria for source being installed during SP installation is whether or not the source already exists on your system.
Therefore, if you create empty p-files for all your script objects, you will automagically get sources for all the updated scripts in a service pack.
As I mentioned before, this is probably not a legal way of obtaining sources so use this trick at your own risk. If anybody asks....you didn't hear it from me!
en@frrom
27th June 2007, 13:20
Francesco,
I am surprised you as a moderator have the guts to mention this trick black on white on the board...
This indeed is the way it works by the way...
Francesco
27th June 2007, 14:59
Open Source RULES!!!
Seriously, even though Infor seems to have halted the witch hunt for illegal sources started by SSA, I will again make the disclaimer that this is NOT a legal method of obtaining baan source code.
Unveiling the method is however well within legal and ethical boundaries.
After all, people who are concerned about having illegal sources can also use this method to avoid unwanted installation of baan source.
There are many well-known hacks involving baan. We (admins) don't like to mention them because then we have to deal with the consequences and besides we like to use them ourselves on occasion.
But maybe it is time that things get fixed instead of swept under the rug.
And finally, moderators are not above moderation :D
pvenutti
25th September 2007, 03:27
AHAh! Francesco. I remember finding that on year 2001 winter... is it still working?
Beware of ending up with some empty p* file ... blocking you compile runs!
P
Francesco
28th September 2007, 12:55
I was installing some SP's the other day and I found this "feature" more or less described in the documentation.
And yes, it's still working. Of course you cannot compile code that doesn't exist ;)
suhas-mahajan
14th November 2007, 11:26
Hi,
Dont know this is "secret" or not!
Anyway, you can disable effect of session_timeout mechanism by keeping open (running) any print session e.g. tccom0401m000 (Print Employees).
Dont inform to your end users. :)
regards,
-Suhas
kaukul
14th November 2007, 12:52
Dont inform to your end users. :)
We came to know this bug from our end-users only!! We had to specially design code using bshcmd utility to kill such users
baanbgm
26th June 2008, 21:54
ttstpbshdebug - here you can turn on some tracing options
(only available in Baan5, also available via option dialog, debug bshell)
How I can get manual or help about " ttstp* ".
I need get profile for the time process on an order is very slow, the ttstpbshdebug can help me ?
preethi
28th June 2010, 10:57
and
ttaadconv - Conversion to Word Processor
ttdskcs - Colour selector
ttdskfs - Font selector
ttstpcalc - The Calculator
ttstpcalandar - The Calandar
ttstpcreatdll - Turn a session into a dll
ttstpshell - Runs a shell
hi,
can these be run through any login or are they specific for super user?
i opened the session ttdskcs and changed the RGB combination but i couldn't notice any changes. i opened from bsp login.
thanking you in advance
JAlmeida
5th October 2012, 17:34
In Ln <ctrl><shift> 6 doesn't work anymore, use <ctrl><shift> 7