SrfHelperWwhldgGBEnvelope

DDL: SRFHELPERWHLDGGBENVELOPE SQL: SRF_WHT_GB_ENV Type: view

Calculated Values for GB GovTalk Envelope XML

SrfHelperWwhldgGBEnvelope is a CDS View that provides data about "Calculated Values for GB GovTalk Envelope XML" in SAP S/4HANA. It reads from 1 data source (I_SAPClient) and exposes 1 field.

Data Sources (1)

SourceAliasJoin Type
I_SAPClient I_SAPClient from

Parameters (2)

NameTypeDefault
P_IsTestSubmission abap.char( 1 )
P_ClassID abap.char( 32 )

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName SRF_WHT_GB_ENV view
EndUserText.label Calculated Values for GB GovTalk Envelope XML view
AccessControl.authorizationCheck #NOT_ALLOWED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (1)

KeyFieldSource TableSource FieldDescription
P_ClassIDCIS300MRendasClassID
@AbapCatalog.sqlViewName: 'SRF_WHT_GB_ENV'
@EndUserText.label: 'Calculated Values for GB GovTalk Envelope XML'
@AccessControl.authorizationCheck: #NOT_ALLOWED 
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #MIXED
//Deprecated:  do not use this CDS anymore.

define view SrfHelperWwhldgGBEnvelope 
with parameters 
    P_IsTestSubmission: abap.char( 1 ),
    P_ClassID: abap.char( 32 )
  as
  select from I_SAPClient  //dummy select, CDS view only used for calculations

{ 
    case $parameters.P_IsTestSubmission 
      when 'X' then concat($parameters.P_ClassID, '-VERIFY') // "test in live submission"

      else concat($parameters.P_ClassID, '-CIS300MR') // workaround since parameter can not be returned directly

    end as ClassID
}