# [Tex/LaTex] How to reduce top margin in scrlttr2

scrlttr2spacing

i'm having problems searching for the solution. I'm writing a simple letter and I see that top margin is too large.
I tried

\setlength\topmargin{-50pt}


recommended in this answer, but nothing happened.
I also tried

\@setplength{refvpos}{5cm}


recommended in but it seems to make the body of the letter go up, instead
of making the whole letter (including address and subject).

Thanks!

You can use

\setkomavar{fromname}{%

\makeatletter\@setplength{firstheadvpos}{0cm}\makeatother

However, setting directly firstheadvpos should be done in a lco file (letter class options).