P_AdvncdPlngLocmapMdma
P_AdvncdPlngLocmapMdma is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (/sapapo/locmap) and exposes 76 fields with key fields locid, loctype, mandt.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /sapapo/locmap | /sapapo/locmap | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAPLOCMDMA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.type | #INHERITED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (76)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | locid | /sapapo/locmap | locid | Single-Character Flag |
| KEY | loctype | /sapapo/locmap | loctype | Location Type |
| KEY | mandt | marc | mandt | Editing Client |
| locno | /sapapo/locmap | locno | Location | |
| berid | mdma | berid | Single-Character Flag | |
| matnr | marc | matnr | Vehicle Model | |
| werks | marc | werks | Receiving Plant | |
| fhori | marc | fhori | Margin Key | |
| disgr | mdma | disgr | MRP Group | |
| strgr | marc | strgr | Strategy Group | |
| wzeit | marc | wzeit | Total RL time | |
| dzeit | marc | dzeit | InhseProdTime | |
| bearz | marc | bearz | Processing Time | |
| ruezt | marc | ruezt | Setup time | |
| tranz | marc | tranz | Move Time | |
| plstat9thenXelseendaslvorm | ||||
| mtvfp | marc | mtvfp | Avail. check | |
| cuobj | marc | cuobj | Object Number | |
| webaz | marc | webaz | GR Proc. Time | |
| lgrad | mdma | lgrad | Target Service Level | |
| eisbe | mdma | eisbe | Safety Stock | |
| fxhor | mdma | fxhor | Plng time fence | |
| minbe | mdma | minbe | Reorder Point | |
| mabst | mdma | mabst | Max.Stock Level | |
| dispo | mdma | dispo | MRP Controller | |
| ekgrp | marc | ekgrp | Sub. purchasing grp | |
| ladgr | marc | ladgr | Loading Group | |
| frtme | marc | frtme | Production unit | |
| maabc | marc | maabc | ABC Indicator | |
| diber | marc | diber | MRP area exists | |
| bwscl | marc | bwscl | Supply source | |
| bstfe | mdma | bstfe | Fixed lot size | |
| bstmi | mdma | bstmi | Min. Lot Size | |
| bstma | mdma | bstma | To Lot Size | |
| bstrf | mdma | bstrf | Rounding value | |
| ausss | mdma | ausss | Assembly scrap | |
| rdprf | mdma | rdprf | Rounding Prfl. | |
| shzet | mdma | shzet | Safety Time | |
| disls | mdma | disls | Lot Sizing Procedure | |
| vrmod | marc | vrmod | Consmption mode | |
| vint1 | marc | vint1 | Bwd cons. per. | |
| vint2 | marc | vint2 | Fwd cons.period | |
| sbdkz | marc | sbdkz | Indiv./ Coll. | |
| miskz | marc | miskz | Mixed MRP | |
| uneto | marc | uneto | Underdel. Tol. | |
| ueeto | marc | ueeto | Overdeliv. Tol. | |
| stdpd | marc | stdpd | Conf. Material | |
| mfxdt | mdfddb | mfxdt | Man.firm date | |
| scm_conhap | mdma | scm_conhap | GR Handlg Cap. Cons. | |
| scm_grprtendassapapogrprtasscm_GRPRT | ||||
| scm_giprtendassapapogiprtasscm_GIPRT | ||||
| scm_heur_id | mdma | scm_heur_id | Heuristic | |
| scm_hunit | mdma | scm_hunit | UoM:HandlCap GR | |
| scm_lsuom | marc | scm_lsuom | Lot Size Unit | |
| scm_reldt | marc | scm_reldt | Repl. Lead Time | |
| scm_rrp_type | mdma | scm_rrp_type | PP Plng Proced. | |
| scm_scost | marc | scm_scost | Prod.Stor. Costs | |
| scm_sspen | marc | scm_sspen | Safety Stk Pen. | |
| scm_stra1 | marc | scm_stra1 | Requirement Str. | |
| scm_tstrid | marc | scm_tstrid | Per.LS Plng Cal | |
| scm_whatbom | marc | scm_whatbom | Plan Explosion | |
| shflg | mdma | shflg | Safety Time Ind | |
| loekz | mdma | loekz | Status | |
| scm_prio | marc | scm_prio | Priority | |
| scm_profid | marc | scm_profid | Conversion Rule | |
| scm_tpop | mdma | scm_tpop | TPOP | |
| scm_safty_v | mdma | scm_safty_v | Safety Stock for VCL | |
| scm_repsafty | mdma | scm_repsafty | Rep. Safety St. | |
| scm_reord_v | mdma | scm_reord_v | Reord. Point (VCL) | |
| scm_ndcostwe | mdma | scm_ndcostwe | GR Costs | |
| scm_ndcostwa | mdma | scm_ndcostwa | GI Costs | |
| scm_coninp | mdma | scm_coninp | Stor. Consumptn | |
| scm_iunit | mdma | scm_iunit | Unit of Meas. | |
| scm_sft_lock | marc | scm_sft_lock | SS Override | |
| maxdos_pen | mdma | maxdos_pen | Penalty MaxDoS | |
| maxdos_flg | mdma | maxdos_flg | Is Max Dos Active |
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 P_AdvncdPlngLocmapMdma.
-- 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.
-- SQL view name: PAPLOCMDMA
CREATE VIEW P_AdvncdPlngLocmapMdma AS
SELECT
/sapapo/locmap.locid AS locid,
/sapapo/locmap.loctype AS loctype,
marc.mandt AS mandt,
/sapapo/locmap.locno AS locno,
mdma.berid AS berid,
marc.matnr AS matnr,
marc.werks AS werks,
marc.fhori AS fhori,
mdma.disgr AS disgr,
marc.strgr AS strgr,
marc.wzeit AS wzeit,
marc.dzeit AS dzeit,
marc.bearz AS bearz,
marc.ruezt AS ruezt,
marc.tranz AS tranz,
case when /sapapo/matplsta.plstat = '9' then 'X' else '' end as lvorm AS plstat9thenXelseendaslvorm,
marc.mtvfp AS mtvfp,
marc.cuobj AS cuobj,
marc.webaz AS webaz,
mdma.lgrad AS lgrad,
mdma.eisbe AS eisbe,
mdma.fxhor AS fxhor,
mdma.minbe AS minbe,
mdma.mabst AS mabst,
mdma.dispo AS dispo,
marc.ekgrp AS ekgrp,
marc.ladgr AS ladgr,
marc.frtme AS frtme,
marc.maabc AS maabc,
marc.diber AS diber,
marc.bwscl AS bwscl,
mdma.bstfe AS bstfe,
mdma.bstmi AS bstmi,
mdma.bstma AS bstma,
mdma.bstrf AS bstrf,
mdma.ausss AS ausss,
mdma.rdprf AS rdprf,
mdma.shzet AS shzet,
mdma.disls AS disls,
marc.vrmod AS vrmod,
marc.vint1 AS vint1,
marc.vint2 AS vint2,
marc.sbdkz AS sbdkz,
marc.miskz AS miskz,
marc.uneto AS uneto,
marc.ueeto AS ueeto,
marc.stdpd AS stdpd,
mdfddb.mfxdt AS mfxdt,
mdma.scm_conhap AS scm_conhap,
cast(case when mdma.scm_grprt = 0 or mdma.scm_grprt is null and marc.scm_grprt is not null then cast( marc.scm_grprt as /sapapo/grprt) else mdma.scm_grprt end as /sapapo/grprt) as scm_GRPRT AS scm_grprtendassapapogrprtasscm_GRPRT,
cast(case when mdma.scm_giprt = 0 or mdma.scm_giprt is null and marc.scm_giprt is not null then cast( marc.scm_giprt as /sapapo/giprt) else mdma.scm_giprt end as /sapapo/giprt) as scm_GIPRT AS scm_giprtendassapapogiprtasscm_GIPRT,
mdma.scm_heur_id AS scm_heur_id,
mdma.scm_hunit AS scm_hunit,
marc.scm_lsuom AS scm_lsuom,
marc.scm_reldt AS scm_reldt,
mdma.scm_rrp_type AS scm_rrp_type,
marc.scm_scost AS scm_scost,
marc.scm_sspen AS scm_sspen,
marc.scm_stra1 AS scm_stra1,
marc.scm_tstrid AS scm_tstrid,
marc.scm_whatbom AS scm_whatbom,
mdma.shflg AS shflg,
mdma.loekz AS loekz,
marc.scm_prio AS scm_prio,
marc.scm_profid AS scm_profid,
mdma.scm_tpop AS scm_tpop,
mdma.scm_safty_v AS scm_safty_v,
mdma.scm_repsafty AS scm_repsafty,
mdma.scm_reord_v AS scm_reord_v,
mdma.scm_ndcostwe AS scm_ndcostwe,
mdma.scm_ndcostwa AS scm_ndcostwa,
mdma.scm_coninp AS scm_coninp,
mdma.scm_iunit AS scm_iunit,
marc.scm_sft_lock AS scm_sft_lock,
mdma.maxdos_pen AS maxdos_pen,
mdma.maxdos_flg AS maxdos_flg
FROM /sapapo/locmap
;
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