cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sorting and aggregation in the SAP Adobe form using scripting language in S4HANA Public Cloud

Vishal__2546
Explorer
0 Likes
199

Our Requirement: - I want the group item based on some fields present in the invoice print. For Example - Suppose I have 8 line items in the item node 4 for the line item has same material (A) and 2 of the line item has material (B) and rest 2 line items has material (C). So I want the group of material A, B, C such that I only display 3 line items in the adobe form.

Vishal__2546_0-1776153033617.png

Current behavior: - Currently all line item is displaying the print.

I want group of these 4 material accordingly I want to add amount tax amount.

Material (A): - Travel, Accommodation & Meals
Material (B): - Resource, Equipment & Others
Material (C): - AMC-ECU-Part and Labor Support FP-Feb
Material (D): - STF-OSS-OSS PS-Feb

My process: - I have copied the standard output template and its data source and created a copy for that standard Template, after copying I have made the changes and created my new template skeleton and bind the data till now the data is coming correct. But I want grouping based on material and tax percentage. How to do that??

I am getting this print from VF03/VF02.

Vishal__2546_1-1776153142624.png

This is the Hierarchy of my form template. i am unable to sort and aggregate the amount and tax amount and total amount.


#SAP S/4HANA Cloud Public Edition



Accepted Solutions (0)

Answers (0)