Hello All,
Knowing the feeling of persons when they can't access to an SAP transaction, i decided today to share my knowledge around this topic however, it's highly not recommended to use transaction you are not authorized to execute,
Knowledge is good to have but sometimes bad to pass to action without precautions anyway, user will be responsible for further consequence of performing transaction without authority.
Let's get down to business !!
We have two methods to skip authority check in SAP ;
1/ Perform one of these Function Modules in order to have the right authorization using Tx Se37 :
- RS_HDSYS_CALL_TC_VARIANT
- C160_TRANSACTION_CALL
- TRANSACTION_CALL_VIA_RFC
- PLM_PS_EXECUTE_TRANSACTION
- CALL_TRANSACTION_FROM_TABLE
The purpose of these functions is to avoid the first authority check, it might be not the right action to perform if you have already updated you release thus, ignore it, keep smiling and choose 2nd solution .
2/ Put Break-point within Function module: "AUTH_CHECK_TCODE"
Here-under an example made for transaction STZAC :
A/ First run:
B/ Setting my Break-point:
C/ Run again and push the value 0 for sy-subrc in stead of 4 as shown below:
D/ Press F8 in order to continue normal execution:
And it works pretty well...hoping it will be helpful for you Consultants :)
It's really an interesting blog, full of precious tips and clever tricks.
ReplyDeleteEven SAP are not supposed to expect such ploy ...
So practical tricks.... thank you Amine
ReplyDeleteHello Amine,
ReplyDeleteSkip Authorization check in SAP is not a good idea!!!
Should be used only by expert in order to debug and analyze the program.
You can contact your SAP admin to give you the correct role for the transaction.
Best regards,
Thank you Marouene for this intervention but as i have mentioned
Delete"User will be responsible for further consequence of performing transaction without authority."
It is good to know what we are not authorized to ..but we must not use it ..such as selection criteria of not accessible transaction.
Greetings
Sellami Amine
Great Amine !! Insane! in the mountain !!
ReplyDelete