Read Transaction (SE93)
sap_get_transactionInspect any SAP transaction code's SE93 definition to reveal what it starts, its type, and the authorization checks performed at start—essential for authorization audits.
Instructions
Read a transaction code's SE93 definition: started program/screen, transaction type (decoded from the CINFO bit field), short text, package, parameter/OO target, SM01 lock, and the SE93 authorization checks (TSTCA). Core tool for authorization audits.
Args:
tcode (string): the transaction code.
response_format.
Returns (json): { tcode, exists, cinfo?, transactionType?, flags?, hasCheckObject?, lockedViaSM01?, reportWithVariant?, program?, screen?, description?, packageName?, author?, parameter?, targetClass?, targetMethod?, authChecks: [{TCODE, OBJCT, FIELD, VALUE}], authCheckCount }. transactionType is one of dialog | menu | parameter | report | object.
Examples:
"What does SE38 actually start?" -> tcode='SE38'.
"Which authorizations does VA01 check at start?" -> tcode='VA01', read authChecks. Notes:
The type is decoded from CINFO, which is a BIT FIELD: a transaction commonly carries several flags at once (SE38 = 84 = report transaction + has check object), so 'flags' can list more than the headline type.
'program' is legitimately empty for parameter and OO transactions — look at 'parameter' / targetClass+targetMethod instead.
authChecks are the SE93-maintained TSTCA rows (the checks performed at transaction START), not the full set of authority checks a program performs. Code-level AUTHORITY-CHECK statements live in the source — use sap_get_source or sap_where_used for those.
Short text is read in English (TSTCT SPRSL='E'); a transaction with no English text returns no description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tcode | Yes | Transaction code (e.g. 'SE38', '/BOBF/CUST_UI'). Case-insensitive; stored upper-case. | |
| response_format | No | Output format: 'markdown' (human-readable, default) or 'json' (structured). | markdown |