% ----------------------------------------------------------------------------
% File `moreappendix.tex'
% Copyright (c) 2013-2014 Markus Kohm
% 
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
% 
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Markus Kohm.
% 
% This work consists of the file `moreappendix.tex' only.
% ----------------------------------------------------------------------------

\documentclass[headings=appendixprefix]{scrbook}
\usepackage{blindtext}
\usepackage{etoolbox}
\providecommand*{\appendixmore}{}% Falls Option headings=appendixprefix nicht verwendet wurde.
\newcommand*{\SavedOriginaladdchaptertocentry}{}
\appto\appendixmore{%
  \let\SavedOriginaladdchaptertocentry\addchaptertocentry
  \renewcommand*{\addchaptertocentry}[2]{%
    \ifstr{#1}{}{% Eintrag ohne Nummer
      \SavedOriginaladdchaptertocentry{#1}{#2}%
    }{% Eintrag mit Nummer
      \SavedOriginaladdchaptertocentry{}{%
        \string\expandafter\string\MakeUppercase\string\appendixname
        ~#1:\string\enskip{}#2}%
    }%
  }%
}
\usepackage[colorlinks]{hyperref}
\hypersetup{%
  pdftitle={How to add "\appendixname" in Front of Each Appendix Entry in the
    Table of Contents},
  pdfauthor={Markus Kohm}
}

\begin{document}
\subject{Example}
\title{How to add ``\appendixname'' in Front of Each Appendix Entry in the
  Table of Contents\footnote{The source may be found on
    \url{www.komascript.de}.}}
\author{Markus Kohm}
\maketitle
\tableofcontents
\blinddocument
\appendix
\blinddocument
\blinddocument
\end{document}

% end of file `moreappendix.tex'


