2007 Mar 14 7:34 AM
Hi,
Can anyone let me to know how to avoid authorization checks while debugging
for a standard transaction?
-B S B
2007 Mar 14 7:36 AM
Hi,
I think we can't avoid those authorization checks for the Std programs, while debugging.
Have to take the help of basis People for doing so.
Regards,
Anji
2007 Mar 14 7:38 AM
Hi,
While debugging try to change sy-subrc value to 0 after each authority check that returns 4
2007 Mar 14 10:51 AM
After executing the AUTHORITY_CHECK function module
change the sy-subrc value to 0. By this way u can skip the authority check.
Thanking you,
JK
2007 Mar 14 10:56 AM
peobabaly the best would be to create a watchpoint for sy-subrc.
whenever it changes it´s value, the debugger will stop.
Thne you can assign 0 to sy-subrc and continue.
2007 Mar 14 10:57 AM
Hello BSB,
To start the debug put /hs will start the system debug.
Then place the break points aat STATEMENT -- MESSAGE and F8
So now the system will stop at the point where it throwing the error message change the value of SY-SUBRC to 0 from 4.
Regards,
Vasanth
2007 Mar 14 11:08 AM
Hi
By changing the fields values or sy-subrc or some conditions values realted to authorization checks you can skip that part.But this can be possible only when you have authorization to change field contents while debugging.
otherwise we can't avoid those authorization checks for the Std programs, while debugging.
In that case Have to take the help of basis People for doing so.
Regards
Kumar