I_SrvcDocPaymentMethod

DDL: I_SRVCDOCPAYMENTMETHOD SQL: ISRVPYMTHDS Type: view COMPOSITE

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

CategoryCommon 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

View on SAP Help Portal →

Data Sources (2)

SourceAliasJoin Type
I_PaymentMethod _PaymentMethod from
P_SlsOrgIDDetmCountry _SlsOrgIDDetmCountry inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SrvcMgmtOrganizationUnit _SalesOrganizationOrgUnit $projection.OrgUnitTypeIDConcatenated = _SalesOrganizationOrgUnit.OrgUnitTypeIDConcatenated
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization

Annotations (14)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;