I_GdsMvtGnrtdCustCsgnmtReg
Consignment Register from Goods Movement
I_GdsMvtGnrtdCustCsgnmtReg is a Basic CDS View that provides data about "Consignment Register from Goods Movement" in SAP S/4HANA. It reads from 2 data sources (ptxph, P_PTXPI) and exposes 35 fields with key field CustomerConsignmentRegUUID.
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IGMCSGNMTREG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Consignment Register from Goods Movement | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerConsignmentRegUUID | UUID | ||
| CustomerConsignmentProcessType | ||||
| CompanyCode | ptxph | bukrs | Value | |
| SalesOrganization | ptxph | vkorg | SD Sales Org. | |
| DeliveryDocument | ptxph | vbeln | SD Sched. Agmt | |
| DeliveryDocumentItem | posnr | WBS Element | ||
| TaxDepartureCountry | ptxph | otaxcnty | Tax Departure Ctry/Reg. | |
| TaxDestinationCountry | ptxph | itaxcnty | Tax Destination Ctry/Reg. | |
| SpecialStockIdfgCustomer | nsdm_kunnr | Customer SID | ||
| CustomerVATRegistration | ptxph | stceg | VAT Reg. No. | |
| SoldToParty | kunag | Sold-to Party | ||
| SoldToPartyAddressID | kunag_adr | Sold-To Address | ||
| ShipToParty | kunwe | Ship-to Party | ||
| ShipToPartyAddressID | kunwe_adr | Ship-to address | ||
| GoodsMovementDate | ptxph | budat | Posting Date | |
| Product | matnr | Vehicle Model | ||
| BaseUnit | meins | Valuation Unit | ||
| TaxBaseAmount | Value | |||
| SDTransactionCurrency | ptxph | waerk | Doc. Currency | |
| DeliveringPlant | werks | Receiving Plant | ||
| MaterialDocument | ptxph | mblnr | Material Doc. | |
| MaterialDocumentItem | zeile | Mat. Doc.Item | ||
| MaterialDocumentYear | ptxph | mjahr | Mat. Doc. Year | |
| ReversedMaterialDocument | ptxph | smbln | Reversed Mat Doc | |
| ReversedMaterialDocumentItem | smblp | Reversed Doc Item | ||
| ReversedMaterialDocumentYear | ptxph | sjahr | Reversed Doc Year | |
| BillingDocument | ||||
| BillingDocumentItem | ||||
| CancelledBillingDocument | ||||
| AccountingDocument | ptxph | belnr | SD Document | |
| FiscalYear | ||||
| SalesOrder | ||||
| SalesOrderItem | ||||
| Batch | charg | Chargeable Proc. | ||
| CsgnmtRegUpldEntryRemarkTxt |
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_GdsMvtGnrtdCustCsgnmtReg.
-- 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: IGMCSGNMTREG
CREATE VIEW I_GdsMvtGnrtdCustCsgnmtReg AS
SELECT
cast( ptxpiuuid as custcsgnmtreguuid preserving type ) AS CustomerConsignmentRegUUID,
cast ( _ptxph.ptxsubtype as proc_type ) AS CustomerConsignmentProcessType,
_ptxph.bukrs AS CompanyCode,
_ptxph.vkorg AS SalesOrganization,
_ptxph.vbeln AS DeliveryDocument,
posnr AS DeliveryDocumentItem,
_ptxph.otaxcnty AS TaxDepartureCountry,
_ptxph.itaxcnty AS TaxDestinationCountry,
nsdm_kunnr AS SpecialStockIdfgCustomer,
_ptxph.stceg AS CustomerVATRegistration,
kunag AS SoldToParty,
kunag_adr AS SoldToPartyAddressID,
kunwe AS ShipToParty,
kunwe_adr AS ShipToPartyAddressID,
_ptxph.budat AS GoodsMovementDate,
matnr AS Product,
meins AS BaseUnit,
cast( netwr as fwbas_bses_cs ) AS TaxBaseAmount,
_ptxph.waerk AS SDTransactionCurrency,
werks AS DeliveringPlant,
_ptxph.mblnr AS MaterialDocument,
zeile AS MaterialDocumentItem,
_ptxph.mjahr AS MaterialDocumentYear,
_ptxph.smbln AS ReversedMaterialDocument,
smblp AS ReversedMaterialDocumentItem,
_ptxph.sjahr AS ReversedMaterialDocumentYear,
cast ( '' as vbeln_vf ) AS BillingDocument,
cast ( '' as posnr_vf ) AS BillingDocumentItem,
cast ( '' as sfakn ) AS CancelledBillingDocument,
_ptxph.belnr AS AccountingDocument,
cast(_ptxph.gjahr as fis_gjahr_no_conv preserving type) AS FiscalYear,
cast( _ptxpi.aubel as vbeln_va ) AS SalesOrder,
cast( _ptxpi.aupos as posnr_va ) AS SalesOrderItem,
charg AS Batch,
cast ( '' as registerupldremark ) AS CsgnmtRegUpldEntryRemarkTxt
FROM P_PTXPI AS _ptxpi
INNER JOIN ptxph AS _ptxph ON /* join condition not captured in parsed metadata */
;
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