‎2009 Dec 03 10:19 PM
Hi,
I have created a ztable and generated a table maintenance for the same.
There are a few fields that have to be input enabled or disabled, based on authorization objects; some users should be able to enter values and some, not.
Need some direction, kindly advise.
Thanks,
Sheldon
‎2009 Dec 04 6:47 AM
Hi Sheldon,
You can achieve the above mentioned functionality by checking the AUTHORIZATION assigned to the user. You have to check the AUTH OBJECT in the PBO Module and then you have to make the Screen Fields Input enable or disabled.
But, in the generated screens, you have to do your own module pool programming and you have to do the same in your own set of INCLUDE Programs. The INCLUDE Programs generated by the TMG as READ ONLY and hence you cannot modify them. Also, make sure that you take a complete backup of your code as any change and modification will lead to regeneration of the screens and hence will delete all the user code.
Hope this helps.
Thanks,
Samantak.
‎2009 Dec 04 3:29 AM
Hi,
This can be achived you need to check authorization on the object in the PBO and then you can make a field active or inactive based on this.
You have to do this when you loop on screen.
Hope you get it.
‎2009 Dec 04 6:47 AM
Hi Sheldon,
You can achieve the above mentioned functionality by checking the AUTHORIZATION assigned to the user. You have to check the AUTH OBJECT in the PBO Module and then you have to make the Screen Fields Input enable or disabled.
But, in the generated screens, you have to do your own module pool programming and you have to do the same in your own set of INCLUDE Programs. The INCLUDE Programs generated by the TMG as READ ONLY and hence you cannot modify them. Also, make sure that you take a complete backup of your code as any change and modification will lead to regeneration of the screens and hence will delete all the user code.
Hope this helps.
Thanks,
Samantak.
‎2009 Dec 04 4:59 PM
Thanks Samantak, Harsh and Saifur for your help, it works perfectly !!!
‎2009 Dec 04 12:49 PM