SAP Knowledge Base Article - Public

3045411 - EC: Document generation rule mapping with model base object does not work

Symptom

  • Rule mapping in document generation with model base object does not return value.
  • Rule mapping with model base object returns "model is not a valid object"

Environment

SuccessFactors Employee Central - Document Generation

Reproducing the Issue

  1. Go to Configure Business Rules, then choose Create New Rule.
  2. Enter details in the relevant fields, in the Base Object field, choose Document Mapping Rule Result, and the Rule type as DocumentGeneration
  3. Choose Create.
  4. Add additional parameters as Job Information Model
  5. Enter the logic for the rule  > Save
  6. Map the business rule in Document Generation Template Mapping > Template
  7. Generate Document

Cause

Model objects are currently not supported in the rule mapping

Resolution

  • Use Past Direct Mapping to get the previous value of a field
  • Refer to Document Generation implementation guide for more details

Keywords

document generation, model, base object, job information model, rule mapping, model is not a valid object, template mapping, document generation rule mapping , KBA , LOD-SF-EC-DOC , Document Generation , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions