P_CUSTRETPROCFLOWMIHR
Customer Return Process Flow: Level -1 In-house Repair
P_CUSTRETPROCFLOWMIHR is a CDS View in S/4HANA. Customer Return Process Flow: Level -1 In-house Repair. It contains 7 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_CustRetProcFlowM1 | view | from | CONSUMPTION | Customer Return Process Flow: Level -1 Sales & Distribution |
| P_CustRetProcFlowM1 | view | union_all | CONSUMPTION | Customer Return Process Flow: Level -1 Sales & Distribution |
Fields (7)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | PrecedingDocument | LevelM1Document | 1 |
| CustomerReturnType | CustomerReturnType | 1 | |
| DistributionChannel | DistributionChannel | 1 | |
| OrganizationDivision | OrganizationDivision | 1 | |
| PrecedingDocumentCategory | LevelM1DocumentCategory | 1 | |
| SalesOrganization | SalesOrganization | 1 | |
| SDDocumentCategory | SDDocumentCategory | 1 |
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
define view entity P_CustRetProcFlowMIHR as select from P_CustRetProcFlow0 as Level0
inner join I_SDDocCompleteRelatedObject as LevelMIHR on Level0.CustomerReturn = LevelMIHR.SalesDocument
and LevelMIHR.SalesDocumentItem = '000000'
and LevelMIHR.SDDocumentCategory = 'H'
and LevelMIHR.SDDocRelatedObjectSequenceNmbr = '0001'
and LevelMIHR.SDDocumentRelatedObjectType = 'IHR1'
{
//Key
key LevelMIHR.SDDocRelatedObjectReference1 as PrecedingDocument,
//Customer Return,
key Level0.CustomerReturn,
//Category
cast('IHR1' as vbtypl) as PrecedingDocumentCategory,
Level0.CustomerReturnType,
Level0.SDDocumentCategory,
//Organization
Level0.SalesOrganization,
Level0.DistributionChannel,
Level0.OrganizationDivision
}