PURCTR_HDR_D
I_PURCHASECONTRACTWD I_PURCHASECONTRACTWD
PURCTR_HDR_D is an SAP database table in S/4HANA. I_PURCHASECONTRACTWD I_PURCHASECONTRACTWD. It contains 97 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_PurchaseContractDraft | view | from | BASIC | Draft View Purchase Contracts |
| I_PurContrDrftForMngPurReqn | view | from | BASIC | Purchase Contract Draft For Purchase Requisition |
| I_PurContrTemplate | view | from | BASIC | Purchase Contract Template |
Fields (97)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | mandt | Client | |||
| KEY | draftuuid | /bobf/uuid | Key | |||
| purchasecontract | vdm_purchasecontract | Purchase Contract | ||||
| purchasecontractforedit | vdm_purchasecontract | Purchase Contract | ||||
| purchasecontracttype | esart | Document Type | ||||
| purchasingdocumentcategory | ebstyp | Doc. Category | ||||
| creationdate | mmpur_erdat | Created On | ||||
| supplier | md_supplier | Supplier | ||||
| companycode | bukrs | Company Code | ||||
| purchasingorganization | ekorg | Purchasing Org. | ||||
| purchasinggroup | bkgrp | Purch. Group | ||||
| documentcurrency | waers | Currency | ||||
| incotermsclassification | inco1 | Incoterms | ||||
| incotermstransferlocation | inco2 | Incoterms 2 | ||||
| paymentterms | farp_dzterm | Payment Terms | ||||
| cashdiscount1days | dzbd1t | Days 1 | ||||
| cashdiscount2days | dzbd2t | Days 2 | ||||
| netpaymentdays | dzbd3t | Days Net | ||||
| cashdiscount1percent | dzbd1p | CD Percentage 1 | ||||
| cashdiscount2percent | dzbd2p | CD Percentage 2 | ||||
| purchasecontracttargetamount | ktwrt | Target Value | ||||
| validitystartdate | kdatb | Validity Start | ||||
| validityenddate | kdate | Validity End | ||||
| releasecode | frgke | Release ind. | ||||
| createdbyuser | mmpur_ernam | Created By | ||||
| purchasingdocumentdeletioncode | eloek | Del. Indicator | ||||
| supplieraddressid | ad_addrnum | Address Number | ||||
| supplyingsupplier | llief | Goods Supplier | ||||
| invoicingparty | lifre | Invoicing Party | ||||
| exchangerate | fis_exchange_rate | Exchange Rate | ||||
| exchangerateisfixed | kufix | Fixed Exch.Rate | ||||
| quotationsubmissiondate | ihran | Quotation Date | ||||
| supplierquotation | angnr | Quotation | ||||
| releaseisnotcompleted | frgrl | Subj.to Release | ||||
| correspncexternalreference | ihrez | Your Reference | ||||
| correspncinternalreference | unsez | Our Reference | ||||
| supplierrespsalespersonname | everk | Salesperson | ||||
| supplierphonenumber | telfnr0 | Supplier Phone | ||||
| incotermsversion | incov | Inco. Version | ||||
| incotermslocation1 | inco2_l | Inco. Location1 | ||||
| incotermslocation2 | inco3_l | Inco. Location2 | ||||
| incotermslocation1identifier | tminco_loc_1_id | Incoterm Loc. 1 ID | ||||
| incotermslocation2identifier | tminco_loc_2_id | Incoterm Loc. 2 ID | ||||
| incotermsdvtglocidentifier | tminco_loc_d_id | Deviating Loc. ID | ||||
| incotermsdvtglocdescription | tminco_loc_d_descr | Deviating Loc. Desc. | ||||
| incotermssupchnloc1addluuid | /scmtms/inc_loc_1_key_nc | Incoterm Location 1 | ||||
| incotermssupchnloc2addluuid | /scmtms/inc_loc_2_key_nc | Incoterm Location 2 | ||||
| incotermssupchndvtglocaddluuid | /scmtms/inc_dv_plce_dst_key_nc | Dev. Destination | ||||
| purchasingdocumentname | vdm_purgdoc_name | Purch. Doc. Name | ||||
| purchasingdocumentorigin | estak | Status | ||||
| lastchangedatetime | changedatetime | Last Changed | ||||
| purchasingprocessingstatus | meprocstate | Proc. State | ||||
| isendofpurposeblocked | eopblocked | Busin. Purp. Cmpltd. | ||||
| purgdocexternalreference | mmpur_externalreferenceid | Ext. Reference ID | ||||
| purgoutlineagrmtextsystid | mmpur_ext_system | External System ID | ||||
| purgdocextreferencenodetype | mmpur_externaldocumenttype | Ext. Doc. Type | ||||
| purchasingdocumenttypename | batxt | Description | ||||
| purcontrconsumedval | mm_pur_oa_consumed_val | Consumed Value | ||||
| contractexpirypredicteddate | mm_a_cntr_expiry_predict_date | Predicted Expry Date | ||||
| purchasecontractvaliditystatus | mm_oa_validity_status | Validity Status | ||||
| purcontrvaliditystatusname | mm_oa_validity_status | Validity Status | ||||
| purcontrstatuscriticality | mm_oa_validity_criticality | Val. Status Critic. | ||||
| supplieroperationalscore | mm_a_supplier_opl_score | Operational Score | ||||
| purcontrhasadvncdusrinterface | mm_oa_adv_pctr_ind | Advncd Pur Contr Ind | ||||
| numberofdays | numberofdays | Number of Days | ||||
| isexpired | mm_oa_iscontractexpired | Contract is Expired | ||||
| purcontroutputctrltype | mm_oa_oc_type | Output Control Type | ||||
| purcontroutputctrlstatus | mm_oa_oc_status | Output Control Statu | ||||
| purcontroutputctrlstatustxt | mm_oa_oc_status_txt | OC Status Text | ||||
| purcontroutputctrltime | mm_oa_oc_time | Output Control Time | ||||
| weightedrelevance | mm_pur_oa_weighted_rel | Weighted Relevance | ||||
| contractconsumptioninpct | mmpur_oa_consumption_pct | Consumption Pct | ||||
| purcontrcnsmpncriticality | mm_oa_validity_criticality | Val. Status Critic. | ||||
| purcontrcriticalitystatus | mm_pur_ctr_criticality_status | Attention Required | ||||
| accworkflowapprover | mm_oa_approver_id | User | ||||
| accworkflowapproverfirstname | mm_oa_approver_name | Full Name | ||||
| approvalstatusname | val_text | Short Description | ||||
| approveruser | sww_aagent | Agent | ||||
| purcontrvaliditystatus_2 | mm_pur_ctr_validity_status | Validity Status | ||||
| createdbyusername | mm_oa_user_alias | Created By (User) | ||||
| iscontrrefofpurreqn | boole_d | TRUE | ||||
| changerecordreferenceuuid | sysuuid_x | UUID | ||||
| ispurcontrtemplate | mm_oa_iscontracttemplate | Is Contract Template | ||||
| purgcontractisinpreparation | boolean | Boolean Variable (X = True, - = False, Space = Unknown) | ||||
| purchasingdocumentstatus | val_text | Short Description | ||||
| purchasingitemhashierarchy | boolean | Boolean Variable (X = True, - = False, Space = Unknown) | ||||
| purcontrreworkcommenttext | mmpur_ctr_rework_comment | Comments to Approver | ||||
| purcontrapprovercommenttext | mmpur_ctr_approvercomment | Approver Comments | ||||
| purgaggrgdprodcmplncsuplrsts | mmpur_pc_total_status_pcs | Supplier Check Sts | ||||
| purghascatalogrelevantitems | mmpur_doc_is_catalog_relevant | Ctlg Item Rlvt Doc | ||||
| activepurchasingdocument | ebeln_ad | Active Purchase Doc | ||||
| purgdocchangerequeststatus | cr_stat | Change Request Stat. | ||||
| purchasingdocumentversion | revno | Version | ||||
| purgdocischgvers | xfeld | Checkbox | ||||
| purchasingdocversionreasoncode | rscod | Reason | ||||
| changerequestnote | val_text | Short Description | ||||
| hasactiveentity | sdraft_has_active | Has active |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- I_PURCHASECONTRACTWD I_PURCHASECONTRACTWD
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE PURCTR_HDR_D (
MANDT, -- Client [mandt]
DRAFTUUID, -- Key [/bobf/uuid]
PURCHASECONTRACT, -- Purchase Contract [vdm_purchasecontract]
PURCHASECONTRACTFOREDIT, -- Purchase Contract [vdm_purchasecontract]
PURCHASECONTRACTTYPE, -- Document Type [esart]
PURCHASINGDOCUMENTCATEGORY, -- Doc. Category [ebstyp]
CREATIONDATE, -- Created On [mmpur_erdat]
SUPPLIER, -- Supplier [md_supplier]
COMPANYCODE, -- Company Code [bukrs]
PURCHASINGORGANIZATION, -- Purchasing Org. [ekorg]
PURCHASINGGROUP, -- Purch. Group [bkgrp]
DOCUMENTCURRENCY, -- Currency [waers]
INCOTERMSCLASSIFICATION, -- Incoterms [inco1]
INCOTERMSTRANSFERLOCATION, -- Incoterms 2 [inco2]
PAYMENTTERMS, -- Payment Terms [farp_dzterm]
CASHDISCOUNT1DAYS, -- Days 1 [dzbd1t]
CASHDISCOUNT2DAYS, -- Days 2 [dzbd2t]
NETPAYMENTDAYS, -- Days Net [dzbd3t]
CASHDISCOUNT1PERCENT, -- CD Percentage 1 [dzbd1p]
CASHDISCOUNT2PERCENT, -- CD Percentage 2 [dzbd2p]
PURCHASECONTRACTTARGETAMOUNT, -- Target Value [ktwrt]
VALIDITYSTARTDATE, -- Validity Start [kdatb]
VALIDITYENDDATE, -- Validity End [kdate]
RELEASECODE, -- Release ind. [frgke]
CREATEDBYUSER, -- Created By [mmpur_ernam]
PURCHASINGDOCUMENTDELETIONCODE, -- Del. Indicator [eloek]
SUPPLIERADDRESSID, -- Address Number [ad_addrnum]
SUPPLYINGSUPPLIER, -- Goods Supplier [llief]
INVOICINGPARTY, -- Invoicing Party [lifre]
EXCHANGERATE, -- Exchange Rate [fis_exchange_rate]
EXCHANGERATEISFIXED, -- Fixed Exch.Rate [kufix]
QUOTATIONSUBMISSIONDATE, -- Quotation Date [ihran]
SUPPLIERQUOTATION, -- Quotation [angnr]
RELEASEISNOTCOMPLETED, -- Subj.to Release [frgrl]
CORRESPNCEXTERNALREFERENCE, -- Your Reference [ihrez]
CORRESPNCINTERNALREFERENCE, -- Our Reference [unsez]
SUPPLIERRESPSALESPERSONNAME, -- Salesperson [everk]
SUPPLIERPHONENUMBER, -- Supplier Phone [telfnr0]
INCOTERMSVERSION, -- Inco. Version [incov]
INCOTERMSLOCATION1, -- Inco. Location1 [inco2_l]
INCOTERMSLOCATION2, -- Inco. Location2 [inco3_l]
INCOTERMSLOCATION1IDENTIFIER, -- Incoterm Loc. 1 ID [tminco_loc_1_id]
INCOTERMSLOCATION2IDENTIFIER, -- Incoterm Loc. 2 ID [tminco_loc_2_id]
INCOTERMSDVTGLOCIDENTIFIER, -- Deviating Loc. ID [tminco_loc_d_id]
INCOTERMSDVTGLOCDESCRIPTION, -- Deviating Loc. Desc. [tminco_loc_d_descr]
INCOTERMSSUPCHNLOC1ADDLUUID, -- Incoterm Location 1 [/scmtms/inc_loc_1_key_nc]
INCOTERMSSUPCHNLOC2ADDLUUID, -- Incoterm Location 2 [/scmtms/inc_loc_2_key_nc]
INCOTERMSSUPCHNDVTGLOCADDLUUID, -- Dev. Destination [/scmtms/inc_dv_plce_dst_key_nc]
PURCHASINGDOCUMENTNAME, -- Purch. Doc. Name [vdm_purgdoc_name]
PURCHASINGDOCUMENTORIGIN, -- Status [estak]
LASTCHANGEDATETIME, -- Last Changed [changedatetime]
PURCHASINGPROCESSINGSTATUS, -- Proc. State [meprocstate]
ISENDOFPURPOSEBLOCKED, -- Busin. Purp. Cmpltd. [eopblocked]
PURGDOCEXTERNALREFERENCE, -- Ext. Reference ID [mmpur_externalreferenceid]
PURGOUTLINEAGRMTEXTSYSTID, -- External System ID [mmpur_ext_system]
PURGDOCEXTREFERENCENODETYPE, -- Ext. Doc. Type [mmpur_externaldocumenttype]
PURCHASINGDOCUMENTTYPENAME, -- Description [batxt]
PURCONTRCONSUMEDVAL, -- Consumed Value [mm_pur_oa_consumed_val]
CONTRACTEXPIRYPREDICTEDDATE, -- Predicted Expry Date [mm_a_cntr_expiry_predict_date]
PURCHASECONTRACTVALIDITYSTATUS, -- Validity Status [mm_oa_validity_status]
PURCONTRVALIDITYSTATUSNAME, -- Validity Status [mm_oa_validity_status]
PURCONTRSTATUSCRITICALITY, -- Val. Status Critic. [mm_oa_validity_criticality]
SUPPLIEROPERATIONALSCORE, -- Operational Score [mm_a_supplier_opl_score]
PURCONTRHASADVNCDUSRINTERFACE, -- Advncd Pur Contr Ind [mm_oa_adv_pctr_ind]
NUMBEROFDAYS, -- Number of Days [numberofdays]
ISEXPIRED, -- Contract is Expired [mm_oa_iscontractexpired]
PURCONTROUTPUTCTRLTYPE, -- Output Control Type [mm_oa_oc_type]
PURCONTROUTPUTCTRLSTATUS, -- Output Control Statu [mm_oa_oc_status]
PURCONTROUTPUTCTRLSTATUSTXT, -- OC Status Text [mm_oa_oc_status_txt]
PURCONTROUTPUTCTRLTIME, -- Output Control Time [mm_oa_oc_time]
WEIGHTEDRELEVANCE, -- Weighted Relevance [mm_pur_oa_weighted_rel]
CONTRACTCONSUMPTIONINPCT, -- Consumption Pct [mmpur_oa_consumption_pct]
PURCONTRCNSMPNCRITICALITY, -- Val. Status Critic. [mm_oa_validity_criticality]
PURCONTRCRITICALITYSTATUS, -- Attention Required [mm_pur_ctr_criticality_status]
ACCWORKFLOWAPPROVER, -- User [mm_oa_approver_id]
ACCWORKFLOWAPPROVERFIRSTNAME, -- Full Name [mm_oa_approver_name]
APPROVALSTATUSNAME, -- Short Description [val_text]
APPROVERUSER, -- Agent [sww_aagent]
PURCONTRVALIDITYSTATUS_2, -- Validity Status [mm_pur_ctr_validity_status]
CREATEDBYUSERNAME, -- Created By (User) [mm_oa_user_alias]
ISCONTRREFOFPURREQN, -- TRUE [boole_d]
CHANGERECORDREFERENCEUUID, -- UUID [sysuuid_x]
ISPURCONTRTEMPLATE, -- Is Contract Template [mm_oa_iscontracttemplate]
PURGCONTRACTISINPREPARATION, -- Boolean Variable (X = True, - = False, Space = Unknown) [boolean]
PURCHASINGDOCUMENTSTATUS, -- Short Description [val_text]
PURCHASINGITEMHASHIERARCHY, -- Boolean Variable (X = True, - = False, Space = Unknown) [boolean]
PURCONTRREWORKCOMMENTTEXT, -- Comments to Approver [mmpur_ctr_rework_comment]
PURCONTRAPPROVERCOMMENTTEXT, -- Approver Comments [mmpur_ctr_approvercomment]
PURGAGGRGDPRODCMPLNCSUPLRSTS, -- Supplier Check Sts [mmpur_pc_total_status_pcs]
PURGHASCATALOGRELEVANTITEMS, -- Ctlg Item Rlvt Doc [mmpur_doc_is_catalog_relevant]
ACTIVEPURCHASINGDOCUMENT, -- Active Purchase Doc [ebeln_ad]
PURGDOCCHANGEREQUESTSTATUS, -- Change Request Stat. [cr_stat]
PURCHASINGDOCUMENTVERSION, -- Version [revno]
PURGDOCISCHGVERS, -- Checkbox [xfeld]
PURCHASINGDOCVERSIONREASONCODE, -- Reason [rscod]
CHANGEREQUESTNOTE, -- Short Description [val_text]
HASACTIVEENTITY, -- Has active [sdraft_has_active]
PRIMARY KEY (MANDT, DRAFTUUID)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA