on 2023 Jan 27 1:55 PM
Hello,
Transaction FMJ2 has an option to limit documents by company code, but never checks for proper authorizations (only checks F_FICB_FKR).
I need every user to be able to execute this transaction, BUT ONLY for documents of his/her company code. Now if the user forgets to enter the cc, all cc are being processed.
How can we restrict that?
Thanks.
Ilian
Request clarification before answering.
Hi Ilian,
Modification of the code would be very simple. Indeed, you have simply to call authorization module for F_BKPF_BUK object for the user who runs the transaction. You can put in before the selection starts along with FM area authorizations check. It would be easiest way out.
Regards,
Eli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm afraid without modification of the standard code, you won't be able to achieve this. Another alternative is to create Z-transactions calling FMJ2, each transaction per company code in question and giving the users authorizations to those Z-transactions instead of FMJ2.
Regards,
Eli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Eli,
Many thanks for your answer. We have hundreds of company codes. For now we consider the following options:
1. Using a suitable user exit or badi (but I don't think it will work)
2. Making a copy of that transaction
3. Making a new transaction which checks for CC auth, then transfer to FMJ2
4. Changing the standard code, we have found suitable places
I think good objects for checking are F_BKPF_BUK and/or F_FUNDSRES.
Regards
Ilian
User | Count |
---|---|
6 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.