Hi,
I solved the problem following the steps in SAP note 633285 - Printing the total Vat amounts in each Vat group, https://websmp130.sap-ag.de/sap/support/notes/0000633285
In order to print in the order the Vat amount in each vat group Please perform the followed stages:
- Go to Tools (in the SBO tool bar ) and chose Manage User Field
- In Marketing Documents (Rows) add new fields according to the Num of the vat groups that you are using in Orders (e.g. A1, A2 ,A4) The type : Units and Totals - the Structure: sum in the order each column will represent the vat amounts in the line but only for certain Vat Group
- in order that each column will display the vat amount in the line only if it belong to certain Vat group we attach a query to each column: (e.g. we have 3 columns : A1, A2, A4) .the queries are;
- SELECT $[$38.82.NUMBER] WHERE $[$38.18.0] = 'A1' FOR BROWSE SELECT $[$38.82.NUMBER] WHERE $[$38.18.0] = 'A2' FOR BROWSE SELECT $[$38.82.NUMBER] WHERE $[$38.18.0] = 'A4' FOR BROWSE Now each column will display the vat amount only if it in the relevant vat group
- in the order document printing template you need to add those Vat column in our example we add 3 data fields : the file: Order - Rows , the Field: A1/A2/A4 - you can hide (un visible ) this columns as needed
- in the Repetitive Area Footer add a calculation field for each vat groupthe Type: Column Total , the Column: Order; A1/A2/A4 in each calculate field you will get the sum amount of the vat in the relevant Vat group. (in addition you can add text fields with a relevant description for the calculation fields)
Thanks & BR,
Leng