SAP Knowledge Base Article - Public

2829433 - Error message ME046 - "Material & not maintained by Purchasing" appear when creating a Purchase Order - SAP S/4HANA Cloud

Symptom

  • When trying to create a Purchase Order or Purchase Requisition you receive error message ME046 'Material & not maintained by Purchasing' 
  • A Product / Material has a Purchasing view maintained in the App "Display / Change Material" but the error ME046 'Material & not maintained by Purchasing' is raised
  • Is it possible to create "Purchase Info Records" for a product/article without a purchasing view maintained for it in Product Master App or MM transactions?

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental"

Environment

  •  SAP S/4HANA Cloud

Reproducing the Issue

  1. Open the APP Manage Purchase Orders.
  2. Input the relevant master data, including Supplier Company Code, Purchase Organisation etc. 
  3. Add the Material and plant data.
  4. Press Enter , the error 'Material & not maintained by Purchasing' is raised.

Cause

Missing master data, the material being processed is incomplete for processing in procurement.

The Purchasing view has been maintained for the Product but without Plant Specific information.

When accessing the Material in the App Display Material and navigating to the Purchasing view , the information message 'No plant-specific data exists' M3245  appears.

NoPLant.png

Resolution

Maintain the Purchasing view of the material in the corresponding plant.

Using the App Create Material

Open the APP Create Material and create a Purchasing view for the material and plant.

Note the user will need business role PRODMASTER_SPECIALIST to have access to this APP.

Using the Migration Cockpit object 'Material - extend existing record by new org levels'


On the plant data tab of the template , maintain a plant specific field such as  'automatic purchase order allowed'

sample.png

Using the API API_PRODUCT_SRV  , Entity  /A_ProductPlantProcurement

Call the API ( Operation Post ) with the Product and Plant

Maintain a plant specific field  , for example  IsAutoPurOrdCreationAllowed ( automatic purchase order allowed MARC-KAUTB )

Sample code :

   "to_ProductPlantProcurement":

{
"Product": "SAPTEST",
"Plant": "1010",
"IsAutoPurOrdCreationAllowed": true,
"IsSourceListRequired": false,
"SourceOfSupplyCategory": ""
},

See Also

It is not possible to create "Purchase Info Records" for a product/article without a purchasing view maintained .

When maintaining any field under purchasing, say under the product or at the plant level, this marks the product purchasing relevant in the app. Once this is marked, it is possible to use the product for purchase info records.

Keywords

ME21N, ME51N, ME046, "ME0 46" info record, PSTAT , Purchasing , M3245 , "M3 245" MM_PUR_PO_MAINT_V2_SRV, MM01, MM02, MM03, ME11, ME12, ME13, STO, STR, 購買情報, 購買依頼, 購買発注, 会計ビュー, プラント, 品目マスタ, quality management , KBA , MM-FIO-PUR-PO , Fiori UI for Purchase Orders , LO-MD-MM , Material Master , How To

Product

SAP S/4HANA Cloud all versions