We are trying to automate Transaction VA88 - Sales Order Settlement, but we are unable to save a variant.
we use a custom abap through se38 to settle our orders nightly. we use va88 to reverse and settle those individual orders which slip past the abap due to various reasons.
To run in the background in a batch session, we use the program RK07VA88 (in 4.6b). There was an OSS note #172325 that discusses this issue.