Navin Tenani
11th May 2011, 09:22
Dear Gurus,
At the time of doing customizations many of times it happens that we need to provide zoom to standard sessions. By default the New Button is also active in zoom session.
Is there any way to block the New Button for that zoom session to have a better control.
Regards
Navin Tenani
amitmmokashi
11th May 2011, 11:52
Hi,
You can import the session code of the calling session in the before.program section of the called session and there in you can disable the command add.set if the session code of the calling program matches with the session code of the program for which you want to disable.
Regards,
Amit Mokashi
Han Brinkman
11th May 2011, 12:12
Are you using DEM/process browser? Because within DEM it's possible to disable this.
Regards,
Navin Tenani
11th May 2011, 12:59
Hi,
Probably I was not able to put the requirement clearly. Please consider this
Say we have developed a customized session to maintain Customer Details. In this one field to be maintained is Sales Price List. Here we have provided zoom to session tcmcs0134m000 (Price Lists). By default in Zoom Session "New" button is coming as enabled. We want to disable this "New" Button.
We don't have source code of tcmcs0134m000.
Regards
Naveen Tenani
mark_h
11th May 2011, 15:46
If you want it disabled all the time can't you just go into the form on the zoomed to session and turn off the default for this new button?
Navin Tenani
12th May 2011, 06:38
Hi Mark,
Probably the cannot be done as its a Standard Maintain Session. As There is no display session available, this was required.
The other alternate is that we need to design Customised Zoom Sessions, but we were trying to avoid the same.
Regards
Navin
mark_h
12th May 2011, 15:34
I don't know about LN, but in 4c4 what I could do (and did at least once) was to clone the session and the forms. Then all I had to do was to go into the copied form - turn off all the options I did not want the user to see or have. This included making some fields display only on the form. It was not a lot of work. Yes we ended up with a maintain and a customized version, but it solved our problem at the time.
Hitesh Shah
25th May 2011, 17:38
If u dont want 'new' , probably u need a display session . If that be the case , u can zoom to standard tcmcs0534m000 instead of tcmcs0134m000 .