A_SchAgrmtHeader_2
Scheduling Agreement Header
A_SchAgrmtHeader_2 is a Consumption CDS View that provides data about "Scheduling Agreement Header" in SAP S/4HANA. It reads from 1 data source (R_SchedgAgrmtHdrTP) and exposes 53 fields with key field SchedulingAgreement.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SchedgAgrmtHdrTP | R_SchedgAgrmtHdrTP | projection |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Scheduling Agreement Header | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.modelingPattern | #TRANSACTIONAL_INTERFACE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| OData.entityType.name | SchedulingAgreementHeader_Type | view |
Fields (53)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SchedulingAgreement | SchedulingAgreement | Scheduling Agreement | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| PurchasingDocumentSubtype | PurchasingDocumentSubtype | Control | ||
| PurchasingDocumentTypeName | PurchasingDocumentTypeName | Description | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreatedByUserFullName | CreatedByUserFullName | Description | ||
| CreationDate | CreationDate | Time Stamp | ||
| Language | Language | Report Text Language | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| CashDiscount1Days | CashDiscount1Days | Days from Baseline Date for Payment | ||
| CashDiscount1Percent | CashDiscount1Percent | Disc. Percent 1 | ||
| CashDiscount2Days | CashDiscount2Days | Days from Baseline Date for Payment | ||
| CashDiscount2Percent | CashDiscount2Percent | Disc. Percent 2 | ||
| NetPaymentDays | NetPaymentDays | Net Pmt Terms Period | ||
| TargetAmount | TargetAmount | Target Value | ||
| AbsoluteExchangeRate | AbsoluteExchangeRate | Absolute Exchange Rate | ||
| ExchRateIsIndirectQuotation | ExchRateIsIndirectQuotation | Exchange Rate Is Indirect Quotation | ||
| EffectiveExchangeRate | EffectiveExchangeRate | Effective Exch. Rate | ||
| ExchangeRateIsFixed | ExchangeRateIsFixed | Fixed Exch.Rate | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| PurchasingDocumentOrderDate | PurchasingDocumentOrderDate | PO Date | ||
| ScheduleAgreementHasReleaseDoc | ScheduleAgreementHasReleaseDoc | |||
| Supplier | Supplier | Supplier | ||
| SupplierAddressID | SupplierAddressID | Address Number | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| PurchasingDocumentOrigin | PurchasingDocumentOrigin | Status | ||
| QuotationSubmissionDate | QuotationSubmissionDate | Quotation Date | ||
| SupplierQuotationExternalID | SupplierQuotationExternalID | Quotation | ||
| VATRegistrationCountry | VATRegistrationCountry | CtryRgnSlsTxNo. | ||
| InvoicingParty | InvoicingParty | Supplier | ||
| SupplyingSupplier | SupplyingSupplier | Goods Supplier | ||
| SupplierRespSalesPersonName | SupplierRespSalesPersonName | Salesperson | ||
| SupplierPhoneNumber | SupplierPhoneNumber | Telephone | ||
| CorrespncExternalReference | CorrespncExternalReference | Your Reference | ||
| CorrespncInternalReference | CorrespncInternalReference | Our Reference | ||
| CompanyVATRegistration | CompanyVATRegistration | |||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | Del. Indicator | ||
| ReleaseIsNotCompleted | ReleaseIsNotCompleted | Subj.to Release | ||
| PurchasingCompletenessStatus | PurchasingCompletenessStatus | Incomplete | ||
| PurchasingProcessingStatus | PurchasingProcessingStatus | Proc. State | ||
| PurgAggrgdProdCmplncSuplrSts | PurgAggrgdProdCmplncSuplrSts | Supplier Check Sts |
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 A_SchAgrmtHeader_2.
-- 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.
CREATE VIEW A_SchAgrmtHeader_2 AS
SELECT
SchedulingAgreement,
CompanyCode,
PurchasingDocumentCategory,
PurchasingDocumentType,
PurchasingDocumentSubtype,
PurchasingDocumentTypeName,
CreatedByUser,
CreatedByUserFullName,
CreationDate,
Language,
PurchasingOrganization,
PurchasingGroup,
DocumentCurrency,
PaymentTerms,
CashDiscount1Days,
CashDiscount1Percent,
CashDiscount2Days,
CashDiscount2Percent,
NetPaymentDays,
TargetAmount,
AbsoluteExchangeRate,
ExchRateIsIndirectQuotation,
EffectiveExchangeRate,
ExchangeRateIsFixed,
IncotermsVersion,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
PurchasingDocumentOrderDate,
ScheduleAgreementHasReleaseDoc,
Supplier,
SupplierAddressID,
ValidityStartDate,
ValidityEndDate,
PurchasingDocumentOrigin,
QuotationSubmissionDate,
SupplierQuotationExternalID,
VATRegistrationCountry,
InvoicingParty,
SupplyingSupplier,
SupplierRespSalesPersonName,
SupplierPhoneNumber,
CorrespncExternalReference,
CorrespncInternalReference,
CompanyVATRegistration,
LastChangeDateTime,
IsEndOfPurposeBlocked,
PurchasingDocumentDeletionCode,
ReleaseIsNotCompleted,
PurchasingCompletenessStatus,
PurchasingProcessingStatus,
PurgAggrgdProdCmplncSuplrSts
FROM R_SchedgAgrmtHdrTP
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA