SLS_TMPL_HEAD SAP (Sales: Template Head) Table details

Dictionary Type: Table
Description: Sales: Template Head




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




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

SLS_TMPL_HEAD is a standard SAP Table which is used to store Sales: Template Head data and is available within R/3 SAP systems depending on the version and release level.

The SLS_TMPL_HEAD table consists of various fields, each holding specific information or linking keys about Sales: Template Head data available in SAP. These include GUID (GUID in 'CHAR' Format in Uppercase), ERROR_STATE (Sales template head error state), ITEM_ERROR_STATE (Sales template item error state), KUNAG (Sold-to party).. 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: Can be enhanced (character-type or numeric)


SAP SLS_TMPL_HEAD 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
GUIDGUID in 'CHAR' Format in Uppercase GUID_32CHAR32SYSUUID_C
ERROR_STATESales template head error state TDV_SLS_TEMPLATE_ERROR_STATECHAR1
ITEM_ERROR_STATESales template item error state TDV_SLS_TMPL_ITEM_ERROR_STATECHAR1
KUNAGSold-to party KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
KUNWEShip-to party KUNWECHAR10Assigned to domainALPHAKUNNR
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
CREATED_ATUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
CHANGED_BYName of Person Who Changed Object AENAMCHAR12USNAM
CHANGED_ATUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL

Key field Non-key field



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

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

SELECT SINGLE *
FROM SLS_TMPL_HEAD
INTO CORRESPONDING FIELDS OF WA_SLS_TMPL_HEAD
WHERE...

How to access SAP table SLS_TMPL_HEAD

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