I_SALESCONTRACT

CDS View

Sales Contract

I_SALESCONTRACT is a CDS View in S/4HANA. Sales Contract. It contains 146 fields. 15 CDS views read from this table.

CDS Views using this table (15)

ViewTypeJoinVDMDescription
A_SalesContract view from COMPOSITE Sales Contract Header
C_Customer360SalesContract view_entity from CONSUMPTION Customer 360 Sales Contract
C_Salescontractfs view from CONSUMPTION Sales Contract
C_SalesContractWl_F1851 view from CONSUMPTION Sales Contracts
C_SalesContractWrkflwInbox view from CONSUMPTION Sales Contract Workflow - My Inbox
C_SalesContrForCreateWithRefVH view_entity from CONSUMPTION Sales Contract for Create Wth Reference
ESH_N_SALESCONTRACT view from
I_RU_Contract view union COMPOSITE Contracts in Russian Financials
I_SalesContractStdVH view from COMPOSITE Sales Contract
P_Contractwl_Duedays view from CONSUMPTION Due Days Calculation for Sales Contracts
P_RU_MONITOR_CONTRACTS_DS view union CONSUMPTION
P_SalesContractFulfillment view from CONSUMPTION Sales Contract Fulfillment
P_SalesContractProcessFlow0 view inner COMPOSITE Contract process flow level 0
P_SlsContractByFulfillmentPct view from CONSUMPTION Sales Contract By Fulfillment Percentage
R_SalesContractTP view_entity from TRANSACTIONAL Sales Contract - TP

Fields (146)

KeyField CDS FieldsUsed in Views
KEY SalesContract SalesContract 5
_AdditionalCustomerGroup1 _AdditionalCustomerGroup1 1
_AdditionalCustomerGroup2 _AdditionalCustomerGroup2 1
_AdditionalCustomerGroup3 _AdditionalCustomerGroup3 1
_AdditionalCustomerGroup4 _AdditionalCustomerGroup4 1
_AdditionalCustomerGroup5 _AdditionalCustomerGroup5 1
_BillingCompanyCode _BillingCompanyCode 1
_CentralCreditCheckStatus _CentralCreditCheckStatus 1
_CentralCreditChkTechErrSts _CentralCreditChkTechErrSts 1
_ControllingArea _ControllingArea 1
_CreatedByUser _CreatedByUser 1
_CustomerAccountAssgmtGroup _CustomerAccountAssgmtGroup 1
_CustomerGroup _CustomerGroup 1
_CustomerPaymentTerms _CustomerPaymentTerms 1
_CustomerPriceGroup _CustomerPriceGroup 1
_DistributionChannel _DistributionChannel 1
_DownPaymentStatus _DownPaymentStatus 2
_ExprtInsurCreditCheckStatus _ExprtInsurCreditCheckStatus 1
_FinDocCreditCheckStatus _FinDocCreditCheckStatus 1
_HdrGeneralIncompletionStatus _HdrGeneralIncompletionStatus 1
_HeaderBillgIncompletionStatus _HeaderBillgIncompletionStatus 1
_HeaderBillingBlockReason _HeaderBillingBlockReason 1
_IncotermsClassification _IncotermsClassification 1
_IncotermsVersion _IncotermsVersion 1
_LastChangedByUser _LastChangedByUser 1
_MaxDocValueCreditCheckStatus _MaxDocValueCreditCheckStatus 1
_OrganizationDivision _OrganizationDivision 2
_OverallBillingBlockStatus _OverallBillingBlockStatus 1
_OverallChmlCmplncStatus _OverallChmlCmplncStatus 1
_OverallDangerousGoodsStatus _OverallDangerousGoodsStatus 1
_OverallPricingIncompletionSts _OverallPricingIncompletionSts 1
_OverallSDDocReferenceStatus _OverallSDDocReferenceStatus 2
_OverallSDDocumentRejectionSts _OverallSDDocumentRejectionSts 2
_OverallSDProcessStatus _OverallSDProcessStatus 2
_OverallTotalSDDocRefStatus _OverallTotalSDDocRefStatus 1
_OvrlItmBillingIncompletionSts _OvrlItmBillingIncompletionSts 1
_OvrlItmGeneralIncompletionSts _OvrlItmGeneralIncompletionSts 1
_OvrlSftyDataSheetSts _OvrlSftyDataSheetSts 1
_OvrlTradeCmplncEmbargoStatus _OvrlTradeCmplncEmbargoStatus 2
_OvrlTrdCmplncLegalCtrlChkSts _OvrlTrdCmplncLegalCtrlChkSts 1
_OvTrdCmplncSnctndListChkSts _OvTrdCmplncSnctndListChkSts 2
_PaymentTermCreditCheckStatus _PaymentTermCreditCheckStatus 1
_PaytAuthsnCreditCheckSts _PaytAuthsnCreditCheckSts 1
_PriceListType _PriceListType 1
_SalesContractApprovalReason _SalesContractApprovalReason 1
_SalesContractType _SalesContractType 1
_SalesContractValidityPerdCat _SalesContractValidityPerdCat 1
_SalesDistrict _SalesDistrict 1
_SalesDocApprovalStatus _SalesDocApprovalStatus 2
_SalesGroup _SalesGroup 1
_SalesOffice _SalesOffice 1
_SalesOrganization _SalesOrganization 2
_SDDocumentReason _SDDocumentReason 1
_SDPricingProcedure _SDPricingProcedure 1
_ShippingCondition _ShippingCondition 1
_ShippingType _ShippingType 1
_StandardPartner _StandardPartner 1
_TaxDepartureCountry _TaxDepartureCountry 1
_TotalBlockStatus _TotalBlockStatus 1
_TotalCreditCheckStatus _TotalCreditCheckStatus 1
_TransactionCurrency _TransactionCurrency 2
_VATRegistrationCountry _VATRegistrationCountry 1
AccountingDocExternalReference AccountingDocExternalReference 1
AdditionalCustomerGroup1 AdditionalCustomerGroup1 1
AdditionalCustomerGroup2 AdditionalCustomerGroup2 1
AdditionalCustomerGroup3 AdditionalCustomerGroup3 1
AdditionalCustomerGroup4 AdditionalCustomerGroup4 1
AdditionalCustomerGroup5 AdditionalCustomerGroup5 1
AssignmentReference AssignmentReference 1
BillingCompanyCode BillingCompanyCode 1
BillingDocumentDate BillingDocumentDate 1
CentralCreditCheckStatus CentralCreditCheckStatus 1
CentralCreditChkTechErrSts CentralCreditChkTechErrSts 1
CompleteDeliveryIsDefined CompleteDeliveryIsDefined 1
ContractDownPaymentStatus ContractDownPaymentStatus 3
ContractManualCompletion ContractManualCompletion 1
ControllingArea ControllingArea 1
CreatedByUser CreatedByUser 3
CreationDate CreationDate 4
CreationTime CreationTime 2
CustomerAccountAssignmentGroup CustomerAccountAssignmentGroup 1
CustomerGroup CustomerGroup 1
CustomerPaymentTerms CustomerPaymentTerms 1
CustomerPriceGroup CustomerPriceGroup 1
CustomerPurchaseOrderDate CustomerPurchaseOrderDate 1
CustomerPurchaseOrderSuplmnt CustomerPurchaseOrderSuplmnt 1
CustomerPurchaseOrderType CustomerPurchaseOrderType 1
DistributionChannel DistributionChannel 4
ExprtInsurCreditCheckStatus ExprtInsurCreditCheckStatus 1
FinDocCreditCheckStatus FinDocCreditCheckStatus 1
FixedValueDate FixedValueDate 1
HeaderBillgIncompletionStatus HeaderBillgIncompletionStatus 1
HeaderBillingBlockReason HeaderBillingBlockReason 1
IncotermsClassification IncotermsClassification 1
IncotermsLocation1 IncotermsLocation1 1
IncotermsLocation2 IncotermsLocation2 1
IncotermsTransferLocation IncotermsTransferLocation 1
IncotermsVersion IncotermsVersion 1
LastChangeDate LastChangeDate 3
LastChangedByUser LastChangedByUser 3
MaxDocValueCreditCheckStatus MaxDocValueCreditCheckStatus 1
OrganizationDivision OrganizationDivision 4
OverallBillingBlockStatus OverallBillingBlockStatus 1
OverallChmlCmplncStatus OverallChmlCmplncStatus 1
OverallDangerousGoodsStatus OverallDangerousGoodsStatus 1
OverallPricingIncompletionSts OverallPricingIncompletionSts 1
OverallSafetyDataSheetStatus OverallSafetyDataSheetStatus 1
OverallSDDocReferenceStatus OverallSDDocReferenceStatus 4
OverallSDDocumentRejectionSts OverallSDDocumentRejectionSts 3
OverallSDProcessStatus OverallSDProcessStatus 4
OverallTotalSDDocRefStatus OverallTotalSDDocRefStatus 1
OverallTrdCmplncEmbargoSts OverallTrdCmplncEmbargoSts 1
OvrlItmBillingIncompletionSts OvrlItmBillingIncompletionSts 1
OvrlTrdCmplncLegalCtrlChkSts OvrlTrdCmplncLegalCtrlChkSts 1
OvrlTrdCmplncSnctndListChkSts OvrlTrdCmplncSnctndListChkSts 1
PaymentMethod PaymentMethod 1
PaymentTermCreditCheckStatus PaymentTermCreditCheckStatus 1
PaytAuthsnCreditCheckSts PaytAuthsnCreditCheckSts 1
PriceListType PriceListType 1
PricingDate PricingDate 1
PurchaseOrderByCustomer PurchaseOrderByCustomer 4
PurchaseOrderByShipToParty PurchaseOrderByShipToParty 1
ReferenceSDDocument ReferenceSDDocument 1
ReferenceSDDocumentCategory ReferenceSDDocumentCategory 1
SalesContractDate SalesContractDate 3
SalesContractType SalesContractType 4
SalesContractValidityEndDate SalesContractValidityEndDate 4
SalesContractValidityPerdCat SalesContractValidityPerdCat 1
SalesContractValidityStartDate SalesContractValidityStartDate 4
SalesDistrict SalesDistrict 1
SalesDocApprovalStatus SalesDocApprovalStatus 3
SalesGroup SalesGroup 3
SalesOffice SalesOffice 3
SalesOrganization SalesOrganization 4
SDDocumentReason SDDocumentReason 1
SDPricingProcedure SDPricingProcedure 1
ServicesRenderedDate ServicesRenderedDate 1
ShippingCondition ShippingCondition 1
ShippingType ShippingType 1
SoldToParty SoldToParty 4
TaxDepartureCountry TaxDepartureCountry 1
TotalBlockStatus TotalBlockStatus 1
TotalCreditCheckStatus TotalCreditCheckStatus 1
TotalNetAmount TotalNetAmount 3
TransactionCurrency TransactionCurrency 3
VATRegistrationCountry VATRegistrationCountry 1

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.

-- Sales Contract
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE I_SALESCONTRACT (
    SALESCONTRACT,
    _ADDITIONALCUSTOMERGROUP1,
    _ADDITIONALCUSTOMERGROUP2,
    _ADDITIONALCUSTOMERGROUP3,
    _ADDITIONALCUSTOMERGROUP4,
    _ADDITIONALCUSTOMERGROUP5,
    _BILLINGCOMPANYCODE,
    _CENTRALCREDITCHECKSTATUS,
    _CENTRALCREDITCHKTECHERRSTS,
    _CONTROLLINGAREA,
    _CREATEDBYUSER,
    _CUSTOMERACCOUNTASSGMTGROUP,
    _CUSTOMERGROUP,
    _CUSTOMERPAYMENTTERMS,
    _CUSTOMERPRICEGROUP,
    _DISTRIBUTIONCHANNEL,
    _DOWNPAYMENTSTATUS,
    _EXPRTINSURCREDITCHECKSTATUS,
    _FINDOCCREDITCHECKSTATUS,
    _HDRGENERALINCOMPLETIONSTATUS,
    _HEADERBILLGINCOMPLETIONSTATUS,
    _HEADERBILLINGBLOCKREASON,
    _INCOTERMSCLASSIFICATION,
    _INCOTERMSVERSION,
    _LASTCHANGEDBYUSER,
    _MAXDOCVALUECREDITCHECKSTATUS,
    _ORGANIZATIONDIVISION,
    _OVERALLBILLINGBLOCKSTATUS,
    _OVERALLCHMLCMPLNCSTATUS,
    _OVERALLDANGEROUSGOODSSTATUS,
    _OVERALLPRICINGINCOMPLETIONSTS,
    _OVERALLSDDOCREFERENCESTATUS,
    _OVERALLSDDOCUMENTREJECTIONSTS,
    _OVERALLSDPROCESSSTATUS,
    _OVERALLTOTALSDDOCREFSTATUS,
    _OVRLITMBILLINGINCOMPLETIONSTS,
    _OVRLITMGENERALINCOMPLETIONSTS,
    _OVRLSFTYDATASHEETSTS,
    _OVRLTRADECMPLNCEMBARGOSTATUS,
    _OVRLTRDCMPLNCLEGALCTRLCHKSTS,
    _OVTRDCMPLNCSNCTNDLISTCHKSTS,
    _PAYMENTTERMCREDITCHECKSTATUS,
    _PAYTAUTHSNCREDITCHECKSTS,
    _PRICELISTTYPE,
    _SALESCONTRACTAPPROVALREASON,
    _SALESCONTRACTTYPE,
    _SALESCONTRACTVALIDITYPERDCAT,
    _SALESDISTRICT,
    _SALESDOCAPPROVALSTATUS,
    _SALESGROUP,
    _SALESOFFICE,
    _SALESORGANIZATION,
    _SDDOCUMENTREASON,
    _SDPRICINGPROCEDURE,
    _SHIPPINGCONDITION,
    _SHIPPINGTYPE,
    _STANDARDPARTNER,
    _TAXDEPARTURECOUNTRY,
    _TOTALBLOCKSTATUS,
    _TOTALCREDITCHECKSTATUS,
    _TRANSACTIONCURRENCY,
    _VATREGISTRATIONCOUNTRY,
    ACCOUNTINGDOCEXTERNALREFERENCE,
    ADDITIONALCUSTOMERGROUP1,
    ADDITIONALCUSTOMERGROUP2,
    ADDITIONALCUSTOMERGROUP3,
    ADDITIONALCUSTOMERGROUP4,
    ADDITIONALCUSTOMERGROUP5,
    ASSIGNMENTREFERENCE,
    BILLINGCOMPANYCODE,
    BILLINGDOCUMENTDATE,
    CENTRALCREDITCHECKSTATUS,
    CENTRALCREDITCHKTECHERRSTS,
    COMPLETEDELIVERYISDEFINED,
    CONTRACTDOWNPAYMENTSTATUS,
    CONTRACTMANUALCOMPLETION,
    CONTROLLINGAREA,
    CREATEDBYUSER,
    CREATIONDATE,
    CREATIONTIME,
    CUSTOMERACCOUNTASSIGNMENTGROUP,
    CUSTOMERGROUP,
    CUSTOMERPAYMENTTERMS,
    CUSTOMERPRICEGROUP,
    CUSTOMERPURCHASEORDERDATE,
    CUSTOMERPURCHASEORDERSUPLMNT,
    CUSTOMERPURCHASEORDERTYPE,
    DISTRIBUTIONCHANNEL,
    EXPRTINSURCREDITCHECKSTATUS,
    FINDOCCREDITCHECKSTATUS,
    FIXEDVALUEDATE,
    HEADERBILLGINCOMPLETIONSTATUS,
    HEADERBILLINGBLOCKREASON,
    INCOTERMSCLASSIFICATION,
    INCOTERMSLOCATION1,
    INCOTERMSLOCATION2,
    INCOTERMSTRANSFERLOCATION,
    INCOTERMSVERSION,
    LASTCHANGEDATE,
    LASTCHANGEDBYUSER,
    MAXDOCVALUECREDITCHECKSTATUS,
    ORGANIZATIONDIVISION,
    OVERALLBILLINGBLOCKSTATUS,
    OVERALLCHMLCMPLNCSTATUS,
    OVERALLDANGEROUSGOODSSTATUS,
    OVERALLPRICINGINCOMPLETIONSTS,
    OVERALLSAFETYDATASHEETSTATUS,
    OVERALLSDDOCREFERENCESTATUS,
    OVERALLSDDOCUMENTREJECTIONSTS,
    OVERALLSDPROCESSSTATUS,
    OVERALLTOTALSDDOCREFSTATUS,
    OVERALLTRDCMPLNCEMBARGOSTS,
    OVRLITMBILLINGINCOMPLETIONSTS,
    OVRLTRDCMPLNCLEGALCTRLCHKSTS,
    OVRLTRDCMPLNCSNCTNDLISTCHKSTS,
    PAYMENTMETHOD,
    PAYMENTTERMCREDITCHECKSTATUS,
    PAYTAUTHSNCREDITCHECKSTS,
    PRICELISTTYPE,
    PRICINGDATE,
    PURCHASEORDERBYCUSTOMER,
    PURCHASEORDERBYSHIPTOPARTY,
    REFERENCESDDOCUMENT,
    REFERENCESDDOCUMENTCATEGORY,
    SALESCONTRACTDATE,
    SALESCONTRACTTYPE,
    SALESCONTRACTVALIDITYENDDATE,
    SALESCONTRACTVALIDITYPERDCAT,
    SALESCONTRACTVALIDITYSTARTDATE,
    SALESDISTRICT,
    SALESDOCAPPROVALSTATUS,
    SALESGROUP,
    SALESOFFICE,
    SALESORGANIZATION,
    SDDOCUMENTREASON,
    SDPRICINGPROCEDURE,
    SERVICESRENDEREDDATE,
    SHIPPINGCONDITION,
    SHIPPINGTYPE,
    SOLDTOPARTY,
    TAXDEPARTURECOUNTRY,
    TOTALBLOCKSTATUS,
    TOTALCREDITCHECKSTATUS,
    TOTALNETAMOUNT,
    TRANSACTIONCURRENCY,
    VATREGISTRATIONCOUNTRY,
    PRIMARY KEY (SALESCONTRACT)
);