‎2012 Sep 10 7:30 PM
Hi Expert,
I have created Module Pool Program, I am having 7 Push Button on Layout Screen, and i created T-Code for that Program, 2 T-Code, 1 for Admin, 1 for User.
My requirement is based on T-Code i have to show Push Button.
IF Admin all 7 Push Button have to show.
IF User only 2 Push Button have to show.
can anybody help me on my this problem.
Thanks in Advance.
Suresh
Moderator message : Not enough re-search before posting, discussion locked.
Message was edited by: Vinod Kumar
‎2012 Sep 11 4:54 AM
Dear,
Please make MODULE Initialization in PBO and put your logic on that.
‎2012 Sep 11 5:28 AM
Hi
in PBO based on the user write the if condition display the push buttons, for which you have to do grouping. group push buttons. call the push buttons based on the group and based on if condition of user and it will work for you.
‎2012 Sep 11 5:58 AM
Hi Suresh,
In PBO Module, use the following logic
IF YOUR CONDITION." Check against login user
LOOP AT SCREEN.
IF SCREEN-NAME = 'ur button name'.
SCREEN-ACTIVE = 0.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Regards,
Ravindra.
‎2012 Sep 11 6:14 AM
Hi
you can use the code given by chandru, i think grouping is needed to display multiple push buttons, check once.
‎2012 Sep 11 6:14 AM
Hi
you can use the code given by chandru, i think grouping is needed to display multiple push buttons, check once.