As we all know, system adminstrators are very bad, cold blooded and cruel people. To prove it you just need to read the Bastard Operator from Hell.
We, ABAP programmers, are hopeless victims in the hands of these evil creatures.
But not always do we have to be smashed under their hairy fingers.
As when dealing with transport requests.
Sometimes those bad system administrators decide that us, poor programmers, should not have access to liberating or changing transport requests.
Here’s what you should do to hack it:
To do everything except releasing the main transport request:
Go to FM TR_AUTHORITY_CHECK_TRFUNCTION
Do what you have to do
(the debugger will stop in th FM)
Press F7 to exit the FM, change SY-SUBRC to 0, press F8 to continue
repeat the previous point for as many times as needed
To release the main transport request:
Place a break-point in line 47 of FM TR_READ_PROJECT_SWITCH
Release the transport request
The first time it stops in line 47 clear variable EV_PRJ_STATE
Thank you Gianni for the tip.
Greetings from Abapinho