cancel
Showing results for 
Search instead for 
Did you mean: 

Compensation Statement Generation Failure

annezijlmans2
Explorer
0 Kudos
885

Hi,

We are facing an issue when generating statements for a total compensation plan.
The issue doesn't seem to be with our custom statement, as the statement is generating when we assign it to other templates.

The issue seems with the plan. If we attach other statement templates to the compensation plan, it is also not generating.

The error we retrieve from Provisioning is as follows:

Run DetailsTo navigate the tree using the JAWS screen reader, switch to JAWS cursor mode by pressing minus on the numeric keypad. In JAWS cursor mode, the cursor will act like a mouse pointer. To return to PC cursor mode, press plus on the numeric keypad.

Extended Job Run DetailsJob NameCompGenStatement_AdminGenerateCompStatement_Tue Mar 28 2023 09:34:04 CESTJob TypeGenerate Compensation Personal StatementServer AddressJob Server (Worker Id:pc33bs2job11-5867437582)JIRA SupportsPlease file JIRA ticket with project name "Compensation Management (CMP)" and component name "Personal Statement" for technical supports of this job.Run DetailsDescriptionTimeStatusPlease refer to [KB-1] for this failure.2023-03-28 09:34:15.612FailedFull exception:com.successfactors.jobscheduler.ScheduledJobExecutionException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The content of elements must consist of well-formed character data or markup.
at com.successfactors.compensation.service.scheduledjob.CompGenerateStatementJob.executeJob(CompGenerateStatementJob.java:373)
at com.successfactors.jobscheduler.jobimpl.SimpleJob.execute(SimpleJob.java:461)
at jdk.internal.reflect.GeneratedMethodAccessor701.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.successfactors.perflog.PerfLogProxy.invoke(PerfLogProxy.java:230)
at com.sun.proxy.$Proxy507.execute(Unknown Source)
at com.successfactors.schedulerservice.JobExecutionProxy.execute(JobExecutionProxy.java:249)
at com.successfactors.schedulerservice.workermgmt.WorkerThread$ExecuteJob.execute(WorkerThread.java:273)
at com.successfactors.schedulerservice.workermgmt.WorkerThread.run(WorkerThread.java:87)
Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The content of elements must consist of well-formed character data or markup.
at com.successfactors.compensation.service.scheduledjob.CompGenerateStatementJob._generateCompStatement(CompGenerateStatementJob.java:1378)
at com.successfactors.compensation.service.scheduledjob.CompGenerateStatementJob.generatePersonalStatement(CompGenerateStatementJob.java:1056)
at com.successfactors.compensation.service.scheduledjob.CompGenerateStatementJob.processStatement(CompGenerateStatementJob.java:584)
at com.successfactors.compensation.service.scheduledjob.CompGenerateStatementJob.generatePrimaryStatements(CompGenerateStatementJob.java:2153)
at com.successfactors.compensation.service.scheduledjob.CompGenerateStatementJob.executeJob(CompGenerateStatementJob.java:349)
... 9 more
Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The content of elements must consist of well-formed character data or markup.
at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
at com.successfactors.compensation.service.scheduledjob.CompGenerateStatementJob._generateCompStatement(CompGenerateStatementJob.java:1374)
... 13 more
Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The content of elements must consist of well-formed character data or markup.
at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(Unknown Source)
... 16 more
Caused by: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The content of elements must consist of well-formed character data or markup.
at java.xml/com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(Unknown Source)
at java.xml/com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(Unknown Source)
... 17 more
2023-03-28 09:34:15.598FailedMail delivery successful.2023-03-28 09:34:15.584In ProgressDone logging mail to job2023-03-28 09:34:15.556In ProgressStart logging mail to job2023-03-28 09:34:15.527In ProgressError: TransformerException caught when transforming XML Data. Please check if the content of statement template is corrupted. More detail: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The content of elements must consist of well-formed character data or markup.2023-03-28 09:34:15.512In ProgressStart processing statement2023-03-28 09:34:14.761In ProgressGenerate Personal Statement options :

Name:
Form Template(s): [2447]
Personal Statement Template:Simple personal compensation statement with no employee info header
Has Variable Pay Goal Statement:false
Has Variable Pay Personal Statement:false
Custom Logo URL:https://performancemanager5.successfactors.eu/logo/.jpg
Company Logo URL:https://performancemanager5.successfactors.eu/logo/.jpg
2023-03-28 09:34:14.691In ProgressDone init2023-03-28 09:34:14.683In ProgressStart init2023-03-28 09:34:14.468In ProgressCompGenStatement job is initialized2023-03-28 09:34:14.457In Progress2023-03-28 09:34:14.13StartedRefreshCancel Save & Close

Accepted Solutions (0)

Answers (2)

Answers (2)

xavierlegarrec
Product and Topic Expert
Product and Topic Expert

Hi annezijlmans

This is very difficult for us to troubleshoot on this thread as we usually don't build custom statements, our reporting experts do.

Please send me a message at xavier(dot)le(dot)garrec@sap(dot)com so we can connect and I will try to ping one of my colleagues to help you or share a recording of your issue with him.

All the best

Xavier

annezijlmans2
Explorer
0 Kudos

Hi Xavier,

Thank you so much for your reply!

Unfortunately the issue is not the statement, but the plan itself. Even with a standard SAP statement we are getting the failure, meaning the issue isn't with the custom statement build.

We believe to have found the issue caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The content of elements must consist of well-formed character data or markup.

Based on that we have found that the issue is coming from your Background Section ID: varPayEmpHistData

There is a VarPay field containing letters.

The ID of that field is causing the issue as XML elements must follow these naming rules:
• Names can contain letters, numbers, and other characters
• Names cannot start with a number or punctuation character
• Names cannot start with the letters xml (or XML, or Xml, etc)
• Names cannot contain spaces

I am now looking for a solution without having to relaunch, as we have completed all worksheets already.
Do you think it would be possible to update the name of the EC field, rerun bonus calculation and update the worksheets?

Thank you for sharing your thoughts!

Kind regards,

Anne