schweizer
25th March 2010, 11:22
Hi Folks,
I have noticed a strange behavior of domain tcitem and tiitm001.item field.
The alignment of the domain ist left but in the form it shows only to the right.
When I look in the table ttaad4100 when the alignment is left.
Actually, everywhere I look the domain alignment is to the left, only in the form it is to the right.
On a different server the same session it shows to the left, as it should be.
Can somebody help me to solve this issue?
Thanks in advance
Schweizer
günther
25th March 2010, 13:00
I guess that you should check the form; maybe you simply have to dump it. Also you could use ottstpsessinfo to check differences on the two servers, and if that doesn't help have a look at the file system at $BSE/application/ti<your vrc>/ftiitm<language>/*.
Günther
schweizer
25th March 2010, 15:41
Thanks Günther,
I have checked all these things.
The strange thing is, even when I create a new session based on tiitm001, there I can see the proper allignment in the table, the allignment on the form is still to the right (wrong).
RG. Schweizer
günther
25th March 2010, 15:43
Could you try to remove that field from the form (and dump it) and then add it again (and dump it)? Just to test ...
Günther
schweizer
25th March 2010, 16:04
Thanks Günther,
the same result.
It works everythere, in different VRC's but not in this.
I copied the forms from different VRC's , but the same. ?? (es spukt)
Rg. Schweizer
günther
25th March 2010, 16:07
Btw are we talking about c4 or LN?
Günther
schweizer
25th March 2010, 16:13
Yes, it is c4.
Another strange thing is, when set the debugger and I reach 'after read' section the allignment is still left ( proper) but in the next step it shows the form, when it switches to the right, just before form display.
günther
25th March 2010, 16:24
I've just set my tiitm0101m000 into debugger and ran a "t tiitm001.item" to see if it chnages like yours, but after.read is the only chnage.
Could you add a new form to your session? It sould only display tiitm001.item. If you then select that form it could be different (if there is something wrong with the form).
And last guess: Your data within the db is lieft aligned? Sure?
Günther
schweizer
25th March 2010, 16:29
Yes Günther, it is left alligned, I can see it in the table.
The procedure with the new form I have allready down.
Can I see the domain properties on the server, in the dict. directory?
günther
25th March 2010, 16:33
Sure. In the directory $BSE/dict/dd<your package combination>/dtc.pd therse is a file dtc.pd. Have a look at it, here's my excerpt:
:NAME:tcitem
:TYPE:s
:CLEN:16
:CONV:u
:ADJU:l
:PLEN:16
D
I.e. tcitem is a string 16 toupper left-aligned.
Günther
schweizer
25th March 2010, 16:41
Yes, this shows still r like right.
So I have to figure out why it is not changed.
By the way, there are two additional files, dtc.pd.new and dtc.pd.old
The old one we can forget, but the dtc.pd.new, is it new??
Again, thank you very mutch for your help and your time, I hope now I will make it.
RG. Jimbob
günther
25th March 2010, 16:49
I think that the .new should only exist during a create runtine or a convert to runtime. I don't have any on my system right now. But I have lots of .old files.
Btw. If you make manual changes be sure that it fits to the domain definitions within baan -- and don't forget to re-logon!
Günther