Skip to Content
author's profile photo Former Member
Former Member

Getting error while creating PO from CNMM

Hi All,

I'm creating purchase orders from project system Tcode: CNMM, but when we select the purchase requisition and try to create purchase order. it gives error that tax code V0 is not assigned to our tax procedure. as We are maintaining out own tax codes and not using the standard. I dont know from where tax V0 is being derived from.

If we create the POs manually they work fine with no errors.

Your help will be highly appreciated.


Faizan Khalil

CNMM_Error.png (23.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2016 at 01:12 PM


    When creating a purchase order transaction CNMM calls function module CNM2_PO_CREATE and inside this function module, in perform FILL_PO_ITEM_NEW, sets tax code V0 by default.

    Below is the resolution proposed by SAP note 1810832:


    If you want to derive the tax code automatically from Pricing Conditions or Purchasing Info Record then you can clear the default Tax Code V0 from the Purchase order items.

    1. If SAP note no. 1977963 is not applied to your systen, please implement function module EXIT_SAPLMEWP_002 (SAPLMEWP) as below:
      FIELD-SYMBOLS: <po_item> like BAPIEKPOC.
      loop at po_items assigning <po_item>.
      clear <po_item>-tax_code.

    2. If SAP note no. 1977963 is applied to your system, please use function module EXIT_SAPL2012_001 (SAPL2012) instead:
      FIELD-SYMBOLS <po_item> type BAPIMEPOITEM.
      loop at poitem assigning <po_item>.
      clear <po_item>-tax_code.

    That way the automatically set tax code V0 is cleared again.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.