Hi Murali,
I believe that these two are the methods, as I am aware about, I did not dig much into it, and also if we say the above two methods are inter-related i.e. writing a code in driver program and configuring is same like write code in Customer exit supplied by SAP, so both the methods hold good for the above scenario.
BR/Thanks
Pranav Agrawal