What is the importance of object S_TCODE in authorization.??
Transaction codes are maintained in the table TSTC
The system uses authorization object S_TCODE each time a transaction is executed to check if the users have authorization for starting that transaction. This object is automatically included in the profiles with the corresponding values when using the Profile Generator.
This object is checked when there are call transactions (Directly Called)
When a user starts this transaction, the system checks the user authorization for the transaction. This type of authorization check is
direct and there is no need for programming.
the user must have to pass the authorization check.
You can display or maintain table TSTC using the standard table maintenance function System Services Table maintenance or, alternatively, SM31.
if your transaction is critical, it's more secure to program the check with the ABAP AUTHORITYu2212CHECK instructions.