[Tex/LaTex] Tocloft, modify table of contents

koma-scripttable of contentstocloft

I try to modify my table of contents. In the picture below you see how my table of contents should look like.

I already removed the heading, modified the intends.
I tried to remove the dots, change the vspacing, bold letters but it doesnt work… I already read the tocloft docu, but my code didnt work. Here is my code. Hope you can help me. THX

%Dokumentklasse
\documentclass[a4paper,11pt, pointlessnumbers,  twoside]{scrreprt}    
\usepackage{tocloft} 
\makeatletter 
\renewcommand*\l@section{\bprot@dottedtocline{1}{0em}{2.3em}}
\renewcommand*\l@subsection{\bprot@dottedtocline{2}{1.5em}{2.5em}}
\makeatother 
\begin{document}
%===Inhaltsverzeichnis===%
\renewcommand\cftsecdotsep{2000}
\renewcommand\cftsubsecdotsep{2000}
%\renewcommand{\cftsectiondotsep}{\cftnodots}
\renewcommand{\contentsname}{}
\tableofcontents
    
\chapter{Just}

\chapter{Checking}

\section{To see}

\section{If I}

\subsection{Can Duplicate}

\subsection{The problem}

\section{Here}

\chapter{In the TOC}

\end{document}

It should look that way:

enter image description here

Best Answer

Here is a suggestion using the possibilities of KOMA-Script. It needs at least KOMA version 3.20 (current is 3.21).

\documentclass[
  numbers=noenddot,
  twoside,
  ngerman
]{scrreprt}[2016/05/10]
\usepackage{babel}

\usepackage[headsepline,plainheadsepline,automark]{scrlayer-scrpage}
\clearpairofpagestyles
\ohead*{\pagemark}
\ihead{\headmark}
\addtokomafont{pagehead}{\normalfont}

\deftocheading{toc}{}
\BeforeTOCHead[toc]{\markboth{\contentsname}{\contentsname}}
\AfterTOCHead[toc]{\thispagestyle{scrheadings}}

\usepackage{xpatch}
\xpatchcmd{\addchaptertocentry}
  {\addtocentrydefault{chapter}{#1}{#2}}
  {\addtocentrydefault{chapter}{#1}{\MakeUppercase{#2}}}
  {}{\PatchFailed}

\RedeclareSectionCommand[
  tocindent=0pt,
  tocnumwidth=2.3em,
  tocbeforeskip=1em plus 1pt,
  tocentryformat=\textbf,
  tocpagenumberformat=\textbf
]{section}
\RedeclareSectionCommand[
  tocindent=1.5em,
  tocnumwidth=2.5em
]{subsection}

\RedeclareSectionCommands[
  toclinefill=\hfill
]{section,subsection,subsubsection,paragraph,subparagraph}

\renewcommand\pagemark{{\usekomafont{pagenumber}\pagename \enskip\thepage}}
\providecaptionname{ngerman}{\pagename}{Seite}

\renewcaptionname{ngerman}{\figurename}{Abb.}
\renewcaptionname{ngerman}{\tablename}{Tab.}
\addtokomafont{captionlabel}{\bfseries}

\renewcommand\familydefault{\sfdefault}

\begin{document}
\pagenumbering{Roman}
\tableofcontents

\cleardoubleoddpage
\pagenumbering{arabic}
\chapter{Just}
\chapter{Checking}
\section{To see}
\section{If I}
\subsection{Can Duplicate}
\subsection{The problem}

\section{Here}

\chapter{In the TOC}

\end{document}

Result:

enter image description here