Symptom
You can now add a clickable hyperlink to billing document output, with which customers can be directed to where they can pay the bill. Follow these steps in the 'Resolution' part to enable the payment hyperlink.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP S/4HANA Cloud Public Edition
Resolution
1. Create a Custom Form Template
- Log into SAP Fiori Launchpad as a key user for extensibility.
- Open the ‘Maintain Form Template’ app.
- Create a custom form template by copying from the standard form template (e.g., SDBIL_CI_STANDARD_US).
- Download the custom form template for editing.
2. Edit the Form Template to Add a Hyperlink
- Open the downloaded form template in Adobe Lifecycle Designer for SAP tool.
- Locate the same subform that contains the payment by link QR code.
- Add a new control:
- Insert a ‘Text Field’ control within the subform.
- Choose ‘Allow Multiple Lines’.
- Set the ‘Field Format’ to ‘Rich Text’.
- In the ‘FormCalc’ script section (initialize event), add script code refer to the screenshot below.
For the script code, please refer to attachment "FormCalc Script.zip".
3. Upload the Modified Template
- After editing, upload the updated form template back into SAP via the ‘Maintain Form Template’ app.
4. Assign the Template to the Output Type
- Log into SAP Fiori Launchpad as a key user for configuration.
- Use ‘Assign Form Templates’ in the ‘Manage Your Solution’ app (or CBC) to assign this custom form template to the ‘BILLING_DOCUMENT’ output type.
5. Configure Output Determination
- Log into SAP Fiori Launchpad as a key user for administrator.
- Define rules using the ‘Output Parameter Determination’ app to specify when the custom template should be used.
Keywords
billing document, output, payment by Link, custom form , KBA , SD-BIL-GF-2CL , Basic Functions (Public Cloud) , How To
Product
Attachments
FormCalc Script.zip |