halvorn
20th June 2002, 10:47
Hi,

I want make some changes in a special menu, but it is difficult to find out what the menu is named. Is it a way to see the mapping between a session or form and which menu that is used as the special menu ?

vbr. Halvor

mark_h
20th June 2002, 15:30
You could use the ttadv2410m000 session to see which menus the session is used on.

Hope this helps.

Mark

r_nagu
20th June 2002, 16:13
The menus which appear on the special option of a session are linked to that session's form in the choice field. If you edit the form and double click on the choice field, you can see which menu is attached.

Thanks,
NS

Juergen
20th June 2002, 17:03
NS,

yes thats right. But what if the menu is called from the program
with zoom.to(...), like in tdsls4102s000 (Maintain Sales Order Lines)?


Halvorn,

If you use BW you only see the menu description and not the
menu name if you zoom to a menu from the special field.

If you work with BAAN IV use the BA client. In BA the menu name
is shown in the upper left side.

Juergen

halvorn
24th June 2002, 10:46
Thanks for helpful info,

I know now that I can display/edit the form and look at the Choice field.
I suppose that it is only possible with one Choice field on a form that has a link to either a menu or a session.
So if the one Choice field is linked to a session (which is the case for tccom2101m000), then it is not possible to add menu items by changing the linked menu.
Then I have to add "user" buttons and use "zoom.to" in the script (which I don't have).
Alternatively I can change the one Choice field to link to a menu instead of a session, and add the previous linked session to this menu. Then I have the possibility to easy add new "items" to the special menu.

Any Comments ?

OmeLuuk
24th June 2002, 12:29
When you are at the point in the application where you want to know what is active (like the menu is on your screen), you start a new process: ttstpshell (in bw.exe: option "Start Shell") and enter the command ps (show current active processes). Maybe it is listed.

You can see the menu if it is a RDD file when you log the file usage with "-- -dbgfile -keeplog -logfile WhatFile".

And then you can also use the bic_info program to see what string variables are used in the object:
bic_info6.1 -s oppmmmcccc
or
bic_info.exe -s oppmmcccc
o = object
pp = package
mmm = module
cccc = code of component

Juergen
24th June 2002, 16:25
Hi halvorn,

i think there is some misunderstanding.

The zoom option from the choice field of Session tccom2101m000
is linked to a session (tccom2103s000). A menu is not linked to the choice field, so a menu which is not exist can not be changed.

You are right that you can create your own little menu and link it
to the choice field. This menu contains the session ccom2103s000
and additional any other sessions you want.

The function "zoom.to" is used in another context. In this case you don`t need them.

Regards,
Jürgen

halvorn
24th June 2002, 16:49
Hi Jürgen,

You say:
The zoom option from the choice field of Session tccom2101m000
is linked to a session (tccom2103s000). A menu is not linked to the choice field, so a menu which is not exist can not be changed.


Response:
From my point of view this is exactly what I'm saying in my previous posting:
"So if the one Choice field is linked to a session (which is the case for tccom2101m000), then it is not possible to add menu items by changing the linked menu."

vbr. Halvor