Symptom
Create a purchase order, while the tax amounts are not appearing in the PO forms.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Purchase Requests and Orders work center.
- Go to Purchase Orders view.
- Select the relevant Purchase Order.
- Click on Edit and select Preview button.
- The Product Tax amount is blank.
Cause
In the current release we do not support the Product tax data displayed in Purchase Order form. We only support common attributes like : ID, Product, Quantity , Date , etc.
Resolution
The tax amounts in purchase orders are always calculates at item level and you can enable the Tax Amount field from the below steps:
- Go to Application and User Management work center.
- Go to Form template Maintenance view.
- Select the Created Purchase Order form template for Country and Language variant.
- Select Open via Easy form editor.
- In sections select Table, Select Columns and Click on Add action.
- The select Add and Column.
- Under Items, select Price sub element.
- Select NetUnitPrice tag.
- Here you can find the field TaxAmount along with GrossAmount and NetAmount.
- Move to right pane and select ok.
- Select Save and Publish the form template.
In some cases, after doing above steps, the field TaxAmount, GrossAmount or NetAmount may still be blank. This is because that Easy form editor uses full binding path but in the form template, the field has a parent field and part of the binding is maintained in the parent field. As a result, the field will inherit the parent's binding path and point to a invalid position.
For example, the binding path of GrossAmount after doing above steps is $.PurchaseOrder.Item[*].Price.GrossAmount. If the parent field of GrossAmount already has a data binding like $.PurchaseOrder.Item[*], the actulal binding path of GrossAmount will be $.PurchaseOrder.Item[*].PurchaseOrder.Item[*].Price.GrossAmount when previewing PDF.
In this case, it is necessary to open the template in Adobe LifeCycle Designer to modify the binding path. When previewing PDF, the actucal path should always be the full binding path.
Keywords
Tax Amounts Missing in the Purchase Order Form; Tax Amounts Missing in PO Form; tax amounts; PO form , KBA , SRD-SRM-PRO , Purchase Requests and Orders , AP-RC-OUT , Output Management , Problem