I am familiar with using the exit RSR0001. However I never used a BADI to implement such a variable.
Is there some information available to get me started?