/SAPSRM/SH_COMPC SAP (Table for ERP Search Help Company Codes) Table details
Dictionary Type: Table
Description: Table for ERP Search Help Company Codes
Description: Table for ERP Search Help Company Codes
ABAP Code to SELECT data from /SAPSRM/SH_COMPC
Related tables to /SAPSRM/SH_COMPC
Access table /SAPSRM/SH_COMPC
Related tables to /SAPSRM/SH_COMPC
Access table /SAPSRM/SH_COMPC
Table field list including key, data, relationships and ABAP select examples
/SAPSRM/SH_COMPC is a standard SAP Table which is used to store Table for ERP Search Help Company Codes data and is available within R/3 SAP systems depending on the version and release level.
The /SAPSRM/SH_COMPC table consists of various fields, each holding specific information or linking keys about Table for ERP Search Help Company Codes data available in SAP. These include LOG_SYS (Logical system), BUKRS (Company Code), BUTXT (Name of Company Code or Company), ORT01 (City).. 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_COMPC 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 |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
LOG_SYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BUTXT | Name of Company Code or Company | BUTXT | CHAR | 25 | TEXT25 | ||||
ORT01 | City | ORT01 | CHAR | 25 | TEXT25 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS |
Key field | Non-key field |
How do I retrieve data from SAP table /SAPSRM/SH_COMPC using ABAP code
The following ABAP code Example will allow you to do a basic selection on /SAPSRM/SH_COMPC to SELECT all data from the tableDATA: WA_/SAPSRM/SH_COMPC TYPE /SAPSRM/SH_COMPC.
SELECT SINGLE *
FROM /SAPSRM/SH_COMPC
INTO CORRESPONDING FIELDS OF WA_/SAPSRM/SH_COMPC
WHERE...
How to access SAP table /SAPSRM/SH_COMPC
Within an ECC or HANA version of SAP you can also view further information about /SAPSRM/SH_COMPC 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