Srf_Ushelpzipcode

DDL: SRF_USHELPZIPCODE SQL: SRFUSHLPZIPCODE Type: view

Helper view to convert ZIP code

Srf_Ushelpzipcode is a CDS View that provides data about "Helper view to convert ZIP code" in SAP S/4HANA. It reads from 1 data source (I_SAPClient) and exposes 2 fields.

Data Sources (1)

SourceAliasJoin Type
I_SAPClient I_SAPClient from

Parameters (2)

NameTypeDefault
p_zipcode abap.char( 10 )
p_agentzipcode abap.char( 10 )

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName SRFUSHLPZIPCODE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_ALLOWED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Helper view to convert ZIP code view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (2)

KeyFieldSource TableSource FieldDescription
Zipcode
PostalCode
@AbapCatalog.sqlViewName: 'SRFUSHLPZIPCODE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Helper view to convert ZIP code'
@ObjectModel.usageType.serviceQuality:#D
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass:#MIXED

define view Srf_Ushelpzipcode 
with parameters p_zipcode: abap.char( 10 ),
                p_agentzipcode: abap.char( 10 )
 as select from I_SAPClient //dummy

{
      replace($parameters.p_zipcode, '-', '')     as Zipcode,
      replace($parameters.p_agentzipcode, '-','') as PostalCode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SAPCLIENT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/