SH_PRIN SAP (Generated Table for View) Table View details

Dictionary Type: Table View
Description: Generated Table for View




ABAP Code to SELECT data from SH_PRIN
Related tables to SH_PRIN
Access table SH_PRIN




Table View field list including key, data, relationships and ABAP select examples

SH_PRIN is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.

The SH_PRIN table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include KNAME (Spool: short name for output device), PATYPE (Spool: Device type name), PASTANDORT (Spool: Location and naming of an output device), PAMSG (Spool: Status message (or copy of location)).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP SH_PRIN table view 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
LNAMESpool: Long device names RSPOLNAMECHAR30RSPOLNAMESPOOL_DEV
KNAMESpool: short name for output device RSPOPSHORTCHAR4CHAR4
PATYPESpool: Device type name RSPOPTYPECHAR8TSP0ARSPOPTYPESPOOL_PTYPE
PASTANDORTSpool: Location and naming of an output device RSPOPLOCATCHAR64TEXT64
PAMSGSpool: Status message (or copy of location) RSPOPMSGCHAR64TEXT64
PAARCHIVERSpool: Device used for archiving (internal use) RSPOARFLAGCHAR1CHAR1
PADESTSpool: Output device RSPOPNAMECHAR4SPDEVRSPOPNAME

Key field Non-key field



How do I retrieve data from SAP table SH_PRIN using ABAP code

The following ABAP code Example will allow you to do a basic selection on SH_PRIN to SELECT all data from the table
DATA: WA_SH_PRIN TYPE SH_PRIN.

SELECT SINGLE *
FROM SH_PRIN
INTO CORRESPONDING FIELDS OF WA_SH_PRIN
WHERE...

How to access SAP table SH_PRIN

Within an ECC or HANA version of SAP you can also view further information about SH_PRIN and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!