Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC session -session qid value-inside user exit

Former Member
0 Likes
596

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

3 REPLIES 3
Read only

ThomasZloch
Active Contributor
0 Likes
484

If sy-binpt is set, you can call function module BDC_RUNNING to obtain this information.

Thomas

Read only

umashankar_sahu
Active Participant
0 Likes
484

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......

Read only

0 Likes
484

How would you know which APQI record to read for the currently running session? Only by calling above function module first.

Thomas