Skip to Content
0
Former Member
Apr 22, 2010 at 03:37 AM

Reg Percentage calculation in alv list display

20 Views

Hi,

i am working on alv interractive list display where in i need to calculate the percentage based on sub totals , i got the required result by using events , but when the events are used the interractive reporting is not working or the line clicked by the user is not captured completely , but the report was working fine before using the EVENTS.

i have used the event :

BEFORE_LINE_OUTPUT.

and code for corresponding event :

if p_lineinfo-subtot ne space.

field3 = (field2 / field1) * 100.

endif.

kindly let me know if i need to any other modification in the report or any other way of getting the percentages calculated .

thanks and regards,

Vikram.