The transaction code MSC2N is used to delete a batch. By flagging the batch master record, you can delete a batch record alternatively.