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

blocking particular user in VA02

former_member193737
Participant
0 Likes
800

hi Friends

             In my scenario i have to block a user who tends  to change a sales order in  va02  who have not created it in va01 . I have found the enhancement spot for it but by coding how it can be achieved .

1 ACCEPTED SOLUTION
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
764

Hello Selva.

1) Fetch the username (X) who had created the sales order (VBRP-ernam).

2) Compare the current user (sy-uname) with X.

Regards.

hi Friends

             In my scenario i have to block a user who tends  to change a sales order in  va02  who have not created it in va01 . I have found the enhancement spot for it but by coding how it can be achieved .

4 REPLIES 4
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
765

Hello Selva.

1) Fetch the username (X) who had created the sales order (VBRP-ernam).

2) Compare the current user (sy-uname) with X.

Regards.

Read only

0 Likes
764

The approach is right... but it would be VBAK-ERNAM with sy-uname.

Read only

0 Likes
764

Sorry You are right. It should be VBAK.

Read only

0 Likes
764

thank u K.Arun Prabhu