i am not aware of sweeteners (sugars or artificial sweeteners) causing problems for stomach ulcers. that being said too much alcohol can make them worse. the key is finding out the cause of the stomach ulcer and getting the proper treatment. here is more about how diet can help.
can sweetners react to stomach ulcers