SAP Knowledge Base Article - Public

2292107 - Error Appears When Generating Document Based off a Custom MDF object "You do not have permission to access the following placeholders:"

Symptom

I try to generate a document based upon a custom mdf object and I get the following error.

"You do not have permission to access the following placeholders:"

 "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.“

Environment

 Employee Central - Document Generation

Reproducing the Issue

  1. Create a new object definition that has some custom fields.
  2. Create at least one entree for this object definition in the "manage data" tool
  3. Create a new document template based on this new mdf object.
  4. configure document mapping.
  5. Try to generate document and click download button..notice the error message pop up.

Cause

It is caused by incorrect code added in the base parameter for the document generation mapping rule.

Resolution

An example here is as follows

 2019-04-08_10-21-13.png

 Please ensure that the code for the object in the parameters section is the same as the external code for the object in configure object defintion.

 Note:- You do not need to include cust_ in the code, just everything after cust_

Keywords

You do not have permission to access the following placeholders, Document Generation, Document Generation Mapping, Document Generation Template , KBA , LOD-SF-EC-DOC , Document Generation , Problem

Product

SAP SuccessFactors HCM Core 1511 ; SAP SuccessFactors HCM Core 1602