R_FLDLOGSRCPTSRETSATREMOTETP

CDS View

TP View for Receipts and Returns At Remote

R_FLDLOGSRCPTSRETSATREMOTETP is a CDS View in S/4HANA. TP View for Receipts and Returns At Remote. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_FldLogsRcptsRetsAtRemote view_entity from CONSUMPTION Projection View for Receipts and Returns At Remote
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'TP View for Receipts and Returns At Remote'

@ObjectModel.usageType:{
    serviceQuality: #X,
    sizeCategory: #S,
    dataClass: #MIXED
}

@VDM: {
  lifecycle.contract.type: #SAP_INTERNAL_API,
  viewType: #TRANSACTIONAL
}
define view entity R_FldLogsRcptsRetsAtRemoteTP
  as select from I_FldLogsStockTP
{
  key Material,
      //  key ReferenceDocumentNumber,

  key ReferenceDocumentItem,
  key FldLogsMaintenanceOrder        as MaintenanceOrder,
  key RemoteStorageLocation,
      // 10 -> Initiated, 50 -> dispatched

      cast(case FldLogsReturnStatus
         when '20' then '10'
         when '30' then '10'
         when '40' then '10'
         when '50' then FldLogsReturnStatus
         else cast('' as abap.char( 2 ))
       end as flog_rcpts_ret_status) as FldLogsReturnStatus,
      FldLogsRemotePlant,
      FldLogsItemType,
      @DefaultAggregation: #SUM
      cast (1 as abap.int4)          as FldLogsTotNumberOfReturnReq
}
where
      FldLogsItemType <> ''
  and FldLogsItemType <> 'NA'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FLDLOGSSTOCKTP"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/