1747523 - When Adding a Service Product to a Contract the Following Error Occurs: "Quantity type code must be time"

SAP Knowledge Base Article - Public

1747523 - When Adding a Service Product to a Contract the Following Error Occurs: "Quantity type code must be time"

Symptom

When adding a service product to a contract the following error occurs: Quantity type code must be time.

Reproducing the Issue

  1. Go to the Sales Orders work center
  2. Go to the Contracts View.
  3. Created a New Contract.
  4. Select account ID ABC in the General tab (ABC represents the ID of the customer account).
  5. Go to the Items tab and select Add Row button.
  6. Tick the option Price per period.
  7. Add a service product XYZ (XYZ represents the ID of the service product).
  8. Maintain a list price for the product. and select the Save button.
  9. Go to Pricing and Invoicing tab -> Select the Invoice Schedule sub tab.
  10. Select the Add Item button and add the product XYZ.
  11. The following error occurs:
    Item 10 : Quantity type code must be time.

Cause

The Pricing Per Period indicator is disabled for quantity types such as Wday, however, it is enabled for types hour, day.

You can test the above suggestion by following below steps:

  1. Go to the Sales Orders work center
  2. Go to the Contracts View.
  3. Created a New Contract.
  4. Select account ID ABC in the General tab (ABC represents the ID of the customer account).
  5. Go to the Items tab and select Add Row button.
  6. Add a service product XYZ before ticking the option Price per period (XYZ represents the ID of the service product).
  7. The Price per period is now disabled because it cannot be used for wday (as explained above).

Resolution

To solve the error either use the valid UoM (unit of measure) such as hour, day or create customized UoM's referring to hour, day etc.

Follow the steps below to create the customized UoM's:

  1. Go to the Business Configuration work center.
  2. Go to the Overview view.
  3. Find & open the activity Quantities and Units of Measure.
  4. Select the link Create and Maintain Physical Units.
  5. Maintain a customized unit (e. g. c-days) referring to the standard quantities such as hour or day.

Keywords

KBA , AP-SLO , Sales Order Processing , How To

Product

SAP BUSINESS BYDESIGN 1708 ; SAP Business ByDesign 1711