‎2006 Sep 14 4:46 AM
Hi Abaper ,
In my alv repoer i am doing sum base on the bkpf-month to the field
bseg-DMBTR .
my problem is i want text when summing in every month .
like
Amount in month June is
how can i do ? if any one can face same problem help me .
Regards
Ajay pandey
‎2006 Sep 14 4:52 AM
HI,
u want to display sub-totals right!!
try this..
wa_layout-subtotals_text = 'Amount in month June is:'.
hope this helps,
do reward if it helps,
priya.
‎2006 Sep 14 5:14 AM
remember that the text will appear in the first output column of the ALV. If the first output column is shorter than your text it will NOT appear. If it is shorter then make sure you set the outputlen in the fieldcat for the first column to be long enough(24?). ACtually, you have to allow 2 more than the length of the text as ALV precedes your text with '* '.
‎2006 Sep 14 5:13 AM
HI
GOOD
where your r printing the amount,declare a variable with "Amount in month June is " and put it where you r printing the sum.
Thanks
Mrutyun^
‎2006 Sep 14 5:26 AM
‎2006 Sep 14 6:07 AM
Hi All,
I want the text display on every subtotal and grand total as well .I am putting in layout but its not display