Support Note KB0395685
Email
Multiple template support for Sourcing Request enabled but system selects default template
Issues

Multiple template support for Sourcing Request enabled, but system selects default template.

Cause

In most of the cases, the condition is not applied on the Sourcing Request template correctly. If not, the value of the header or template attribute is not correctly specified in the Quote Request.

Solution

Below, two approaches can be used to specify custom templates for selection during creation of a Sourcing Request.

  1. Create a condition in the Sourcing Request template, and apply the condition to the template along with the IsExternalOrigin condition. If the value passed in the Quote Request matches the condition, the template is selected based on the condition.
  2. Specify the custom template ID in the Quote Request header as an attribute. Specified template will be used to create a sourcing request.

Steps to apply condition on the template:

  1. Manage > Templates > Open the template.
  2. Actions > New version. (Skip if template status is Draft.)
  3. Click the Conditions tab.
  4. Click Add Condition.
  5. Create the condition using Field Match. (Create expression as required.)
  6. Click OK.

After this is complete, complete the next steps:

  1. Click the Overview tab.
  2. Click None or existing condition next to Conditions.
  3. Click Other and select all the conditions that should be met. (Always keep IsExternalOrigin.)
  4. Click Done.
  5. Click Actions > Publish.

Note: For custom sourcing request templates that need to be used for external integration, please create a copy of the Sourcing Request template as it will also copy the IsExternalOrigin condition.


Format to apply template name attribute in Quote Request header:

<QuoteRequestHeader requestID="101102" requestDate="2016-10-26T14:32:56+05:45" type="new" templateName="SRID" openDate="2016-10-26T14:32:56+05:45" closeDate="2016-10-25T14:32:56+05:45" currency="USD" xml:lang="EN" quoteReceivingPreference="winningOnly">
<SupplierSelector matchingType="invitationOnly"></SupplierSelector>

Note: You should specify the Sourcing Request template Id and not Name in the Quote Request header. For example, replace "SRID" in previous sample with "SR49204106".

Additional Information

If multiple template support for the Sourcing Request is not enabled for your site, please log a Case with the SAP Ariba Support team and have the feature turned on.


Applies To

Strategic Sourcing
Strategic Sourcing > Strategic Sourcing - Templates > Sourcing Project Template

Terms of Use  |  Copyright  |  Security Disclosure  |  Privacy