MaterialsValuation
Arquivo SQL de origem - Google Cloud Cortex Data Foundation
Google Cloud Cortex Foudantion - Cortex Reporting - (s4) - MaterialsValuation
Visão geral
Esta visão de relatório fornece uma visão geral abrangente dos dados de avaliação de material dos sistemas SAP S/4 HANA. Ele combina dados das tabelas MBEW e MBEWH, que foram substituídas por CKMLHD e CKMLCR em versões mais recentes do SAP. A visão inclui informações importantes como tipo de avaliação, área de avaliação, valores de estoque, indicadores de controle de preço e informações de preço.
Fontes de Dados
| Tabela/Visão | Descrição |
|---|---|
| mbew | Tabela de Avaliação de Material |
| mbewh | Avaliação de Material: Período/Ano Fiscal |
| t001k | Moeda da Empresa |
| t001 | Códigos da Empresa |
| currency_decimal | Tabela Decimal da Moeda |
| currency_conversion | Taxas de Conversão de Moeda |
| calendar_date_dim | Dimensão da Data do Calendário |
Casos de Uso
- Análise de avaliação de material
- Relatório de gerenciamento de estoque
- Contabilidade de custos
- Relatório financeiro
Lógica da Query
A consulta une as tabelas MBEW e MBEWH nos campos MANDT, MATNR, BWKEY e BWTAR para combinar dados de avaliação de material. Ela também inclui dados das tabelas T001K e T001 para obter informações de moeda. A consulta usa COALESCE para lidar com valores nulos e aplica a conversão de moeda, se necessário. Além disso, incorpora dados da tabela calendar_date_dim para fornecer contexto temporal.
Possível relação com transações SAP
| Código da Transação | Descrição da Transação |
|---|---|
| MM03 | Exibir Material |
| MB51 | Lista de Documentos de Material |
| MB52 | Visão Geral do Estoque: Material |
| CO03 | Exibir Elemento de Custo |
| FBL3N | Exibir Itens de Linha: Conta do Razão |
Linhagem de dados
Em desenvolvimento
Campos da Tabela/Visão
| Campo | Descrição do Campo | Descrição no Dicionário SAP (Em breve) |
|---|---|---|
| Client_MANDT | Client | |
| MaterialNumber_MATNR | Material Number | |
| ValuationType_BWTAR | Valuation Type | |
| ValuationArea_BWKEY | Valuation Area | |
| DeletionFlagForAllMaterialDataOfValuationType_LVORM | Deletion Flag For All Material Data Of Valuation Type | |
| ValuationCategory_BWTTY | Valuation Category | |
| TotalValuatedStock_LBKUM | Total Valuated Stock | |
| ValueOfTotalValuatedStock_SALK3 | Value Of Total Valuated Stock | |
| PriceControlIndicator_VPRSV | Price Control Indicator | |
| PriceUnit_PEINH | Price Unit | |
| DateOfTheLastPriceChange_LAEPR | Date Of The Last Price Change | |
| DateAsOfWhichThePriceIsValid_ZKDAT | Date As Of Which The Price Is Valid | |
| FiscalYearOfCurrentPeriod_LFGJA | Fiscal Year Of Current Period | |
| CurrentPeriod_LFMON | Current Period | |
| ValuationClass_BKLAS | Valuation Class | |
| StandardCost_STPRS | Standard Cost | |
| MovingAveragePrice_VERPR | Moving Average Price | |
| PreviousPrice_STPRV | Previous Price | |
| FuturePrice_ZKPRS | Future Price | |
| StandardPrice_STPRS | Standard Price | |
| PeriodicUnitPrice_VERPR | Periodic Unit Price | |
| CurrencyKey_WAERS | Currency Key | |
| YearOfDateOfTheLastPriceChange_LAEPR | Year Of Date Of The Last Price Change | |
| MonthOfDateOfTheLastPriceChange_LAEPR | Month Of Date Of The Last Price Change | |
| WeekOfDateOfTheLastPriceChange_LAEPR | Week Of Date Of The Last Price Change | |
| QuarterOfDateOfTheLastPriceChange_LAEPR | Quarter Of Date Of The Last Price Change | |
| YearOfDateAsOfWhichThePriceIsValid_ZKDAT | Year Of Date As Of Which The Price Is Valid | |
| MonthOfDateAsOfWhichThePriceIsValid_ZKDAT | Month Of Date As Of Which The Price Is Valid | |
| WeekOfDateAsOfWhichThePriceIsValid_ZKDAT | Week Of Date As Of Which The Price Is Valid | |
| QuarterOfDateAsOfWhichThePriceIsValid_ZKDAT | Quarter Of Date As Of Which The Price Is Valid |