08-02-2009 10:37 AM
Hi,
I am trying to figure out if it is possible to restrict the activation of GOS button depending on the user authorization for the selected object.
Based on my very basic level understanding of abap, i think that we would need to inherit a class from CL_GOS_SERVICE And then status of service VIEW_ATTA would be set to active or inactive/invisible based on the authorization check.
Scenario detail:
_____________
Transaction: PA20 or PA30
Authorization object in user's profile:P_ORGINCON
When user enters the transaction PA20, the GOS button is not visible by default. After entering any personnel number (whether authorized or not) and pressing enter key, the GOS button becomes visible. I want to prevent this when the personnel number entered by user is not authorized based on the values contained in authorization object P_ORGINCON in the user's profile.
Apprecaite if someone can guide me whether this is possible or not.
Many thanks
Regards,
Zubair Naseer
08-03-2009 4:52 AM
HI,
Please check this sap note 491271 might be helpfull.
Regards
Hiren K.Chitalia
08-03-2009 4:52 AM
HI,
Please check this sap note 491271 might be helpfull.
Regards
Hiren K.Chitalia