@Walter Hinteler,
If you have a language without a case system as your mother tongue (e.g. French, English, Chinese), you often learn the general rule :
• convert direct object to accusative;
• convert indirect object into dative.
However, one must then also learn that a sentence element that is a direct object in the mother tongue does not always correspond to a (German) accusative object.