Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

enhancement for iw32 transaction code

Former Member
0 Likes
1,049

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 .

3 REPLIES 3
Read only

custodio_deoliveira
Active Contributor
0 Likes
694

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

Read only

SujeetMishra
Active Contributor
0 Likes
694

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

Read only

Former Member
0 Likes
694

Thanks Custodio and Sujeet  .....My query is resolved .....I am using BADI for authority check