PAT01 SAP (Patch Status) Table details
Dictionary Type: Table
Description: Patch Status
Description: Patch Status
Table field list including key, data, relationships and ABAP select examples
PAT01 is a standard SAP Table which is used to store Patch Status data and is available within R/3 SAP systems depending on the version and release level.
The PAT01 table consists of various fields, each holding specific information or linking keys about Patch Status data available in SAP. These include SEQUENCE (Support Package sequence), STEPNAME (Support Package step name), STEPCOND (Status of Support Package step), RET_CODE (Return code for a Support Package step).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: W - System table, contents transportable via separate TR objectsDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP PAT01 table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
PATCH | Support Package name | PATCH | CHAR | 20 | Assigned to domain | PATCH | SH_SPAM_PATCH | ||
SEQUENCE | Support Package sequence | PATCHORDER | NUMC | 3 | NUMC3 | ||||
STEPNAME | Support Package step name | PATCHSTEP | CHAR | 20 | PAT00 | PATCHSTEP | |||
STEPCOND | Status of Support Package step | PATCHCOND | CHAR | 1 | PATCHCOND | ||||
RET_CODE | Return code for a Support Package step | PATCH_RC | CHAR | 4 | PATCH_RC | ||||
MESSAGE | Message when a termination occurs | PATCH_MSG | CHAR | 73 | NATXT | ||||
REASON | Reason why a step was terminated | PAT_REASON | CHAR | 30 | CHAR30 | ||||
SCENARIO | Scenario for importing the Support Package | PATCH_SCEN | CHAR | 1 | PATCH_SCEN | ||||
VALID_CONJ | PAT07: Logical AND block | PAT_CONJ | NUMC | 2 | NUMC2 |
Key field | Non-key field |
How do I retrieve data from SAP table PAT01 using ABAP code
The following ABAP code Example will allow you to do a basic selection on PAT01 to SELECT all data from the tableDATA: WA_PAT01 TYPE PAT01.
SELECT SINGLE *
FROM PAT01
INTO CORRESPONDING FIELDS OF WA_PAT01
WHERE...
How to access SAP table PAT01
Within an ECC or HANA version of SAP you can also view further information about PAT01 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects