/SAPSRM/SH_PLANT SAP (Table for ERP Search Help Plants) Table details

Dictionary Type: Table
Description: Table for ERP Search Help Plants




ABAP Code to SELECT data from /SAPSRM/SH_PLANT
Related tables to /SAPSRM/SH_PLANT
Access table /SAPSRM/SH_PLANT




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

/SAPSRM/SH_PLANT is a standard SAP Table which is used to store Table for ERP Search Help Plants data and is available within R/3 SAP systems depending on the version and release level.

The /SAPSRM/SH_PLANT table consists of various fields, each holding specific information or linking keys about Table for ERP Search Help Plants data available in SAP. These include LOG_SYS (Logical system), WERKS (Plant), BUKRS (Company Code), SORT1 (Search Term 1).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP /SAPSRM/SH_PLANT 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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
LOG_SYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
SORT1Search Term 1 AD_SORT1CHAR20CHAR20
SORT2Search Term 2 AD_SORT2CHAR20CHAR20
POST_CODE1City postal code AD_PSTCD1CHAR10CHAR10
CITY1City AD_CITY1CHAR40TEXT40CLCITYNAME
MC_CITY1City name in upper case for search help AD_MC_CITYCHAR25CHAR25
NAME1Name 1 AD_NAME1CHAR40TEXT40
MC_NAME1Name (field NAME1) in upper case for matchcode AD_MC_NAMECHAR25CHAR25
NAME2Name 2 AD_NAME2CHAR40TEXT40
NATIONVersion ID for International Addresses AD_NATIONCHAR1Assigned to domainAD_NATIONADDRESS_NATION

Key field Non-key field



How do I retrieve data from SAP table /SAPSRM/SH_PLANT using ABAP code

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

SELECT SINGLE *
FROM /SAPSRM/SH_PLANT
INTO CORRESPONDING FIELDS OF WA_/SAPSRM/SH_PLANT
WHERE...

How to access SAP table /SAPSRM/SH_PLANT

Within an ECC or HANA version of SAP you can also view further information about /SAPSRM/SH_PLANT 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!