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