ABC Sports announced yesterday it has struck a deal with the U.S. Treasury Department so the network can televise the 1991 Pan American Games from Havana to the United States.

The deal settles a six-month-old lawsuit in which a federal judge in New York upheld Treasury's right to block the network from paying Cuba any rights fee for the games. At the time, ABC, which had negotiated exclusive rights with the Cubans, indicated it would appeal.

Originally, ABC was estimated to have offered the Cubans from $6.5 million to $8.7 million for U.S. rights to the Aug. 2-18 games, in which a U.S. team is expected to compete.

Stephen Solomon, ABC senior vice president, said it was part of the agreement with Treasury that particulars be kept secret, so he wouldn't say if ABC still is paying the Cuban government.

ABC and the Cuban government reached original accord last year, but Treasury refused to license the broadcast, citing laws that restrict business between U.S. companies and Cuba.

Solomon said the network will send 330 production and technical personnel to cover the games for ABC and Turner Broadcasting's TNT cable network. . . .

The U.S. Olympic Committee is urging that drug tests of athletes in the Pan Am Games not be performed in Cuba but that urine samples be flown to a properly equipped lab elsewhere in North America.

Meeting in Chicago, the USOC adopted a resolution stating "grave concerns" because, it said, Cuba lacks a testing laboratory, gear and trained technicians.

"The implied message {of the resolution} is that the United States will not participate unless the proper procedures are used," committee spokesman Mike Moran added.