P_ACMContractHeader

DDL: P_ACMCONTRACTHEADER SQL: PCONTRHEAD Type: view BASIC

P_ACMContractHeader is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (wbhk) and exposes 108 fields.

Data Sources (1)

SourceAliasJoin Type
wbhk wbhk from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCONTRHEAD view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (108)

KeyFieldSource TableSource FieldDescription
tkonn wbhk tkonn Trading Contract
tctyp wbhk tctyp Contract Type
kunnr wbhk kunnr Stock customer
btbsta wbhk btbsta Only Copy Appr.TC
tkwaers wbhk tkwaers TrCont currency
tkrate wbhk tkrate Exchange Rate
ernam wbhk ernam User Name
erdat wbhk erdat Entered On
erzeit wbhk erzeit Time created
aenam wbhk aenam User Name
aedat wbhk aedat Obsolete
aezeit wbhk aezeit Time changed
vkorg wbhk vkorg SD Sales Org.
vtweg wbhk vtweg RefDistCh-Cust/Mat.
spart wbhk spart Source supplier
tksachb wbhk tksachb Pers. Respons.
bstnk wbhk bstnk Cust. Reference
bstdk wbhk bstdk Cust. Ref. Date
sdwrs wbhk sdwrs Doc. Currency
tkrate_sd wbhk tkrate_sd Exchange Rate
kurst_sd wbhk kurst_sd Exch. Rate Type
budat wbhk budat Posting Date
prsdt_sd wbhk prsdt_sd Pricing Date
kurst wbhk kurst Fix.rate type (EMU)
augru wbhk augru Sales Document Reason
abssc wbhk abssc Paym.Guar.Proc.
lcnum wbhk lcnum Financ.Doc.No.
akprz wbhk akprz Depreciation
logsys wbhk logsys Source system
audat wbhk audat Trans. Period End
exnum wbhk exnum Official No.
complete wbhk complete Totals status
angdt_sd wbhk angdt_sd Valid From
bnddt_sd wbhk bnddt_sd Valid To
submi_sd wbhk submi_sd Collective No.
lifsk_sd wbhk lifsk_sd Delivery Block
faksk_sd wbhk faksk_sd Billing Block
netwr_sd wbhk netwr_sd Net Value
vkgrp wbhk vkgrp Sales Group
vkbur wbhk vkbur Sales Office
autlf_sd wbhk autlf_sd Complete Dlv.
vsbed_sd wbhk vsbed_sd Shipping Conditions
bsark_sd wbhk bsark_sd Pur. Ord. Type
bstzd_sd wbhk bstzd_sd Supplement
ihrez_sd wbhk ihrez_sd Your Reference
bname_sd wbhk bname_sd Name
telf1_sd wbhk telf1_sd Telephone
mahza_sd wbhk mahza_sd No.of Contacts
mahdt_sd wbhk mahdt_sd Last Contact Dt
taxk1_sd wbhk taxk1_sd Alt.Tax Class.
taxk2_sd wbhk taxk2_sd Tax Cls.2 Cust.
taxk3_sd wbhk taxk3_sd Tax Cls.3 Cust.
taxk4_sd wbhk taxk4_sd Tax Cls.4 Cust.
taxk5_sd wbhk taxk5_sd Tax Cls.5 Cust.
taxk6_sd wbhk taxk6_sd Tax Cls.6 Cust.
taxk7_sd wbhk taxk7_sd Tax Cls.7 Cust.
taxk8_sd wbhk taxk8_sd Tax Cls.8 Cust.
taxk9_sd wbhk taxk9_sd Tax Cls.9 Cust.
xblnr_sd wbhk xblnr_sd Reference
vbtyp_sd wbhk vbtyp_sd Document Cat.
stceg_l_sd wbhk stceg_l_sd Tax Dest. Cty/R
andtx_sd wbhk andtx_sd Tax Depar. C/R
kvgr1_sd wbhk kvgr1_sd Customer Grp 1
kvgr2_sd wbhk kvgr2_sd Customer Grp 2
kvgr3_sd wbhk kvgr3_sd Customer Grp 3
kvgr4_sd wbhk kvgr4_sd Customer Grp 4
kvgr5_sd wbhk kvgr5_sd Customer Grp 5
auart wbhk auart Sales Doc. Type
kokrs wbhk kokrs Org. Value
kkber wbhk kkber Cred.Contr.Area
knkli wbhk knkli Credit Account
grupp wbhk grupp Planning group
sbgrp wbhk sbgrp Rep. group
ctlpc wbhk ctlpc Risk Category
cmwae wbhk cmwae Currency
cmfre wbhk cmfre Release date
cmnup wbhk cmnup Next Check
cmngv wbhk cmngv Next date
amtbl wbhk amtbl Credit Value
lfspg wbhk lfspg Block Reason
wkurs_dat wbhk wkurs_dat Exch. Rate Date
wbpch wbhk wbpch Last Chngd By
kurrf wbhk kurrf Exch.Rate Acct.
tc_released wbhk tc_released Release for Doc
tkonn_ex wbhk tkonn_ex Ext. Identifier
tccat wbhk tccat TC Category
we_kunnr wbhk we_kunnr Customer
stceg_l wbhk stceg_l Tax Dest. Cty/R
landtx wbhk landtx Tx Dep Ctry/Reg
xegdr wbhk xegdr EU Triang. Deal
use_case wbhk use_case Use Case Type
_dataaging wbhk _dataaging Data Aging
tew_type wbhk tew_type TEW Type
succ_arch wbhk succ_arch Network Status
abrvw wbhk abrvw Usage
knumv_sd wbhk knumv_sd Doc. Condition
pricing_type wbhk pricing_type Pricing
kalsm_sd wbhk kalsm_sd Procedure
ps_psp_pnr wbhk ps_psp_pnr WBS Element
created_from wbhk created_from Source Doc
company_code wbhk company_code Company Code
guebg wbhk guebg Valid From
gueen wbhk gueen Valid To
set_variant wbhk set_variant Process Variant
in_approval wbhk in_approval Approval Started
kalsm_ch wbhk kalsm_ch Search Proced.
purpose wbhk purpose Purpose Type
pf_status wbhk pf_status Prc. Status

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_ACMContractHeader.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PCONTRHEAD

CREATE VIEW P_ACMContractHeader AS
SELECT
  wbhk.tkonn AS tkonn,
  wbhk.tctyp AS tctyp,
  wbhk.kunnr AS kunnr,
  wbhk.btbsta AS btbsta,
  wbhk.tkwaers AS tkwaers,
  wbhk.tkrate AS tkrate,
  wbhk.ernam AS ernam,
  wbhk.erdat AS erdat,
  wbhk.erzeit AS erzeit,
  wbhk.aenam AS aenam,
  wbhk.aedat AS aedat,
  wbhk.aezeit AS aezeit,
  wbhk.vkorg AS vkorg,
  wbhk.vtweg AS vtweg,
  wbhk.spart AS spart,
  wbhk.tksachb AS tksachb,
  wbhk.bstnk AS bstnk,
  wbhk.bstdk AS bstdk,
  wbhk.sdwrs AS sdwrs,
  wbhk.tkrate_sd AS tkrate_sd,
  wbhk.kurst_sd AS kurst_sd,
  wbhk.budat AS budat,
  wbhk.prsdt_sd AS prsdt_sd,
  wbhk.kurst AS kurst,
  wbhk.augru AS augru,
  wbhk.abssc AS abssc,
  wbhk.lcnum AS lcnum,
  wbhk.akprz AS akprz,
  wbhk.logsys AS logsys,
  wbhk.audat AS audat,
  wbhk.exnum AS exnum,
  wbhk.complete AS complete,
  wbhk.angdt_sd AS angdt_sd,
  wbhk.bnddt_sd AS bnddt_sd,
  wbhk.submi_sd AS submi_sd,
  wbhk.lifsk_sd AS lifsk_sd,
  wbhk.faksk_sd AS faksk_sd,
  wbhk.netwr_sd AS netwr_sd,
  wbhk.vkgrp AS vkgrp,
  wbhk.vkbur AS vkbur,
  wbhk.autlf_sd AS autlf_sd,
  wbhk.vsbed_sd AS vsbed_sd,
  wbhk.bsark_sd AS bsark_sd,
  wbhk.bstzd_sd AS bstzd_sd,
  wbhk.ihrez_sd AS ihrez_sd,
  wbhk.bname_sd AS bname_sd,
  wbhk.telf1_sd AS telf1_sd,
  wbhk.mahza_sd AS mahza_sd,
  wbhk.mahdt_sd AS mahdt_sd,
  wbhk.taxk1_sd AS taxk1_sd,
  wbhk.taxk2_sd AS taxk2_sd,
  wbhk.taxk3_sd AS taxk3_sd,
  wbhk.taxk4_sd AS taxk4_sd,
  wbhk.taxk5_sd AS taxk5_sd,
  wbhk.taxk6_sd AS taxk6_sd,
  wbhk.taxk7_sd AS taxk7_sd,
  wbhk.taxk8_sd AS taxk8_sd,
  wbhk.taxk9_sd AS taxk9_sd,
  wbhk.xblnr_sd AS xblnr_sd,
  wbhk.vbtyp_sd AS vbtyp_sd,
  wbhk.stceg_l_sd AS stceg_l_sd,
  wbhk.andtx_sd AS andtx_sd,
  wbhk.kvgr1_sd AS kvgr1_sd,
  wbhk.kvgr2_sd AS kvgr2_sd,
  wbhk.kvgr3_sd AS kvgr3_sd,
  wbhk.kvgr4_sd AS kvgr4_sd,
  wbhk.kvgr5_sd AS kvgr5_sd,
  wbhk.auart AS auart,
  wbhk.kokrs AS kokrs,
  wbhk.kkber AS kkber,
  wbhk.knkli AS knkli,
  wbhk.grupp AS grupp,
  wbhk.sbgrp AS sbgrp,
  wbhk.ctlpc AS ctlpc,
  wbhk.cmwae AS cmwae,
  wbhk.cmfre AS cmfre,
  wbhk.cmnup AS cmnup,
  wbhk.cmngv AS cmngv,
  wbhk.amtbl AS amtbl,
  wbhk.lfspg AS lfspg,
  wbhk.wkurs_dat AS wkurs_dat,
  wbhk.wbpch AS wbpch,
  wbhk.kurrf AS kurrf,
  wbhk.tc_released AS tc_released,
  wbhk.tkonn_ex AS tkonn_ex,
  wbhk.tccat AS tccat,
  wbhk.we_kunnr AS we_kunnr,
  wbhk.stceg_l AS stceg_l,
  wbhk.landtx AS landtx,
  wbhk.xegdr AS xegdr,
  wbhk.use_case AS use_case,
  wbhk._dataaging AS _dataaging,
  wbhk.tew_type AS tew_type,
  wbhk.succ_arch AS succ_arch,
  wbhk.abrvw AS abrvw,
  wbhk.knumv_sd AS knumv_sd,
  wbhk.pricing_type AS pricing_type,
  wbhk.kalsm_sd AS kalsm_sd,
  wbhk.ps_psp_pnr AS ps_psp_pnr,
  wbhk.created_from AS created_from,
  wbhk.company_code AS company_code,
  wbhk.guebg AS guebg,
  wbhk.gueen AS gueen,
  wbhk.set_variant AS set_variant,
  wbhk.in_approval AS in_approval,
  wbhk.kalsm_ch AS kalsm_ch,
  wbhk.purpose AS purpose,
  wbhk.pf_status AS pf_status
FROM wbhk
;