I_EWA_WeighingProcessDetail
Weighing Process ESH
I_EWA_WeighingProcessDetail is a Basic CDS View that provides data about "Weighing Process ESH" in SAP S/4HANA. It reads from 1 data source (ewa_wa_weighproc) and exposes 101 fields with key field EWAWeighingTransaction.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ewa_wa_weighproc | ewa_wa_weighproc | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Weighing Process ESH | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (101)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWAWeighingTransaction | weighingnr | Weighing Trans. | |
| EWAFleetEquipment | Equ. Nr. Vehicle | |||
| EWAWasteTreatment | treatment | Waste Treatment | ||
| EWAWasteDisposalOrder | WD Order | |||
| EWAWeighingRecordExtNumber | ext_id | External Id | ||
| EWAWaste | Waste | |||
| EWALicensePlateNumber | License Plate | |||
| EWAGrossWeighingNumber | gross_id | Gross Weigh.No. | ||
| EWAGrossWeighingDate | gross_wdate | Date Gross | ||
| EWAGrossWeighingTime | gross_wtime | Time Gross | ||
| EWAGrossWeight | gross_weight | Gross Weight | ||
| EWATareWeighingNumber | tare_id | Wt No. Empty | ||
| EWATareWeighingDate | tare_wdate | Date Tare | ||
| EWATareWeighingTime | tare_wtime | Time Tare | ||
| EWATareWeight | tare_weight | Tare Weight | ||
| EWAEmptyWeight | tare_scale | Empty-weight | ||
| EWAWeightUnit | weight_unit | Weight Unit | ||
| EWANetWeight | net_weight | Net Weight | ||
| EWAWasteVolume | volume | Waste volume | ||
| EWAVolumeUnit | vol_unit | Volume unit | ||
| EWAWasteDisposalFacility | WD Facility | |||
| Plant | werks | Receiving Plant | ||
| StorageLocation | lgort | Sublocation | ||
| EWAStockType | stock_type | Stock Type | ||
| EWAWasteDsplOrdItmObjectNumber | pobjnr | Object number | ||
| EWAWeighingTransactionType | processtype | Type | ||
| EWAIsGoodsMovementRelevant | gm_flag | Goods Mvmt Ind. | ||
| EWAIsBillingRelevant | billing_flag | Bill. Indicator | ||
| EWAWeighingQuantity | quantity | Value | ||
| EWAWeighingQuantityUnit | Unit of Measure | |||
| EWATargetWasteDisposalFacility | wdplant_dst | Target Facility | ||
| EWATargetPlant | werks_dst | Target Plant | ||
| EWATargetStorageLocation | lgort_dst | Target Stor Loc | ||
| EWATargetStorageBin | lgpla_dst | TargetStor.Loc. | ||
| EWATargetStorageType | lgtyp_dst | Targ.Stor.Type | ||
| EWAWasteType | Waste: Redeclaration | |||
| UtilitiesPremise | vstelle | Premise | ||
| EWAContainerLocation | Container Loc. | |||
| ConsumptionBillingPaymentTerms | zterm | Terms of Payment | ||
| PaymentTermsValidityMonthDay | ztagg | Day Limit | ||
| Customer | Stock customer | |||
| EWALoadingFromTime | load_time_begin | Load. Time From | ||
| EWALoadingToTime | load_time_end | Loading Time To | ||
| EWAUnloadingFromTime | unload_time_begi | Unload.Tme.From | ||
| EWAUnloadingToTime | unload_time_end | Unload.Time To | ||
| CapacityInternalID | kapid | Capacity ID | ||
| EWACapacityVersion | versn | Version | ||
| EWAEndDate | datub | Valid to | ||
| EWACapacityCycleCurrentWeekDay | tagnr | Weekday number | ||
| AvailableCapacityShift | schnr | Capacity Shift | ||
| EWAShiftDate | schdatum | Shift Date | ||
| EWAShiftTime | schuzeit | Time | ||
| EWAWeighingTransacPostingDate | buchdatum | Posting Date | ||
| EWAVehicleContainerCategory | Vh. Con. Mat. Nr. | |||
| EWATrailerContainerCategory | Tra. Con. Mat. Nr. | |||
| MaterialDocument | mblnr | Material Doc. | ||
| MaterialDocumentYear | mjahr | Mat. Doc. Year | ||
| SalesDocument | vbeln | SD Sched. Agmt | ||
| EWAWeighingTransacGrossWeight | brutto_weight | Gross Weight | ||
| EWAGrossWeightUnit | Unit of weight | |||
| EWAWeighingTransacTareWeight | tara_weight | Tare Weight | ||
| EWATareWeightUnit | Unit of weight | |||
| EWAWeighingTransacNetWeight | netto_weight | Net Weight | ||
| SalesContract | Sales Document | |||
| SalesContractItem | Item | |||
| RELocalSubDistrict | gemark | Loc Subdistrict | ||
| REPropertyTractNumberText | nflurnr | Tract of Land | ||
| REParcelOfLandText | xflurst | Parcel of Land | ||
| EWAWeighingType | weighing_type | Weigh.Data Type | ||
| EWAWeighingTransacIsCancelled | storno | Reversal | ||
| EWAWasteDsplFcltyTransacCat | wdpprotynr | Transact. Cat. | ||
| EWAWasteDsplFcltyTransaction | wdpprocnr | Number | ||
| Batch | Chargeable Proc. | |||
| EWATareIsMaintainedManually | flag_tara | Maint.Tare Man. | ||
| Warehouse | Whse Number | |||
| StorageType | Storage Type | |||
| StorageBin | Storage Bin | |||
| EWAWasteDsplFacilityOrderType | wdplantordertype | OrdTyp.WstDspFa | ||
| EWATrailerLicensePlateNumber | tr_license_num | Lic.Pl.Nr.:Trailer | ||
| EWASplittingIsCancelled | splitt_canceled | Split. Canceled | ||
| EWAWasteDisposalFacilityDesc | note | TradeRequest Comment | ||
| EWAControllingDocPostingDate | cobeldat | CO Posting Date | ||
| EWAWeighingFeeCode | fee | Weighing Fee | ||
| AddressID | custaddrnum | Address Number | ||
| EWATareDeviceGroup | devgrpnr_tare | Profile Group: Tare | ||
| EWAGrossDeviceGroup | devgrpnr_gross | Profile Group:Gross | ||
| EWAGrossWeighingInfoCode | Wgh. Data Gross | |||
| EWATareWeighingInfoCode | Wghng Data Tare | |||
| EWABillingType | billing_type | Flag Payment Transa. | ||
| EWAWeighingTransacDeliveryType | deliverytype | intern./extern. | ||
| EWAWeighingTransacObjectNumber | objnr | Val. Obj. No. | ||
| EWALeadingWeighingTransaction | weighingnr_lead | Leading Weigh.Trans. | ||
| EWAFcltyReltdWeighingTransac | weighingnr_ext | Fac-Rel.Weigh.Number | ||
| EWASplittingWeighingTransac | weighingnr_split | Wei.Tran.(Splitting) | ||
| EWAMaterialSplittingSequence | matsplit_laufnr | Serial Split No | ||
| EWAMatlSplittingIsInPercent | matsplit_prz_flag | Percentage Flag | ||
| EWAMaterialSplittingRatio | matsplit_procent | Percentage | ||
| EWAMaterialSplittingType | matsplit_type | MatSplitTyp | ||
| EWANetWeighingInfoCode | netinfoid | Weighing Info Net | ||
| EWAContainerCategory | Container cat. | |||
| EWAWeightIsMinimumNet | minnetweight_flag | MinimunNetWeightFlag |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_EWA_WeighingProcessDetail.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_EWA_WeighingProcessDetail AS
SELECT
weighingnr AS EWAWeighingTransaction,
cast( car as ewael_equnr_car preserving type ) AS EWAFleetEquipment,
treatment AS EWAWasteTreatment,
cast( ordernr as eordernr preserving type ) AS EWAWasteDisposalOrder,
ext_id AS EWAWeighingRecordExtNumber,
cast( waste as waste_type preserving type ) AS EWAWaste,
cast( license_num as license_num preserving type ) AS EWALicensePlateNumber,
gross_id AS EWAGrossWeighingNumber,
gross_wdate AS EWAGrossWeighingDate,
gross_wtime AS EWAGrossWeighingTime,
gross_weight AS EWAGrossWeight,
tare_id AS EWATareWeighingNumber,
tare_wdate AS EWATareWeighingDate,
tare_wtime AS EWATareWeighingTime,
tare_weight AS EWATareWeight,
tare_scale AS EWAEmptyWeight,
weight_unit AS EWAWeightUnit,
net_weight AS EWANetWeight,
volume AS EWAWasteVolume,
vol_unit AS EWAVolumeUnit,
cast( wdplant as ewael_wdplantnr preserving type ) AS EWAWasteDisposalFacility,
werks AS Plant,
lgort AS StorageLocation,
stock_type AS EWAStockType,
pobjnr AS EWAWasteDsplOrdItmObjectNumber,
processtype AS EWAWeighingTransactionType,
gm_flag AS EWAIsGoodsMovementRelevant,
billing_flag AS EWAIsBillingRelevant,
quantity AS EWAWeighingQuantity,
cast( quantity_unit as ewadelwghquantityunit preserving type ) AS EWAWeighingQuantityUnit,
wdplant_dst AS EWATargetWasteDisposalFacility,
werks_dst AS EWATargetPlant,
lgort_dst AS EWATargetStorageLocation,
lgpla_dst AS EWATargetStorageBin,
lgtyp_dst AS EWATargetStorageType,
cast( waste_redeclared as waste_type_redeclared preserving type ) AS EWAWasteType,
vstelle AS UtilitiesPremise,
cast( servloc as vdm_eam_tplnr preserving type ) AS EWAContainerLocation,
zterm AS ConsumptionBillingPaymentTerms,
ztagg AS PaymentTermsValidityMonthDay,
cast( kunnr as kunnr preserving type ) AS Customer,
load_time_begin AS EWALoadingFromTime,
load_time_end AS EWALoadingToTime,
unload_time_begi AS EWAUnloadingFromTime,
unload_time_end AS EWAUnloadingToTime,
kapid AS CapacityInternalID,
versn AS EWACapacityVersion,
datub AS EWAEndDate,
tagnr AS EWACapacityCycleCurrentWeekDay,
schnr AS AvailableCapacityShift,
schdatum AS EWAShiftDate,
schuzeit AS EWAShiftTime,
buchdatum AS EWAWeighingTransacPostingDate,
cast( car_cont_nr as ewael_matnr_car preserving type ) AS EWAVehicleContainerCategory,
cast( trlr_cont_nr as ewael_matnr_trlr preserving type ) AS EWATrailerContainerCategory,
mblnr AS MaterialDocument,
mjahr AS MaterialDocumentYear,
vbeln AS SalesDocument,
brutto_weight AS EWAWeighingTransacGrossWeight,
cast( brutto_unit as weight_unit preserving type ) AS EWAGrossWeightUnit,
tara_weight AS EWAWeighingTransacTareWeight,
cast( tara_unit as weight_unit preserving type ) AS EWATareWeightUnit,
netto_weight AS EWAWeighingTransacNetWeight,
cast( contract_vbeln as vbeln_va preserving type ) AS SalesContract,
cast( contract_posnr as posnr_va preserving type ) AS SalesContractItem,
gemark AS RELocalSubDistrict,
nflurnr AS REPropertyTractNumberText,
xflurst AS REParcelOfLandText,
weighing_type AS EWAWeighingType,
storno AS EWAWeighingTransacIsCancelled,
wdpprotynr AS EWAWasteDsplFcltyTransacCat,
wdpprocnr AS EWAWasteDsplFcltyTransaction,
cast( charg as charg_d preserving type ) AS Batch,
flag_tara AS EWATareIsMaintainedManually,
cast( lgnum as lgnum preserving type ) AS Warehouse,
cast( lgtyp as lgtyp preserving type ) AS StorageType,
cast( lgpla as lgpla preserving type ) AS StorageBin,
wdplantordertype AS EWAWasteDsplFacilityOrderType,
tr_license_num AS EWATrailerLicensePlateNumber,
splitt_canceled AS EWASplittingIsCancelled,
note AS EWAWasteDisposalFacilityDesc,
cobeldat AS EWAControllingDocPostingDate,
fee AS EWAWeighingFeeCode,
custaddrnum AS AddressID,
devgrpnr_tare AS EWATareDeviceGroup,
devgrpnr_gross AS EWAGrossDeviceGroup,
cast( grossinfoid as ewadwa_grossinfoid preserving type ) AS EWAGrossWeighingInfoCode,
cast( tareinfoid as ewadwa_tareinfoid preserving type ) AS EWATareWeighingInfoCode,
billing_type AS EWABillingType,
deliverytype AS EWAWeighingTransacDeliveryType,
objnr AS EWAWeighingTransacObjectNumber,
weighingnr_lead AS EWALeadingWeighingTransaction,
weighingnr_ext AS EWAFcltyReltdWeighingTransac,
weighingnr_split AS EWASplittingWeighingTransac,
matsplit_laufnr AS EWAMaterialSplittingSequence,
matsplit_prz_flag AS EWAMatlSplittingIsInPercent,
matsplit_procent AS EWAMaterialSplittingRatio,
matsplit_type AS EWAMaterialSplittingType,
netinfoid AS EWANetWeighingInfoCode,
cast( beh_type_deduct as beh_type preserving type ) AS EWAContainerCategory,
minnetweight_flag AS EWAWeightIsMinimumNet
FROM ewa_wa_weighproc
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA