Fclm_Bseg_Level
BSEG level
Fclm_Bseg_Level is a CDS View that provides data about "BSEG level" in SAP S/4HANA. It reads from 2 data sources (bseg, Fclm_Flow_Level) and exposes 21 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| bseg | a | from |
| Fclm_Flow_Level | b | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VFCLMBSEGLVL | view | |
| EndUserText.label | BSEG level | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| bukrs | ||||
| gjahr | bseg | gjahr | ||
| belnr | ||||
| buzei | bseg | buzei | ||
| shkzg | bseg | shkzg | ||
| wrbtr | bseg | wrbtr | ||
| h_waers | bseg | h_waers | ||
| lqitem | bseg | lqitem | ||
| prctr | bseg | prctr | ||
| fqftype | bseg | fqftype | ||
| fdlev | bseg | fdlev | ||
| kunnr | bseg | kunnr | ||
| lifnr | bseg | lifnr | ||
| segment | bseg | segment | ||
| gsber | bseg | gsber | ||
| matnr | bseg | matnr | ||
| kostl | bseg | kostl | ||
| hbkid | bseg | hbkid | ||
| hktid | bseg | hktid | ||
| augbl | bseg | augbl | ||
| flow_level | Fclm_Flow_Level | flow_level |
@AbapCatalog.sqlViewName: 'VFCLMBSEGLVL'
@EndUserText.label: 'BSEG level'
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
define view Fclm_Bseg_Level
as
select from bseg as a inner join Fclm_Flow_Level as b
on a.fqftype = b.flow_type and ( b.mandt = a.mandt or b.mandt = '000')
{ lpad(a.bukrs, 4, ' ') as bukrs,a.gjahr,lpad(a.belnr, 10, ' ') as belnr,a.buzei,a.shkzg,
a.wrbtr,a.h_waers,a.lqitem,a.prctr,a.fqftype,a.fdlev,
a.kunnr,a.lifnr,a.segment,a.gsber,a.matnr,a.kostl,a.hbkid,a.hktid,a.augbl,
// | a.fdtag,a.valut,a.h_bldat,a.netdt,a.sk1dt,a.sk2dt,| &
case a.valut
when '00000000' then
case a.fdtag
when '00000000' then
case when a.netdt = '00000000' then a.h_budat
else a.netdt
end
else a.fdtag
end
else a.valut
end as valut,
b.flow_level
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FCLM_FLOW_LEVEL",
"BSEG"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA