2013 Sep 21 4:03 AM
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 .
2013 Sep 21 4:07 AM
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 .
2013 Sep 21 4:07 AM
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.
2013 Sep 21 7:07 AM
The approach is right... but it would be VBAK-ERNAM with sy-uname.
2013 Sep 21 8:56 AM
2013 Sep 21 10:57 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |