Deutsche Bank said today it will record 2.2 billion euros ($3.09 billion) in charges, partly due to mortgage investments and leveraged loans to corporate raiders, reports the Wall Street Journal online. Its third-quarter profit, however, will still surpass the year-ago figure because of tax credits and capital gains.

Here’s more from the Journal:

The German banking giant will take a €700 million charge on leveraged loans and loan commitments in the third quarter, as well as a €1.5 billion charge on structured credit products, residential mortgage-backed securities and relative value trading in both credit and equities, it said. Valuations have declined in the wake of the meltdown in U.S. subprime mortgage lending, as investors lost trust in credit products and banks have had difficulty selling those products at previously high prices.

It said its corporate banking and securities unit is likely to report a pretax loss in the quarter between €250 million and €350 million. Nevertheless, Deutsche Bank said net profit in the third quarter will exceed €1.4 billion, up from €1.24 billion one year ago, due to positive tax effects and gains from, among other items, the sale of a Wall Street building in New York.

“We see substantial opportunities in investment banking after this period of correction. Therefore, we stay the course and remain committed to our publicly-stated financial targets for 2008, including pretax profits of €8.4 billion, assuming normally functioning markets,” Chief Executive Josef Ackermann said in a statement.