SAP Knowledge Base Article - Public

1806191 - Purchase Order Preview Error with Template Code


You receive error "There's no template code in the predefined output determination rule" when previewing a Purchase Order.

Reproducing the Issue

  1. Go to the Purchase Requests and Orders work center
  2. Go to the Purchase Orders view
  3. Search for the affected Purchase Order
  4. Edit it and click on Check

You see the following errors:

  • A technical error occurred. Report an incident.
  • There's no template code in the predefined output determination rule.

The second error is also displayed after clicking on Preview.


There is no determination rule maintained for changed purchase orders, but only for interactive changed purchase orders.


Please follow the steps below to maintain a new rule:

  1. Go to the Application and User Management work center.
  2. Go to the Input and Output Management > Form Template selection view.
  3. Select Show Rules For: > Changed Purchase Order.
  4. Create a new rule for non-interactive Changed Purchase Orders.


KBA , AP-SIP , Supplier Invoice Processing , How To


SAP BUSINESS BYDESIGN 1611 ; SAP BUSINESS BYDESIGN 1705 ; SAP BUSINESS BYDESIGN 1708 ; SAP Business ByDesign 1702 ; SAP Business ByDesign 1711 ; SAP Business ByDesign feature pack 4.0