‎2012 Jan 25 10:52 PM
hai,
when we process a BDC session from SM35,can we know the unique queue id for that particular session..i need that value to update a ztable in a user exit..this user exit is hit during the processing of that session..is their some system like variables storing the session id?
Edited by: kumar gaurav on Jan 26, 2012 1:13 AM
‎2012 Jan 26 12:47 PM
If sy-binpt is set, you can call function module BDC_RUNNING to obtain this information.
Thomas
‎2012 Jan 27 12:44 PM
Hi Gaurav,
Check in table APQI .
with key combination we will get the queue id from this table, and here you will get the info like whether the session is craeted or in process or with error......
‎2012 Jan 27 12:48 PM
How would you know which APQI record to read for the currently running session? Only by calling above function module first.
Thomas