SAP Knowledge Base Article - Preview

2831450 - Validation when creating coupon - End date must be after start date

Symptom

When creating a coupon from the backoffice, it is sometimes possible to get a validation error "End date must be after start date", even though the start date is before the end date.

 error.png

On the affected server, running the below beanshell script in the hAC (Console > Scripting Languages, select beashell) will print a value of true in the Result tab.

import bsh.Capabilities;
Capabilities.haveAccessibility()


Read more...

Environment

This is reproducible in any Commerce version.

Keywords

  • hybris
  • bsh
  • startdate
  • enddate
  • time
  • promo
  • promotion
  • discount 
, KBA , CEC-COM-CPS , SAP Commerce , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.