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

How to delete BDC session ?

Former Member
0 Likes
1,632

hi gurus,

In my scenario , Before runnning BDC ( calll transaction ) , I firstly create a session ( use : BDC_OPEN_GROUP) with group name = the file that used to upload data for BDC execution , Then I check If the BDC run without error I will use BDC_CLOSE_GROUP to delete this group or else the session is kept , But when I check In SM35 , There's no session deleted ? Could you please help me ?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
917

Hi ,

If session is successfully executed with any errors . It will not be displayed in Sm35 .

If u want to see the success session then u need to parameter in the Fm .

KEEP = 'X'.

then u can directly delete it from sm35.

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
918

Hi ,

If session is successfully executed with any errors . It will not be displayed in Sm35 .

If u want to see the success session then u need to parameter in the Fm .

KEEP = 'X'.

then u can directly delete it from sm35.

Thanks.

Read only

Former Member
0 Likes
917

>I will use BDC_CLOSE_GROUP to delete this group or else the session is kept , But when I check In >SM35 , There's no session deleted ? Could you please help me ?

BDC_CLOSE_GROUP is used to Close the session Group, if you close it you cannot insert any transactions/records to the the Session group , not for Deletion.

You want to Delete the session after the processing you have to use KEEP = ' '.

then once process is over the session will be deleted.

Read only

Former Member
0 Likes
917

If your session was created successfully without any error than it will automatically deleted after you execute the session.

else if error than from SM35 select the session and press SHFT+F2.