I_RO_SAFTPurInvcPaymentTerm

DDL: I_RO_SAFTPURINVCPAYMENTTERM SQL: IROSAFTPYMTTERM Type: view COMPOSITE

RO SAFT Purchase Invoice Payment Terms

I_RO_SAFTPurInvcPaymentTerm is a Composite CDS View that provides data about "RO SAFT Purchase Invoice Payment Terms" in SAP S/4HANA.

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IROSAFTPYMTTERM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label RO SAFT Purchase Invoice Payment Terms view

Fields (7)

KeyFieldSource TableSource FieldDescription
AccountingDocument _AccountingItem AccountingDocument
CompanyCode _AccountingItem CompanyCode
FiscalYear _AccountingItem FiscalYear
PaymentTerms _AccountingItem PaymentTerms
EvaldReceiptSettlementIsActive _Supplier EvaldReceiptSettlementIsActive
AccountingDocCreatedByUser _AccountingDocument AccountingDocCreatedByUser
PostingDate _AccountingDocument PostingDate
@AbapCatalog.sqlViewName: 'IROSAFTPYMTTERM'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@AccessControl.personalData.blocking: #BLOCKED_DATA_INCLUDED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'RO SAFT Purchase Invoice Payment Terms'
define view I_RO_SAFTPurInvcPaymentTerm as select distinct from I_RO_SAFTAccountingItem as _AccountingItem
    join I_SupplierPurchasingOrg as _Supplier on  _AccountingItem.Supplier    = _Supplier.Supplier
                                              and _AccountingItem.CompanyCode = _Supplier.PurchasingOrganization
    join I_AccountingDocument as _AccountingDocument on   _AccountingDocument.CompanyCode = _AccountingItem.CompanyCode
                                                     and _AccountingDocument.AccountingDocument = _AccountingItem.AccountingDocument
    and  _AccountingDocument.FiscalYear = _AccountingItem.FiscalYear
    {
    _AccountingItem.AccountingDocument as AccountingDocument,
    _AccountingItem.CompanyCode as CompanyCode,
    _AccountingItem.FiscalYear as FiscalYear,
    _AccountingItem.PaymentTerms as PaymentTerms,
    _Supplier.EvaldReceiptSettlementIsActive as EvaldReceiptSettlementIsActive,
    _AccountingDocument.AccountingDocCreatedByUser as AccountingDocCreatedByUser,
    _AccountingDocument.PostingDate as PostingDate,
    //BatchID

    //SystemID

    concat(_AccountingDocument.CompanyCode, 
        concat(_AccountingDocument.FiscalYear, 
            concat(_AccountingDocument.AccountingDocumentType, _AccountingDocument.AccountingDocument))) as BusinessTransactionTypeName
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ACCOUNTINGDOCUMENT",
"I_RO_SAFTACCOUNTINGITEM",
"I_SUPPLIERPURCHASINGORG"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/