ATOV_BOM_REWORK_DEMAND
Get Rework Demand for Item that belongs to BOM object
ATOV_BOM_REWORK_DEMAND is a CDS View in S/4HANA. Get Rework Demand for Item that belongs to BOM object. It contains 5 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_CustomCDSViewRework | view_entity | inner | Custom CDS View Rework - raw name | |
| I_CustomCDSViewRework_KeyUpper | view_entity | from | Custom CDS View Rework - upper name |
Fields (5)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| Highest_Priority_Sort_Order | HighestPrioritySortOrder | 1 | |
| item_id | ItemId | 1 | |
| item_type | ItemType | 1 | |
| Priority_Text | PriorityText | 1 | |
| Rework_Category_Text | CategoryText | 1 |
@AbapCatalog.sqlViewName: 'ATO_V_BOM_RWKDEM'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Get Rework Demand for Item that belongs to BOM object'
//This view identifies the ATO item for a given BOM object and retrieves the rework demand for that item
//The rework demand can be caused by any of the BOM objects of the item. It is NOT guaranteed that the rework demand is caused by excatly that BOM object.
define view atov_bom_rework_demand
as select from Atov_U_Item_Bom as bom
inner join ATOV_REWORK_DEMAND as rework_demand on rework_demand.Item_Type = bom.item_type
and rework_demand.Item_Id = bom.item_id
{
key bom.bom_pgmid as pgmid, //R3TR
key bom.bom_object as object,
key bom.bom_object_name as object_name,
bom.item_type as item_type,
bom.item_id as item_id,
rework_demand.Rework, //X = Rework required
rework_demand.Highest_Priority,
rework_demand.Priority_Text,
rework_demand.Rework_Category,
rework_demand.Rework_Category_Text,
rework_demand.Highest_Priority_Sort_Order
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ATOV_REWORK_DEMAND",
"ATOV_U_ITEM_BOM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/