Symptom
In the standard form template FI_CASH_JOURNAL_RECEIPT, the Text column in the PDF output displays the Business Transaction value instead of the Text field value.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Post Cash Journal app.
- Enter a cash line item and click Post.
- Select the posted line item and click Receipt.
- Under Output, select form template FI_CASH_JOURNAL_RECEIPT.
- Click Display Document.
- In the generated PDF, observe that the Text column displays the Business Transaction value instead of the Text field value.
Cause
The standard form template FI_CASH_JOURNAL_RECEIPT contains an incorrect field mapping. The Text column is bound to $.DocumentHeaderNode.B_HeaderItemNav.DocumentItemNode[*].CashJournalTransactionName (Business Transaction) instead of $.DocumentHeaderNode.B_HeaderItemNav.DocumentItemNode[*].CashJournalDocumentItemText (Text). This is a defect in the standard delivered template.
Resolution
As a workaround until the defect is addressed by the development team, create a custom form template based on the SAP pre-delivered FI_CASH_JOURNAL_RECEIPT and correct the field binding manually:
- Copy the standard form template FI_CASH_JOURNAL_RECEIPT and create a custom form template.
- Locate the Text field and change the binding from $.DocumentHeaderNode.B_HeaderItemNav.DocumentItemNode[*].CashJournalTransactionName to $.DocumentHeaderNode.B_HeaderItemNav.DocumentItemNode[*].CashJournalDocumentItemText.
- Open the Output Parameter Determination app and replace the default form template with the newly created custom form template.
- Test the output to confirm the Text column displays the correct value.
Keywords
Cash Journal, FI_CASH_JOURNAL_RECEIPT, Text, Business Transaction, Form Template, Output Parameter Determination, Post Cash Journal, CashJournalTransactionName, CashJournalDocumentItemText, FI-BL-PT-CJ-2CL , KBA , FI-BL-PT-CJ-2CL , Cash Journal (Public Cloud) , Problem
SAP Knowledge Base Article - Public