Skip to Content
0
Former Member
Mar 20, 2008 at 05:40 PM

Wrong sum in ALV-List

97 Views

Hi experts!

I'm using the SAP-standard-function K_LINE_ITEMS_SELECT_AND_LIST to display actual cost line items for cost centers in an ALV-list. This funtion is called by a double-click on a cell in another ALV-list.

Works wonderful - until this function doesn't select any items. When you call the function after that again and cost line items have been found, the sum in the ALV-list is doubled. If you call the function without finding cost line items four times the is sum fourfold.

Think, there must be a buffer/stack, that I have to reset. Has somebody an idea?

Thanks for you help!

Best regards,

Jens