The Karnataka High Court on Wednesday asked top officials of Karnataka and Andhra Pradesh to appear before it on Thursday to find an immediate as well as longterm solution to the water problem in P