A_SalesOrderTypeText

DDL: A_SALESORDERTYPETEXT SQL: ASOTYPETEXT Type: view BASIC

Sales Order type text

A_SalesOrderTypeText is a Basic CDS View that provides data about "Sales Order type text" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentTypeText) and exposes 3 fields with key fields SalesDocumentType, Language.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentTypeText _SalesDocumentTypeText from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ASOTYPETEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Sales Order type text view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SalesDocumentType
KEY Language I_SalesDocumentTypeText Language
SalesDocumentTypeName I_SalesDocumentTypeText SalesDocumentTypeName
@AbapCatalog.sqlViewName: 'ASOTYPETEXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Sales Order type text'
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel: {
    usageType: {
        sizeCategory: #S,
        serviceQuality: #C,
        dataClass:#CUSTOMIZING
        },
    createEnabled: false,
    updateEnabled: false
}

@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API

@Metadata.ignorePropagatedAnnotations: true

@AccessControl.personalData.blocking:#NOT_REQUIRED

define view A_SalesOrderTypeText as select from I_SalesDocumentTypeText as _SalesDocumentTypeText 
left outer to one join I_SalesDocumentTypeLangDepdnt as _SalesDocumentTypeLangDep on _SalesDocumentTypeText.SalesDocumentType = _SalesDocumentTypeLangDep.SalesDocumentType
                                                and _SalesDocumentTypeText.Language = _SalesDocumentTypeLangDep.Language

{

 key cast(_SalesDocumentTypeText.SalesDocumentType as abap.char(4) ) as SalesDocumentType ,
 key _SalesDocumentTypeText.Language,
       case  
       when _SalesDocumentTypeLangDep.SalesDocumentTypeLangDepdnt is null  then cast(_SalesDocumentTypeText.SalesDocumentType as abap.char(4) )
       else  _SalesDocumentTypeLangDep.SalesDocumentTypeLangDepdnt
       end as SalesOrderType, 
  _SalesDocumentTypeText.SalesDocumentTypeName
      
      
     
      
} 

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESDOCUMENTTYPELANGDEPDNT",
"I_SALESDOCUMENTTYPETEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/