2013 Sep 19 2:14 PM
Hi ,
I have maintained a Z table where all authorized user is maintained. So in IW32 tcode when user click ORDER->FUNCTION->COMPLETE->CANCEL TECHNICAL COMPLETION , i have to validate user from Z table . If validation fails an error message is thrown
Is there any exit available or any way to suppress ORDER->FUNCTION->COMPLETE->CANCEL TECHNICAL COMPLETION .
Waiting for positive response .
Hi ,
I have maintained a Z table where all authorized user is maintained. So in IW32 tcode when user click ORDER->FUNCTION->COMPLETE->CANCEL TECHNICAL COMPLETION , i have to validate user from Z table . If validation fails an error message is thrown
Is there any exit available or any way to suppress ORDER->FUNCTION->COMPLETE->CANCEL TECHNICAL COMPLETION .
Waiting for positive response .
2013 Sep 20 7:20 AM
Hi Dipen,
Try BADI IWO1_ORDER_BADI, method AUTHORITY_CHECK_AUART_ACTIVIT.
But IMO Z tables for users to control authorisation doesn't seem to be a good design. Rather I'd rely in profile/role.
Regards
Custodio
2013 Sep 20 8:35 AM
Hello Dipen,
Yes, you can do it using Enhancement IWO10004 :Maintenance order: Customer check for order completion.
Write your Authorization related check in function Exit EXIT_SAPLCOIH_004.
Regards,
Sujeet
2013 Sep 20 3:31 PM
Thanks Custodio and Sujeet .....My query is resolved .....I am using BADI for authority check
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |