on 02-14-2016 8:42 AM
Hello Experts,
Business wants, during confirmation (Tcode CO11N) user should only be able to confirm the operation or work center for which he is responsible. It means user should have access only for his work center to confirm the operation.
For example - Let say these are the work centers in Plant 1000- CUTTING, BENDING, MELTING, QUALITY, etc.
Now, ABC user is only responsible for work center 'CUTTING' then he should only be able to confirm the operation have CUTTING work center and he should not be able to confirm the operations which having other work centers.
We tried 'Authorization object - C_AFRU_APL' however it won't work.
How we can achieve this. Is there any other way to achieve this.
Thanks and Regards,
Sandy
Hello Sandeep,
This you will be able to achieve using one of these user-exits
CONFPP01
CONFPP02
CONFPP03
CONFPP04
With the above exits you can arrange the exception as soon as you enter Order and Operation in CO11N
CONFPP05 ----> With this you will be able to prevent unauthorized confirmations at the time of SAVING the confirmation.
Pre-requisite
You need a relation between UserId and Workcenter (ARBPL) . for this you might be requiring a Z table with these 2 fields. The code first checks the Z-table whether a line having, userId (SY_UNAME) and the Work center (AFRUD_IMP-ARBPL) is existing. IF it exists, no error will be triggered. IF it is not error will be triggered and Confirmation will not be possible. (In case of exit CONFPP05 , the work center field will be AFRUD_TAB-ARBPL),
Show this to your ABAPer as clues for logic for your exit code. It will be a simple task.
Good luck
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, i had the same problem, i checked Authorization object - C_AFRU_APL in transaction code su22 and su24 but anyway when i trace the authorizations checked it doesn´t appear, just the one related to order class, nothing about work center . Any idea? Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.