Retired Army Sgt. Charles W. Etters, 46, a veteran of the Vietnam conflict and an Army computer programmer and analyst died Tuesday at his home in Oakton, Va., after a heart attack.

In 1966 and 1967, Mr. Eters served with the 9th Infantry Division in Vietnam, and was awarded the Bronze Star.

During his 20-year Army career, he also served in Germany and Turkey. His assignements in this country included tours as a computer programmer in New Jersey and Kansas and at the U.S. Military Academy at West Point.

His last assignment before retiring in 1972 was as a computer programmer in Karlsruhe, West Germany.

In 1975, Mr. Etters moved to this area to work as a civiliam computer programmer and analyst for the Marine Corps. He then joined the Computer Center of Planning Research Corporation International of McLean as an application programmer. He retired earlier this year for health reasons.

Mr Etters received the Army Commendation Medal for his work with computers.

Survivors include his wife, Marie F., of Oakton; a son, James, of Annandale; three daughters, Lucinda Collier of Annandale, Wanda Vigil of Gillette Wyo., and Irene, of Great Falls, Mont; a brother, Walter, of Saint Pauls, N.C., Aletha Martin of Newport News, Va., and Agatha Malone of Fayetteville, N.C., and from grandchildren.

The family suggests that expressions f sympathy be in the form of contributions to the Heart Fund.