C_LglCntntMDocImportantCat

DDL: C_LGLCNTNTMDOCIMPORTANTCAT SQL: CLEGALDOCIMPCAT Type: view CONSUMPTION

Documents with Important Category

C_LglCntntMDocImportantCat is a Consumption CDS View that provides data about "Documents with Important Category" in SAP S/4HANA. It reads from 2 data sources (I_LglCntntMCategory, I_LglCntntMDocCategory) and exposes 4 fields with key field LglCntntMDocumentUUID. It is exposed through 2 OData services (UI_SOURCINGPROJECT_MANAGE, UI_SRCGPROJQUOTATION_MANAGE). It is used in 3 Fiori applications: Manage Sourcing Projects, Display Sourcing Project, Contribute to Sourcing Projects.

Data Sources (2)

SourceAliasJoin Type
I_LglCntntMCategory Category inner
I_LglCntntMDocCategory DocCategory from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CLEGALDOCIMPCAT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey LglCntntMDocumentUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Documents with Important Category view

OData Services (2)

ServiceBindingVersionContractRelease
UI_SOURCINGPROJECT_MANAGE UI_SOURCINGPROJECT_MANAGE V2 C1 NOT_RELEASED
UI_SRCGPROJQUOTATION_MANAGE UI_SRCGPROJQTN_MANAGE V2 C1 NOT_RELEASED

Fiori Apps (3)

App IDApp NameTypeDescription
F4861 Manage Sourcing Projects Transactional An application to create and manage sourcing projects.
F5934 Display Sourcing Project Transactional An application to approve Sourcing Projects.
F7757 Contribute to Sourcing Projects Transactional The app is an application to contribute to sourcing projects as an additional user.

Manage Sourcing Projects

Business Role: Sourcing Manager

Key functionalities:1. Support for "strategic" and "demand driven" sourcing processes2. Determine and invite suppliers as per "preferred supplier list"3. Create/add legal and other co-applicable documents to the sourcing project4. Evaluate and negotiate supplier quotations5. Create awarding scenarios to award the most suitable supplier quotations6. Create follow-on documents for the awarded quotations – purchase orders or central purchase contractsFor more information, see Product Sourcing.

Display Sourcing Project

Business Role: Purchasing Manager

Key functionalities:1. Support for "strategic" and "demand driven" sourcing processes2. Determine and invite suppliers as per "preferred supplier list"3. Create/add legal and other co-applicable documents to the sourcing project4. Evaluate and negotiate supplier quotations5. Create awarding scenarios to award the most suitable supplier quotations6. Create follow-on documents for the awarded quotations – purchase orders or central purchase contractsFor more information, see Product Sourcing.

Contribute to Sourcing Projects

Business Role: Employee - Sourcing

With this release, if the sourcing managers invite you to contribute, you can support them by enhancing the sourcing projects that they have created. For example, you can add attachments to the sourcing projects that you are invited to contribute to.

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMDocumentUUID I_LglCntntMDocCategory LglCntntMDocumentUUID
LglCntntMCategory I_LglCntntMDocCategory LglCntntMCategory
LglCntntMCatConstant I_LglCntntMCategory LglCntntMCatConstant
_DocumentAuth I_LglCntntMDocCategory _DocumentAuth
@AbapCatalog.sqlViewName: 'CLEGALDOCIMPCAT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@ObjectModel: {
  representativeKey: 'LglCntntMDocumentUUID',
  usageType.serviceQuality: #C,
  usageType.sizeCategory: #L,
  usageType.dataClass: #TRANSACTIONAL
}

@EndUserText.label: 'Documents with Important Category'

define view C_LglCntntMDocImportantCat
  as select from I_LglCntntMDocCategory as DocCategory
    inner join   I_LglCntntMCategory    as Category on  DocCategory.LglCntntMCategory        = Category.LglCntntMCategory
                                                    and (
                                                       Category.LglCntntMCatConstant         = 'SAP_CM_LABEL_IMP_YES'
                                                       or Category.LglCntntMCatConstant      = 'SAP_CM_LABEL_IMP_NO'
                                                     )
                                                    and Category.LglCntntMCatIsSystGenerated = 'X'
                                                    and Category.LglCntntMCatIsObsolete      = ''

{
  key  DocCategory.LglCntntMDocumentUUID                 as LglCntntMDocumentUUID,

       DocCategory.LglCntntMCategory                     as LglCntntMCategory,

       Category.LglCntntMCatConstant                     as LglCntntMCatConstant,

       cast ( case Category.LglCntntMCatConstant
              when 'SAP_CM_LABEL_IMP_YES' then 'Y'
              when 'SAP_CM_LABEL_IMP_NO' then 'N'
              else ' '
              end as lcm_doc_important preserving type ) as LglCntntMDocImportant,

       // For Authorization

       DocCategory._DocumentAuth

}