I_JP_SubcontrgPaymentTerm
Print Payment term for JP Subcontracting
I_JP_SubcontrgPaymentTerm is a Basic CDS View that provides data about "Print Payment term for JP Subcontracting" in SAP S/4HANA. It reads from 2 data sources (glo_sc_aplpar_jp, I_JP_SubcontrgSuplr) and exposes 15 fields with key fields Supplier, CompanyCode, PurchasingOrganization. It has 4 associations to related views. Part of development package GLO_LOG_JP_SC_PPT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| glo_sc_aplpar_jp | glo_sc_aplpar_jp | left_outer |
| I_JP_SubcontrgSuplr | I_JP_SubcontrgSuplr | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_HouseBankMaster | _HouseBank | $projection.CompanyCode = _HouseBank.CompanyCode and $projection.HouseBank = _HouseBank.HouseBank |
| [1..*] | I_SupplierPurchasingOrg | _SupplierPurchasingOrg | $projection.Supplier = _SupplierPurchasingOrg.Supplier |
| [1..1] | I_PurchasingOrganization | _PurchasingOrg | _PurchasingOrg.PurchasingOrganization = $projection.PurchasingOrganization |
| [1..1] | I_JP_SubcontrgSubcontractorVH | _Subcontract | $projection.JP_SubcontractorType = _Subcontract.JP_SubcontractorType |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Print Payment term for JP Subcontracting | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | |||
| KEY | CompanyCode | |||
| KEY | PurchasingOrganization | _SupplierPurchasingOrg | PurchasingOrganization | Purchasing Organization |
| JP_SubcontractorType | I_JP_SubcontrgSuplr | JP_SubcontractorType | Subcontractor Type | |
| JP_SubcontractorTypeDomainText | _Subcontract | JP_SubcontractorTypeDomainText | ||
| PaymentTermsendasPaymentTerms | ||||
| JP_CompletionDateOfInspValue | I_JP_SubcontrgSuplr | JP_CompletionDateOfInspValue | Completion Date | |
| HouseBank | ||||
| BankCountry | ||||
| BankInternalID | ||||
| EffectiveDate | glo_sc_aplpar_jp | effctv_date | ||
| _CompanyCode | I_JP_SubcontrgSuplr | _CompanyCode | ||
| _Supplier | I_JP_SubcontrgSuplr | _Supplier | ||
| _SupplierPurchasingOrg | _SupplierPurchasingOrg | |||
| _PurchasingOrg | _PurchasingOrg |
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 I_JP_SubcontrgPaymentTerm.
-- 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 I_JP_SubcontrgPaymentTerm AS
SELECT
cast(I_JP_SubcontrgSuplr.Supplier as lifnr preserving type ) AS Supplier,
cast(I_JP_SubcontrgSuplr.CompanyCode as bukrs preserving type ) AS CompanyCode,
_SupplierPurchasingOrg.PurchasingOrganization AS PurchasingOrganization,
I_JP_SubcontrgSuplr.JP_SubcontractorType AS JP_SubcontractorType,
_Subcontract.JP_SubcontractorTypeDomainText AS JP_SubcontractorTypeDomainText,
case when _SupplierPurchasingOrg.PaymentTerms is not null then _SupplierPurchasingOrg.PaymentTerms else I_JP_SubcontrgSuplr.PaymentTerms end as PaymentTerms AS PaymentTermsendasPaymentTerms,
I_JP_SubcontrgSuplr.JP_CompletionDateOfInspValue AS JP_CompletionDateOfInspValue,
cast(I_JP_SubcontrgSuplr.HouseBank as hbkid preserving type ) AS HouseBank,
cast(_HouseBank.BankCountry as banks preserving type ) AS BankCountry,
cast(_HouseBank.BankInternalID as bankl preserving type ) AS BankInternalID,
glo_sc_aplpar_jp.effctv_date AS EffectiveDate,
I_JP_SubcontrgSuplr._CompanyCode AS _CompanyCode,
I_JP_SubcontrgSuplr._Supplier AS _Supplier
FROM I_JP_SubcontrgSuplr
LEFT OUTER JOIN glo_sc_aplpar_jp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_HouseBankMaster AS _HouseBank ON CompanyCode = _HouseBank.CompanyCode AND HouseBank = _HouseBank.HouseBank -- association [1..1]
LEFT OUTER JOIN I_SupplierPurchasingOrg AS _SupplierPurchasingOrg ON Supplier = _SupplierPurchasingOrg.Supplier -- association [1..*]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrg ON _PurchasingOrg.PurchasingOrganization = PurchasingOrganization -- association [1..1]
LEFT OUTER JOIN I_JP_SubcontrgSubcontractorVH AS _Subcontract ON JP_SubcontractorType = _Subcontract.JP_SubcontractorType -- association [1..1]
;
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