SAP Knowledge Base Article - Public

3123661 - Custom Field is not added to the CDS View I_MaterialDocumentItem

Symptom

Custom Field is not added / included in the CDS View I_MaterialDocumentItem

Environment

  •  SAP S/4HANA Cloud

Reproducing the Issue

  1.  From the app Custom Fields & Logic.
  2.  Create a new entry for your field for the Business Context 'MATERIALDOCUMENTITEM'.
  3.  Checking the 'Custom CDS views' app the custom field is not included in the CDS View I_MaterialDocumentItem.

Resolution

Custom fields for business context MATERIALDOCUMENTITEM are automatically included in the predefined standard CDS views:

A_EXCISETAXMATLDOCITEM
C_MATLDOCFORPRINTGOODSMVT
F_MMIM_FINDMATDOC
F_MMIM_MATDOC_ITEM
NSDM_E_MSEG

The custom field is not added / included in the CDS View i_materialdocumentitem

The CDS View I_MaterialDocumentItem_2 is Released for use in building a query but not to add a custom field too.

Keywords

CDS View, I_MaterialDocumentItem, YY, Custom Field,  Custom Fields and Logic, Create, Business Context, MATERIALDOCUMENTITEM, not included, not added, Released, View Browser, I_MaterialDocumentItem_2 , KBA , MM-IM-GF , Basic Functions , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions