Hello,
In reference to SAP Note 1922808 on the use case for SACF in switchable authorization framework, I have a question on 'Object Status' = N.
I built a test scenario to include an authority object with check status N - "Check always passes" (always successful).
Extending the demo example, AUTH_CHECK_SPEC method is leveraged to invoke a check using the test scenario. The result is success with (return code 0).
I followed it up with an immediate authorization check with the statement AUTHORITY-CHECK on that same object and the check fails (RC is non zero). I ran this test on a system with basis component currently on NW74 SP07.
Is this the expected behavior? If so, I am trying to understand how is this useful to alter the program behavior in a business process scenario.
If you have tried the scenario, please provide inputs.
Thanks,
Pawan.