Child pages
  • Button Order as Direct Material Can't be Used When Create PO from Catalog
Skip to end of metadata
Go to start of metadata

Purpose

This article helps you to resolve the problem about Button  "Order as Direct Material " can't be used when create PO from catalog

What is the problem :

  1. Create PO by add item from Catalog
  2. But the button "Order as Direct Material" can't be used

Reason

To enable this button, it will call the following method:

Class /SAPSRM/CL_PDO_DYN_MDA_IT_PO

method ORDER_AS_DIRECT_MAT

 

And in this method, it called FM BBP_DP_PRODUCT_CHECK to check if this product in the PO can be ordered as direct material.

======

* As long as we order a material and the exec system of the PO is not

* our own system it can be ordered as direct material

IF lv_product_type EQ c_ptype_material AND

 ls_product-logsys NE lv_own_logsys.

  MOVE c_on TO ev_dp_possible.

ENDIF.

======

For the coding above, it will check two conditions to enable this button.

If the product from catalogs is not from external system but internal system. This kind of material can't be ordered as direct material.

Solution

Change the customizing setting :

-SRPO

--SRM

---Master data

----Content Management

------Define External Web Services

-------Go to detail view of Catalog

--------Deselect the "Do not check Product"