how to read username in BADI BBP_AUTHORITY_CHECK
I need to do some authorization check in BADI BBP_AUTHORITY_CHECK. The problem is that I am unable to read the username who is the current processor of the document. Though this BADI has an interface parameter -- IV_USERNAME -- which should ideally provide us with the username, but it comes up as blank always.
Is there a trick to read IV_USERNAME , or any other suggested method to read the username ?
Any help would be appreciated.