/SAPSRM/C_SWITCH SAP (Definition of Customizing Switches and their Attributes) Table details

Dictionary Type: Table
Description: Definition of Customizing Switches and their Attributes




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




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

/SAPSRM/C_SWITCH is a standard SAP Table which is used to store Definition of Customizing Switches and their Attributes data and is available within R/3 SAP systems depending on the version and release level.

The /SAPSRM/C_SWITCH table consists of various fields, each holding specific information or linking keys about Definition of Customizing Switches and their Attributes data available in SAP. These include COMBINED_SWITCH (Calculated Switch), REVERTIBLE (Revertibility), INITIAL_STATUS (Initial Status of Customizing Switch), IMG_TRANSACTION (Transaction Code of IMG Activity for Customizing Switch).. 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: S - System table, maint. only by SAP, change = modification
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced

Text table = /SAPSRM/C_SWITCT


SAP /SAPSRM/C_SWITCH 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
SWITCH_IDCustomizing Switch ID /SAPSRM/CUSTMZ_SWITCH_IDCHAR30/SAPSRM/CUSTMZ_SWITCH_ID/SAPSRM/SH_CUSTMZ_SWITCHES
COMBINED_SWITCHCalculated Switch /SAPSRM/CUSTMZ_SWITCH_COMBINEDCHAR1XFELD
REVERTIBLERevertibility /SAPSRM/CUSTMZ_SWITCH_REVERTIBCHAR1/SAPSRM/CUSTMZ_SWITCH_REVERTIB
INITIAL_STATUSInitial Status of Customizing Switch /SAPSRM/CUSTMZ_SW_STATUS_INITCHAR1/SAPSRM/C_SW_S0/SAPSRM/CUSTMZ_SW_STATUS_INIT
IMG_TRANSACTIONTransaction Code of IMG Activity for Customizing Switch /SAPSRM/CUSTMZ_SW_IMG_TRANSACTCHAR20Assigned to domainTCODE
BUSINESS_FUNCTBusiness Function SFW_BFUNCTIONCHAR30SFW_BFUNCTIONSFW_BF
BF_STATUS_METHODName of Method for Business Function Activation Status /SAPSRM/SFW_BF_STATUS_METHODCHAR30/SAPSRM/C_SW_SFW/SAPSRM/SOFT_SWITCH_METHOD
NAVIGATION_ICONIcon in text fields (substitute display, alias) ICON_DCHAR4Assigned to domainICON
SOFT_SWITCH_CLASSoft Switch Class /SAPSRM/SOFT_SWITCH_CLASSCHAR30Assigned to domain/SAPSRM/SOFT_SWITCH_CLASS
SOFT_SWITCH_METHSoftswitch Method Name /SAPSRM/SOFT_SWITCH_METHODCHAR30/SAPSRM/SOFT_SWITCH_METHOD
ACTIV_CHECK_METHMethod for Checks Whether Switch Status Can Be Changed /SAPSRM/SWITCH_MAY_CHANGE_METHCHAR30CHAR30
PRE_CHANGE_METHMethod for Pre-Processing when Switch Status is Changed /SAPSRM/SWITCH_PRE_CHANGE_METHCHAR30CHAR30
POST_CHANGE_METHMethod for Post-Processing when Switch Status is Changed /SAPSRM/SWITCH_POSTCHANGE_METHCHAR30CHAR30
INIT_VALUE_METHMethod for Setting Initial Value of Customizing Switch /SAPSRM/SWITCH_INIT_VALUE_METHCHAR30CHAR30
APPLICATION_IDApplication ID /SAPSRM/CUSTMZ_SWITCH_APPL_IDCHAR7/SAPSRM/CUSTMZ_SWITCH_APPL_ID
EHP_RELEASEEHP Release of Customizing Switch /SAPSRM/CUSTMZ_SW_EHP_RELEASECHAR3/SAPSRM/CUSTMZ_SW_EHP_RELEASE
SWITCH_SHRT_NAMECustomizing Switch Short Name /SAPSRM/CUSTMZ_SW_SHORT_NAMECHAR20/SAPSRM/CUSTMZ_SW_SHORT_NAME
IMG_SUBOBJECTIMG Subobject ID of Customzing Switch /SAPSRM/CUSTMZ_SW_SUBOJECT_IDCHAR10/SAPSRM/CUSTMZ_SW_SUBOJECT_ID
DUMMY_CLIENTClient MANDTCLNT3T000MANDT
OBSOLETEObsolete Customizing Switch /SAPSRM/CUSTMZ_SW_OBSOLETECHAR1XFELD

Key field Non-key field



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

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

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

How to access SAP table /SAPSRM/C_SWITCH

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