THEADPROT SAP (SD-Texts: Log from RV_TEXT_COPY - Module) Structure details

Dictionary Type: Structure
Description: SD-Texts: Log from RV_TEXT_COPY - Module




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




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

THEADPROT 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 "SD-Texts: Log from RV_TEXT_COPY - Module" 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_THEADPROT TYPE THEADPROT.

The THEADPROT table consists of various fields, each holding specific information or linking keys about SD-Texts: Log from RV_TEXT_COPY - Module data available in SAP. These include VBELV (Preceding sales and distribution document), POSNV (Preceding item of an SD document), VBELN (Subsequent sales and distribution document), POSNN (Subsequent item of an SD document).. 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: Not classified


SAP THEADPROT 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
VBELVPreceding sales and distribution document VBELN_VONCHAR10VBUKALPHAVBELNAUF
POSNVPreceding item of an SD document POSNR_VONNUMC6VBUPPOSNR
VBELNSubsequent sales and distribution document VBELN_NACHCHAR10VBUKALPHAVBELNAUF
POSNNSubsequent item of an SD document POSNR_NACHNUMC6VBUPPOSNR
TXTGNText determination procedure TXTGRCHAR2Assigned to domainTXTGR
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
VKBURSales Office VKBURCHAR4TVBURVKBURVKB
VKGRPSales Group VKGRPCHAR3TVKGRVKGRPVKG
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
VKOSPLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
INCO1Incoterms (Part 1) INCO1CHAR3TINCINCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
AUARTSales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
LIFSKDelivery block (document header) LIFSKCHAR2TVLSLIFSP
FAKSKBilling block in SD document FAKSKCHAR2TVFSFAKSP
TDOBJECTTexts: Application Object TDOBJECTCHAR10TTXOBTDOBJECT
SD_CALLERText processing: Caller (SD document flow) SD_CALLERCHAR1SD_CALLER
STLTYBOM category STLTYCHAR1STLTY
STNUMBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLANBOM Usage STLANCHAR1Assigned to domainSTLANCSV
STALTAlternative BOM STALTCHAR2ALPHAALTNR
PSTYVSales document item category PSTYVCHAR4Assigned to domainPSTYV
UEPOSHigher-level item in bill of material structures UEPOSNUMC6Assigned to domainPOSNR
UECHAHigher-Level Item of Batch Split Item UECHANUMC6Assigned to domainPOSNR
ERNAMVName of Person who Created the Object ERNAMCHAR12USNAM
KNUMAAgreement (various conditions grouped together) KNUMACHAR10Assigned to domainALPHAKNUMAVMBO
KNUMHCondition record number KNUMHCHAR10KNUMB
KOPOSSequential number of the condition KOPOSNUMC2NUM02
SUBMICollective Number SUBMICHAR10CHAR10
DUMMYDummy function in length 1 DUMMYCHAR1DUMMY
.INCLU--AP 0
KMEINCondition unit KMEINUNIT3Assigned to domainCUNITMEINS
VRKMESales unit VRKMEUNIT3Assigned to domainCUNITMEINS
MANDTClient MANDTCLNT3T000MANDT
TXTGRText determination procedure TXTGRCHAR2TTXGTXTGR
OBJ_NACHTexts: Application Object TDOBJECTCHAR10TTXOBTDOBJECT
ID_NACHText ID TDIDCHAR4Assigned to domainTDID
LFDNRCounter NUM03NUMC3NUM03
OBJ_VONTexts: Application Object TDOBJECTCHAR10TTXOBTDOBJECT
ID_VONText ID TDIDCHAR4Assigned to domainTDID
PARVW_VONPartner Function PARVWCHAR2TPARPARVWPARVWPAR
VKORG_SPRATake language from the sales organization SPRAS_VKOCHAR1XFELDSPR
SPRASLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
PARVW_SPRAPartner Function PARVWCHAR2TPARPARVWPARVWPAR
BEDNRRequirement number for texts BEDNR_TEXTNUMC3NUM03
COPNRRequirements number for data transfer COPNRNUMC2NUM02
ALLE_SPRAText is copied in all languages ALLE_SPRACHAR1XFELD
TDNAMEName TDOBNAMECHAR70TDOBNAME
T_OBJECTTexts: Application Object TDOBJECTCHAR10TTXOBTDOBJECT
T_NAMEName TDOBNAMECHAR70TDOBNAME
T_IDText ID TDIDCHAR4TTXIDTDID
T_SPRASLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
LOC_FLAGVersion Number Component CHAR2CHAR2CHAR2
LOC_MSGIDApplication Area ARBGBCHAR20T100AARBGBMAG
LOC_MSGNRMessage number MSGNRCHAR3T100MSGNR
LOC_MSGTYMessage Type MSGTYCHAR1MSGAR
LOC_MSGV1Message variable 01 MSGV1CHAR50CHAR50
LOC_MSGV2Message variable 02 MSGV2CHAR50CHAR50
LOC_MSGV3Message variable 03 MSGV3CHAR50CHAR50
LOC_MSGV4Message variable 04 MSGV4CHAR50CHAR50
LOC_TEXTMessage Text NATXTCHAR73NATXT
ACT_TDNAMEName TDOBNAMECHAR70TDOBNAME

Key field Non-key field



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

As THEADPROT 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 THEADPROT as there is no data to select.

How to access SAP table THEADPROT

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