I_SrvcDocPaymentMethod
Service Transaction Payment Method
I_SrvcDocPaymentMethod is a Composite CDS View that provides data about "Service Transaction Payment Method" in SAP S/4HANA. It reads from 2 data sources (I_PaymentMethod, P_SlsOrgIDDetmCountry) and exposes 7 fields with key fields PaymentMethod, SalesOrganization. It has 2 associations to related views.
SAP Help Documentation
| Category | Common CDS Views for Service |
|---|
Purpose
This CDS view provides payment method codes specific to each country or region. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization. Configuration The view uses data from customizing tables T042Z and the text table T042ZT. Therefore, it's essential to maintain these tables to include the relevant data.
Structure
Important Fields Important fields in this view include the following: Field Name Description PaymentMethod Key Payment Method SalesOrganization Key Sales Organization OrgUnitTypeIDConcatenated Key Object type/object ID Country Country/Region Key PaymentMethodDescription Description
This CDS view provides payment method codes specific to each country or region. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization. Configuration The view uses data from customizing tables T042Z and the text table T042ZT. Therefore, it's essential to maintain these tables to include the relevant data.
Structure
Important Fields Important fields in this view include the following: Field Name Description PaymentMethod Key Payment Method SalesOrganization Key Sales Organization OrgUnitTypeIDConcatenated Key Object type/object ID Country Country/Region Key PaymentMethodDescription Description
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PaymentMethod | _PaymentMethod | from |
| P_SlsOrgIDDetmCountry | _SlsOrgIDDetmCountry | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SrvcMgmtOrganizationUnit | _SalesOrganizationOrgUnit | $projection.OrgUnitTypeIDConcatenated = _SalesOrganizationOrgUnit.OrgUnitTypeIDConcatenated |
| [0..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISRVPYMTHDS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Service Transaction Payment Method | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | PaymentMethod | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Search.searchable | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PaymentMethod | I_PaymentMethod | PaymentMethod | Pymt Meth. |
| KEY | SalesOrganization | P_SlsOrgIDDetmCountry | SalesOrganization | Sales Organization |
| Country | I_PaymentMethod | Country | Venue: Ctry/Reg | |
| PaymentMethodDescription | ||||
| _Text | I_PaymentMethod | _Text | ||
| _SalesOrganization | _SalesOrganization | |||
| _SalesOrganizationOrgUnit | _SalesOrganizationOrgUnit |
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_SrvcDocPaymentMethod.
-- 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: ISRVPYMTHDS
CREATE VIEW I_SrvcDocPaymentMethod AS
SELECT
_PaymentMethod.PaymentMethod AS PaymentMethod,
_SlsOrgIDDetmCountry.SalesOrganization AS SalesOrganization,
_PaymentMethod.Country AS Country,
_PaymentMethod._Text[1:Language = $session.system_language and _PaymentMethod.Country = Country and _PaymentMethod.PaymentMethod = PaymentMethod].PaymentMethodDescription AS PaymentMethodDescription,
_PaymentMethod._Text AS _Text
FROM I_PaymentMethod AS _PaymentMethod
INNER JOIN P_SlsOrgIDDetmCountry AS _SlsOrgIDDetmCountry ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SrvcMgmtOrganizationUnit AS _SalesOrganizationOrgUnit ON OrgUnitTypeIDConcatenated = _SalesOrganizationOrgUnit.OrgUnitTypeIDConcatenated -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization -- association [0..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