I was reading this old question:
I've found out a solution by myself,but I can't undestand an answer that an user gave.
The answer is in 2 steps. The first step claims that every non-negative lebesgue function can be written as countable sum of terms $\chi_{A_n} \alpha_n$, with $A_n$ lebesgue measurable set. I think that's false, it looks strange. Can anyone help me to clarify this?