Hello All,
In my output I am displaying material group and material and its net value (from PO). Net value may be in different currencies based on PO.
I need total and subtotals for each materia group segregated. With the below code I am getting subtotal for each material group in differnt currencies but I am getting net total as one. How can I segragate net total based on currencies.
CLEAR: wa_sort.
wa_sort-fieldname = 'MATKL_GRP'.
wa_sort-group = 'X'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO it_sort.
CLEAR: wa_sort.
wa_sort-spos = '01'.
wa_sort-fieldname = 'WAERS'.
wa_sort-up = 'X'.
wa_sort-group = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO it_sort.
Regards,
Suresh.