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's program name

Former Member
0 Likes
1,049

Can anybody tell me the way so that i can find out which program has created the BDC session? I looked into APQI table but the PROGID field is blank. Is there any other way to find out the Program's name of BDC session?

6 REPLIES 6
Read only

Former Member
0 Likes
799

Hi Ashwani,

Check this thread for the same question .

Regards,

Raghav

Read only

0 Likes
799

Thanks for the reply... but i have already gone thro' those link ... the question is not answered ... it doesn't specify the way to get the program's name...

Read only

Former Member
0 Likes
799

Hi

No! I don't believe if that field is empty, but it's very strange because the parameter PROG of fm BDC_OPEN_GROUP is mandatary and its value is the calling program name.

Max

Read only

0 Likes
799

There is NO required parameter in BDC_OPEN_GROUP and moreover PROGID is not at all the parameter of BDC_OPEN_GROUP.

Well in my case, some program is creating session in SM35 (it miet be a SAP standard program and can be creating session using some other program) just wanted to know how those sessions are getting created?

Read only

0 Likes
799

Hi Ashwani,

First of all i would like to point out that Max was right in saying that PROGID field of APQI field is filled when the session is created via BDC_OPEN_GROUP.

We don't have the PROGID field in this FM but we have PROG as an exporting parameter which contains the value of SY-CPROG which is filled in the PROGID field of APQI.

Secondly the progid field in APQI table is only filled when you create a session using BDC_OPEN_GROUP. It won't be filled otherwise. A typical example for this scenario would be when we create a job using JOB_OPEN function module.

Do let me know if you have any other doubts.

Regards,

Chetan.

PS:Reward points if this helps.

Read only

0 Likes
799

Guys, To get the BDC's session's program name... check out the time on which session was run in SM35, then go to STAT transaction to know which programs were running at that time on the server. You will get to know the program's name which created the BDC session.