SRV_LONGTEXTS SAP (Long Text) Structure details

Dictionary Type: Structure
Description: Long Text




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




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

SRV_LONGTEXTS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Long Text" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_SRV_LONGTEXTS TYPE SRV_LONGTEXTS.

The SRV_LONGTEXTS table consists of various fields, each holding specific information or linking keys about Long Text data available in SAP. These include SRV_LINE (Line Number), TEXT_TYPE (Text Type for Line or Service Long Text), FORMAT (Tag column), LINE (Text Line).. 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: Can be enhanced (character-type or numeric)


SAP SRV_LONGTEXTS structure 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
OUTLINEOutline Number OUTLINE_NONUMC10INTROW
SRV_LINELine Number EXTROWNUMC10NUMC10
TEXT_TYPEText Type for Line or Service Long Text TEXT_TYPE_MMSRVCHAR1TEXT_TYPE_MMSRV
FORMATTag column TDFORMATCHAR2TDELEMSTYL
LINEText Line TDLINECHAR132TDSTXLLINE
CHANGE_IDControl Selection in Long Text. CHANGE_IND_MMSRVCHAR1CHAR1
TEXT_OBJECTTexts: Application Object TDOBJECTCHAR10Assigned to domainTDOBJECT
TEXT_NAMEName TDOBNAMECHAR70TDOBNAME
TEXT_IDText ID TDIDCHAR4Assigned to domainTDID

Key field Non-key field



How do I retrieve data from SAP structure SRV_LONGTEXTS using ABAP code?

As SRV_LONGTEXTS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on SRV_LONGTEXTS as there is no data to select.

How to access SAP table SRV_LONGTEXTS

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