SAP Account Creation ERROR: [ InvalidRequestException ] [ Possible suggestions ] Date format should be yyyy-MM-dd [ Error details ] Cannot convert value 'noEndDate' from type java.lang.String to type DATE field FROM_DAT in record BAPILOCAGR

Hello,

When I create an account in SAP CUA using the SAP connector and assign an entitlement of type Role, the request fails with the following error:

Error: Please contact your administrator
Request failed
[ InvalidRequestException ]
[ Possible suggestions ] Date format should be yyyy-MM-dd
[ Error details ] Cannot convert value 'noEndDate' from type java.lang.String to type DATE field FROM_DAT in record BAPILOCAGR.

From what I have investigated, the issue seems to be related to an attribute linked to the role entitlement. The value noEndDate is sent to the FROM_DAT field of the BAPILOCAGR record, but SAP expects a date in yyyy-MM-dd format.

The documentation mentions an Entitlement Validity Period configuration, which could be related to this behavior. Entitlement Validity Period

Questions:

  1. Where should the Entitlement Validity Period be configured (source configuration, entitlement attributes, provisioning policy, or another location)?
  2. If it needs to be set through a rule, does it also have to be applied to the Create Account operation, or only to the role entitlement assignment?
  3. Has this error been reported before, and is there a recommended configuration or workaround?

Thank you in advance for your support.

Kind regards,

Hello Gonzalo. The error suggests a date-conversion issue during SAP role assignment. FROM_DAT is the Valid From field in BAPILOCAGR, but it is receiving noEndDate instead of a valid date. I would check both startDate and endDate.

Regarding your questions:

  1. Configuration: SailPoint’s Entitlement Validity Period documentation describes passing startDate and endDate in the Roles AttributeRequest’s attributes map within a custom provisioning plan, rather than through a source setting.
  2. Create Account: Check whether the Roles AttributeRequest is included in the Create plan or handled separately. A BP Rule can modify the outgoing plan, but should not be used to create new account attributes.

I would suggest testing this:

  • Create the account without the role and aggregate it.
  • Assign the role separately using startDate=2026-12-01 and endDate=2027-12-01.
  • If successful, compare the standalone and Create + Role provisioning plans.

Also check whether noEndDate appears in the outgoing plan. If present, trace its source; if the plan contains valid dates but provisioning still fails, I would involve SailPoint Support.

Could you confirm whether standalone role assignment works and whether noEndDate appears in the generated plan?