Hi People
I would like to know how to create a rule to control if the user has authorization to approve a parked document.
Here is the scenario:
- The users can't post an accouting document directly, always posting must be done by parked document, nobody has authorization to the transactions that post directly like F-02, FB50, FB70, FB60. The posting must be done by parked document transaction FV01, FV50, FV70, FV60 and after that approved by transaction FBV0.
- Only the supervisor and manager have authorization to transaction FBV0 that approve and post the parked document.
The problem is that the manager and supervisor are having access to approve the parked documents that they have created.
I tried to create an validation rule, but the system get lost with the field name of the user that create the parked document and didn't work.
So I tried to use the BTE (transaction FIBF) event 2213 in order to check it and was working fine, but for my surprise it only worked for the no enjoy transactions like F-02, F-64, F-63, for the enjoy transactions like FV50, FV70, FV60 didn't work.
I have tried another BTE functions that are called by transaction FBV0 in the moment of the document approval and they don't have the accouting document structure for checking the user have created the parked document...
So, ever option I have tried I didn't have success, may I in the wrong way? How do you people control it?
Best Regards,
Emerson