CRM_S_SDOC_PRT_HEAD_DETAIL SAP (Header Details for Print) Structure details

Dictionary Type: Structure
Description: Header Details for Print




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




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

CRM_S_SDOC_PRT_HEAD_DETAIL 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 "Header Details for Print" 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_CRM_S_SDOC_PRT_HEAD_DETAIL TYPE CRM_S_SDOC_PRT_HEAD_DETAIL.

The CRM_S_SDOC_PRT_HEAD_DETAIL table consists of various fields, each holding specific information or linking keys about Header Details for Print data available in SAP. These include ANRED (Title), ADRNR (Address number), ADRNP (Person number), ADDRESS_TYPE (Address type (1=Organization, 2=Person, 3=Contact person)).. 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 (Deep)


SAP CRM_S_SDOC_PRT_HEAD_DETAIL 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
VBDKA 0
ANREDTitle ANREDCHAR15TEXT15
ADRNRAddress number AD_ADDRNUMCHAR10ALPHAAD_ADDRNUMADR
ADRNPPerson number AD_PERSNUMCHAR10ALPHAAD_PERSNUMCDTADDRESS
ADDRESS_TYPEAddress type (1=Organization, 2=Person, 3=Contact person) AD_ADRTYPECHAR1AD_ADRTYPE
NAME1Name 1 NAME1_GPCHAR35NAME
NAME2Name 2 NAME2_GPCHAR35NAME
NAME3Name 3 NAME3_GPCHAR35NAME
NAME4Name 4 NAME4_GPCHAR35NAME
STRASHouse number and street STRAS_GPCHAR35TEXT35
PFACHPO Box PFACHCHAR10PFACH
PFORTPO Box city PFORT_GPCHAR35TEXT35
PSTL2P.O. Box Postal Code PSTL2CHAR10PSTLZ
LAND1Country Key LAND1CHAR3LAND1LND
SPRASLanguage Key SPRASLANG1ISOLASPRASSPRH_T002
PSTLZPostal Code PSTLZCHAR10PSTLZ
ORT01City ORT01_GPCHAR35TEXT35
ORT02District ORT02_GPCHAR35TEXT35
REGIOSTATE (State, Province, County) REGIOCHAR3REGIO
KUNNRCustomer Numbers KUNNRCHAR10ALPHAKUNNRKUNC_KUNNR
VKORGSales Organization VKORGCHAR4VKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2VTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2SPARTSPAC_SPART
SPRAS_VKOLanguage Key SPRASLANG1ISOLASPRASSPRH_T002
VKBURSales Office VKBURCHAR4VKBURVKB
SPRAS_VBURLanguage Key SPRASLANG1ISOLASPRASSPRH_T002
VBELNSales and Distribution Document Number VBELNCHAR10ALPHAVBELNAUN
AUDATDocument Date (Date Received/Sent) AUDATDATS8DATUM
BSTNKCustomer purchase order number BSTNKCHAR20BSTNK
BSTDKCustomer purchase order date BSTDKDATS8DATUM
BSARKCustomer purchase order type BSARKCHAR4BSARK
BSARK_BEZDescription of purchase order type BSARK_BEZCHAR20TEXT20
BSTZDPurchase order number supplement BSTZDCHAR4BSTZD
IHREZYour Reference IHREZCHAR12TEXT12
BNAMEName of orderer BNAME_VCHAR35NAME
TELF1Telephone Number TELF1_VPCHAR16TELF1
VBELN_VANGPreceding sales and distribution document VBELN_VONCHAR10ALPHAVBELNAUF
VBTYP_VANGDocument category of preceding SD document VBTYP_VCHAR1VBTYP
AUDAT_VANGQuotation Date AUDAT_VANGDATS8DATUM
HERKLThree-digit character field for IDocs CHAR03CHAR3CHAR3
LLANDCountry of Destination LLANDCHAR3LAND1VLL
ALANDDeparture country (country from which the goods are sent) ALANDCHAR3LAND1VAL
SLANDSending country for processing address SLANDCHAR3LAND1
ANRED_WETitle ANREDCHAR15TEXT15
ADRNR_WEAddress number AD_ADDRNUMCHAR10ALPHAAD_ADDRNUMADR
ADRNP_WEPerson number AD_PERSNUMCHAR10ALPHAAD_PERSNUMCDTADDRESS
ADDRESS_TYPE_WEAddress type (1=Organization, 2=Person, 3=Contact person) AD_ADRTYPECHAR1AD_ADRTYPE
NAME1_WEName 1 NAME1_GPCHAR35NAME
NAME2_WEName 2 NAME2_GPCHAR35NAME
NAME3_WEName 3 NAME3_GPCHAR35NAME
NAME4_WEName 4 NAME4_GPCHAR35NAME
STRAS_WEHouse number and street STRAS_GPCHAR35TEXT35
PFACH_WEPO Box PFACHCHAR10PFACH
PFORT_WEPO Box city PFORT_GPCHAR35TEXT35
PSTL2_WEP.O. Box Postal Code PSTL2CHAR10PSTLZ
LAND1_WECountry Key LAND1CHAR3LAND1LND
SPRAS_WELanguage Key SPRASLANG1ISOLASPRASSPRH_T002
PSTLZ_WEPostal Code PSTLZCHAR10PSTLZ
ORT01_WECity ORT01_GPCHAR35TEXT35
ORT02_WEDistrict ORT02_GPCHAR35TEXT35
REGIO_WESTATE (State, Province, County) REGIOCHAR3REGIO
VSBEDShipping Conditions VSBEDCHAR2VSBED
VSBED_BEZDescription of the shipping conditions VSBED_BEZCHAR20TEXT20
BUKRS_VFCompany code to be billed BUKRS_VFCHAR4BUKRSBUK
INCO1Incoterms (Part 1) INCO1CHAR3INCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
INCO1_BEZIncoterm description INCO1_BEZCHAR30TEXT30
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZTERM_BEZDescription of terms of payment DZTERM_BEZCHAR30TEXT30
ZTERM_TX1Text (80 Characters) TEXT80CHAR80TEXT80UEB
ZTERM_TX2Text (80 Characters) TEXT80CHAR80TEXT80UEB
ZTERM_TX3Text (80 Characters) TEXT80CHAR80TEXT80UEB
ZTERM_TX4Text (80 Characters) TEXT80CHAR80TEXT80UEB
LFDATDelivery date LFDAT_EXTCHAR10CHAR10
DATBEZDescription of the date format (day, week, month) DATBEZCHAR8TEXT8
BRGEWGross weight BRGEW_15QUAN15(3) MENG15
NTGEWNet weight NTGEW_15QUAN15(3) MENG15
GEWEIWeight Unit GEWEIUNIT3CUNITMEINS
VOLUMVolume VOLUM_15QUAN15(3) MENG15
VOLEHVolume unit VOLEHUNIT3CUNITMEINS
WAERSCurrency Key WAERSCUKY5WAERSFWS
WAERKSD Document Currency WAERKCUKY5WAERSFWS
KURSTExchange Rate Type KURSTCHAR4KURSTKUT
KURRFExchange rate for FI postings KURRFDEC9(5) KURRF
KURRF_DATTranslation Date WWERT_DDATS8DATUM
NETWRNet Value of the Sales Order in Document Currency NETWR_AKCURR15(2) WERTV8
TDNAMEName TDOBNAMECHAR70TDOBNAME
KALSMProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6KALSM
KNUMVNumber of the document condition KNUMVCHAR10KNUMV
KNUMAAgreement (various conditions grouped together) KNUMACHAR10ALPHAKNUMAVMBO
VBTYPSD document category VBTYPCHAR1VBTYP
ANGDTQuotation Validity Date ANGDTDATS8DATUM
BNDDTDate until which bid/quotation is binding (valid-to date) BNDDTDATS8DATUM
GUEBGValid-from date (outline agreements, product proposals) GUEBGDATS8DATUM
GUEENValid-to date (outline agreements, product proposals) GUEENDATS8DATUM
KDGRPCustomer group KDGRPCHAR2KDGRPVKD
KDGRP_BEZDescription of customer group KDGRP_BEZCHAR20TEXT20
BZIRKSales district BZIRKCHAR6BZIRKBZI
BZIRK_BEZName of the district BZTXTCHAR20TEXT20
VALTGAdditional value days VALTGNUMC2TAGE2
VALDTFixed value date VALDTDATS8DATUM
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERZETEntry time ERZETTIMS6UZEIT
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
AUARTSales Document Type AUARTCHAR4AUARTAUARTAAT
AUART_BEZDescription of sales order type AUART_BEZCHAR20TEXT20
AUGRUOrder reason (reason for the business transaction) AUGRUCHAR3AUGRU
AUGRU_BEZDescription of sales order reason AUGRU_BEZCHAR40TEXT40
GWLDTWarranty Date GWLDTDATS8DATUM
SUBMICollective Number SUBMICHAR10CHAR10
LIFSKDelivery block (document header) LIFSKCHAR2LIFSP
FAKSKBilling block in SD document FAKSKCHAR2FAKSP
VKGRPSales Group VKGRPCHAR3VKGRPVKG
VKGRP_BEZDescription of Sales Group VKGRP_BEZCHAR20TEXT20
KOSTLCost Center KOSTLCHAR10ALPHAKOSTLKOS
GSBERBusiness Area GSBERCHAR4GSBERGSB
GSKSTBusiness area from cost center GSKSTCHAR4GSBER
AUTLFComplete delivery defined for each sales order? AUTLFCHAR1XFELD
P_SPLITSplit terms of payment P_SPLITCHAR1CHAR1
TEXTChar 80 CHAR80CHAR80CHAR80
VBKLTSD document indicator VBKLTCHAR1VBKLT
DELCOAgreed delivery time DELCOCHAR3DELCO
DELCO_BEZDescription BEZEI20CHAR20TEXT20
BSTKDCustomer purchase order number BSTKDCHAR35BSTKD
BSTKD_EShip-to Party's Purchase Order Number BSTKD_ECHAR35BSTKD
BSTDK_EShip-to party's PO date BSTDK_EDATS8DATUM
BSARK_EShip-to party purchase order type BSARK_ECHAR4BSARK
BSARK_BEZEDescription of purchase order type BSARK_BEZCHAR20TEXT20
IHREZ_EShip-to party character IHREZ_ECHAR12TEXT12
MSR_IDProcess Identification Number MSR_PROCESS_IDCHAR10ALPHAMSR_PROCESS_ID
DUMMYDummy function in length 1 DUMMYCHAR1DUMMY
TITLEShort Text for Fixed Values VAL_TEXTCHAR60DDTEXT
REPEATSingle-Character Indicator CHAR1CHAR1CHAR1
LOGO_URLLogo URL LOGO_URLSTRG0
ADRHANDLEHandle for Creating Addresses/Persons (Bus. Addr. Services) AD_HANDLECHAR140TEXT140
PERHANDLEHandle for Creating Addresses/Persons (Bus. Addr. Services) AD_HANDLECHAR140TEXT140
ADRHANDLE_WEHandle for Creating Addresses/Persons (Bus. Addr. Services) AD_HANDLECHAR140TEXT140
PERHANDLE_WEHandle for Creating Addresses/Persons (Bus. Addr. Services) AD_HANDLECHAR140TEXT140

Key field Non-key field



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

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

How to access SAP table CRM_S_SDOC_PRT_HEAD_DETAIL

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