Deleting BDC sessions
There are two simple steps to deleting specific BDC session(s) created in a program.
1) Get the 'Exporting' parameter 'qid' when opening the BDC session using 'BDC_OPEN_FORM'.
2) Call the function module 'BDC_OBJECT_DELETE' and pass the 'QID' parameter to delete the session.