Hi Alex
The code passes the value RC=4 in the BreakPoint Below. After this it will loop again and then display the Billing Document.
There appears to be nothing in the code to "Stop the execution Endif and then display a message to the user " no authorisation".
*...set return code....................................................*
RC = SY-SUBRC.
I will open a message to SAP and let you know the outcome.
Cheers for reply