SAP WBHK Trading Contract: Header Data Table

Overview

WBHK is a standard SAP S/4HANA table that stores Trading Contract: Header Data data. There are total 116 fields in the WBHK table. The following is a list of the fields that make up this table. Key fields are marked in blue.

The table WBHK belongs to Global Trade (LO-GT) module and is located in the package Global Trade Management: DB-Tables and xPRAS (WB2B_DDIC).

In addition, following links provide an overview of foreign key relationships, if any, that link WBHK to other SAP tables and standard CDS views available based on WBHK table in S/4HANA 2020.

Techincal Settings of WBHK

Below are technical details of the table WBHK

  • Buffering not allowed
  • No buffering
  • Storage type is Column Store

List of WBHK Fields

The following table gives you an overview of the fields available in WBHK

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDTT000CLNT3
TKONNTrading ContractTKONNCHAR10
TCTYPTrading Contract TypeTCTYPTB2BECHAR4
KUNNRSold-To PartyKUNAGKNA1CHAR10
BTBSTAApplication Status of Trading ContractBTBSTATB2BACHAR1
TKWAERSCurrency of Trading ContractTKWAERSTCURCCUKY5
TKRATEExchange Rate for Price DeterminationKURSKDEC9
ERNAMName of Person who Created the ObjectERNAMCHAR12
ERDATDate on which the record was createdERDATDATS8
ERZEITTime at Which Record Was AddedWLF_ERZEITTIMS6
AENAMName of person who changed objectAENAMCHAR12
AEDATDate of Last ChangeAEDATDATS8
AEZEITTime of ChangeWLF_AEZEITTIMS6
VKORGSales OrganizationVKORGTVKOCHAR4
VTWEGDistribution ChannelVTWEGTVKOVCHAR2
SPARTDivisionSPARTTVTACHAR2
TKSACHBTrading Contract: Person ResponsibleTKSACHBCHAR12
BSTNKCustomer ReferenceBSTNKCHAR20
BSTDKCustomer Reference DateBSTDKDATS8
SDWRSSD document currencyWAERKTCURCCUKY5
TKRATE_SDGT Exchange Rate Sales Order Currency / Local CurrencyTKRATE_SDDEC9
KURST_SDExchange Rate TypeKURSTTCURVCHAR4
BUDATDocument DateWB2_BUDATDATS8
PRSDT_SDDate for Pricing and Exchange RatePRSDTDATS8
KURSTExchange Rate TypeKURSTTCURVCHAR4
AUGRUOrder Reason (Reason for the Business Transaction)AUGRUTVAUCHAR3
ABSSCPayment Guarantee ProcedureABSSCHE_CMT691MCHAR6
LCNUMFinancial doc. processing: Internal financial doc. numberLCNUMAKKPCHAR10
AKPRZDepreciation percentage for financial document processingAKPRZDEC5
LOGSYSLogical systemLOGSYSTBDLSCHAR10
AUDATDocument Date (Date Received/Sent)AUDATDATS8
EXNUMNumber of foreign trade data in MM and SD documentsEXNUMCHAR10
FT_HEADER_COMDocument is CompleteHKCOMCHAR1
COMPLETEDocument is CompleteHKCOMCHAR1
ANGDT_SDQuotation/Inquiry is Valid FromANGDT_VDATS8
BNDDT_SDDate Until Which Bid/Quotation is Binding (Valid-To Date)BNDDTDATS8
SUBMI_SDCollective Number (SD)SUBMI_SDCHAR10
LIFSK_SDDelivery Block (Document Header)LIFSKTVLSCHAR2
FAKSK_SDBilling Block in SD DocumentFAKSKTVFSCHAR2
NETWR_SDNet Value of the Sales Order in Document CurrencyNETWR_AKCURR15
VKGRPSales groupVKGRPTVBVKCHAR3
VKBURSales officeVKBURTVKBZCHAR4
AUTLF_SDComplete Delivery Defined for Each Sales Order?AUTLFCHAR1
VSBED_SDShipping ConditionsVSBEDTVSBCHAR2
BSARK_SDCustomer Purchase Order TypeBSARKT176CHAR4
BSTZD_SDPurchase order number supplementBSTZDCHAR4
IHREZ_SDYour ReferenceIHREZCHAR12
BNAME_SDName of ordererBNAME_VCHAR35
TELF1_SDTelephone NumberTELF1_VPCHAR16
MAHZA_SDNumber of Contacts from the CustomerMAHZADEC3
MAHDT_SDLast Customer Contact DateMAHDTDATS8
TAXK1_SDAlternative Tax ClassificationTAXK1_AKCHAR1
TAXK2_SDTax Classification 2 for CustomerTAXK2CHAR1
TAXK3_SDTax classification 3 for customerTAXK3CHAR1
TAXK4_SDTax Classification 4 CustomerTAXK4CHAR1
TAXK5_SDTax Classification 5 for CustomerTAXK5CHAR1
TAXK6_SDTax Classification 6 for CustomerTAXK6CHAR1
TAXK7_SDTax Classification 7 for CustomerTAXK7CHAR1
TAXK8_SDTax Classification 8 for CustomerTAXK8CHAR1
TAXK9_SDTax Classification 9 for CustomerTAXK9CHAR1
XBLNR_SDReference Document NumberXBLNR_V1CHAR16
VBTYP_SDSD Document CategoryVBTYPLCHAR4
STCEG_L_SDTax Destination CountryLAND1TXT005CHAR3
ANDTX_SDTax Departure CountryLANDTXT005CHAR3
KVGR1_SDCustomer group 1KVGR1TVV1CHAR3
KVGR2_SDCustomer group 2KVGR2TVV2CHAR3
KVGR3_SDCustomer group 3KVGR3TVV3CHAR3
KVGR4_SDCustomer group 4KVGR4TVV4CHAR3
KVGR5_SDCustomer group 5KVGR5TVV5CHAR3
AUARTSales Document TypeAUARTCHAR4
QUAN_COMPLETETrading Contract: Quantities In Document Are CompleteHKCOM_QUANCHAR1
KOKRSControlling AreaKOKRSTKA01CHAR4
KKBERCredit control areaKKBERT014CHAR4
KNKLICustomer's Account Number with Credit Limit ReferenceKNKLIKNA1CHAR10
GRUPPCustomer Credit GroupGRUPP_CMT691BCHAR4
SBGRPCredit Representative Group for Credit ManagementSBGRP_CMT024BCHAR3
CTLPCCredit Management: Risk CategoryCTLPC_CMCHAR3
CMWAECurrency key of credit control areaWAERS_CMTCURCCUKY5
CMFRERelease date of the document determined by credit managementCMFREDATS8
CMNUPDate of Next Credit Check of DocumentCMNUPDATS8
CMNGVNext dateCMNGVDATS8
AMTBLReleased credit value of the documentAMTBL_CMCURR15
LFSPGBlocking Reason Document HeaderWLFSPGTMFSCHAR2
WKURS_DATExchange Rate Date in Trading ContractWB2_EXCHG_RATE_DATEDATS8
WBPCHTrading Contract Last Chngd Flag (Customer Trader Suppl.)TC_LAST_CHANGED_FLAGCHAR1
KURRFExchange rate for FI postingsKURRFDEC9
TC_RELEASEDRelease Status for Follow-On Document GenerationTC_RELEASEDCHAR1
TKONN_EXExternal Identifier in Trading ContractTKONN_EXCHAR30
TCCATTrading Contract CategoryTCCATCHAR1
WE_KUNNRCustomer NumberKUNNRKNA1CHAR10
STCEG_LTax Destination CountryLAND1TXT005CHAR3
LANDTXTax Departure CountryLANDTXT005CHAR3
XEGDRIndicator: Triangular Deal Within the EUXEGDRCHAR1
USE_CASEUse Case TypeWB2_USE_CASE_TYPECHAR2
_DATAAGINGData Filter Value for Data AgingDATA_TEMPERATUREDATS8
DUMMY_WBHK_INCL_EEW_PSDummy Data Element for Trading Contract Header ExtensibilityWBHK_INCL_EEWCHAR1
TEW_TYPETrading Execution Workbench TypeWB2_TEW_TYPETEWTYPECHAR4
SUCC_ARCHNetwork ArchivedWB2_SUCC_ARCHIVEDCHAR1
ABRVWUsage IndicatorABRVWTVLVCHAR3
KNUMV_SDNumber of the Document ConditionKNUMVCHAR10
PRICING_TYPEDefinition of Pricing Procedure in Trading ContractWB2_PRICING_TYPECHAR1
KALSM_SDProcedure (Pricing Output Control Acct. Det. Costing...)KALSM_D*CHAR6
PS_PSP_PNRWork Breakdown Structure Element (WBS Element)PS_PSP_PNRPRPSNUMC8
LAST_CHANGE_UUIDUUID in X form (binary)SYSUUID_XRAW16
CREATED_FROMSource Document TypeWB2_CREATED_FROMCHAR2
COMPANY_CODECompany CodeBUKRST001CHAR4
GUEBGValid-From Date (Outline Agreements Product Proposals)GUEBGDATS8
GUEENValid-To Date (Outline Agreements Product Proposals)GUEENDATS8
CONSOL_IT_EXISTConsolidated item existsWB2_CONSOL_ITEM_EXISTCHAR1
SET_VARIANTBusiness Process Variant for Contract SettlementWB2_WASHOUT_SET_VARIANTCHAR1
IN_APPROVALTC Approval StartedWB2_IN_APPROVALCHAR1
KALSM_CHSearch procedure for batch determinationKALSMA_CH*CHAR6
PURPOSEPurpose of Trading ContractWB2_TC_PURPOSECHAR2
PF_STATUSStatus for Processing of Follow-on documentWB2_TC_PROCESSING_STATUSCHAR1
PF_LAST_ACTIONLast Action code for Processing of Follow-on documentWB2_TC_PROCESSING_LAST_ACTIONCHAR4
PF_LAST_ORDERLast Executed sequence for Processing of Follow-on documentWB2_TC_PROCESSING_LAST_ORDERNUMC4

Foreign Key Relationships

A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for WBHK

Table NameFieldCardinalityCheck Table
WBHKABRVW1: CNTVLV
WBHKABSSC1: CNT691M
WBHKANDTX_SD1: CNT005
WBHKAUGRU1: CNTVAU
WBHKBSARK_SD1: CNT176
WBHKBTBSTA1: CNTB2BA
WBHKCMWAE:TCURC
WBHKCOMPANY_CODE1: CNT001
WBHKFAKSK_SD1: CNTVFS
WBHKGRUPP:T691B
WBHKKKBER:T014
WBHKKNKLI:KNA1
WBHKKOKRS1: CNTKA01
WBHKKUNNR1: CNKNA1
WBHKKURST1: CNTCURV
WBHKKURST_SD1: CNTCURV
WBHKKVGR1_SD1: CNTVV1
WBHKKVGR2_SD1: CNTVV2
WBHKKVGR3_SD1: CNTVV3
WBHKKVGR4_SD1: CNTVV4
WBHKKVGR5_SD1: CNTVV5
WBHKLANDTX:T005
WBHKLCNUM1: CNAKKP
WBHKLFSPG1: CNTMFS
WBHKLIFSK_SD1: CNTVLS
WBHKLOGSYS1: CNTBDLS
WBHKMANDT1: CNT000
WBHKPS_PSP_PNRC: CNPRPS
WBHKSBGRP:T024B
WBHKSDWRS1: CNTCURC
WBHKSPART1: CNTVTA
WBHKSTCEG_L:T005
WBHKSTCEG_L_SD1: CNT005
WBHKTCTYP1: CNTB2BE
WBHKTEW_TYPE1: CNTEWTYPE
WBHKTKWAERS1: CNTCURC
WBHKVKBURC: CNTVKBZ
WBHKVKGRPC: CNTVBVK
WBHKVKORG1: CNTVKO
WBHKVSBED_SD1: CNTVSB
WBHKVTWEG1: CNTVKOV
WBHKWE_KUNNR:KNA1

Other References