I'm looking to divide the sum of line items for percentage. I have used at last & sum in a loop which provides the sum for each but having difficulty coding the division into a result. I've specified DATA: result TYPE p DECIMALS 2.