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

Delete Session name

Former Member
0 Likes
1,015

Hi,

How can i delete the Session name through program with out going to SM35.

Regards,

Suresh

1 ACCEPTED SOLUTION
Read only

former_member222860
Active Contributor
0 Likes
890

Hi,

Did u check this Fm

BDC_DELETE_SESSION

thanks\

Mahesh

6 REPLIES 6
Read only

former_member222860
Active Contributor
0 Likes
891

Hi,

Did u check this Fm

BDC_DELETE_SESSION

thanks\

Mahesh

Read only

Former Member
0 Likes
890

hi

In order to delete a session from the session queue, you need to mark the sessions to be deleted and choose "Delete" from the tool bar. The system asks you to confirm the deletion. It also asks you if the session log should be deleted together with the session or not.

you need to follow this path Select System ->Service-> Batch input->Sessions if at all u dnt want to do this in sm35 transaction

hope this helps

regards

Aakash Banga

Edited by: aakash banga on Jan 21, 2009 5:19 PM

Read only

Former Member
0 Likes
890

Hi,

This is the code to delete the session name.


TABLES:    APQI.

types: BEGIN OF x_it,
      group TYPE APQI-GROUPID,
      END OF x_it.

DATA: it TYPE STANDARD TABLE OF x_it WITH HEADER LINE.

select GROUPID from APqi INTO TABLE It WHERE GROUPID = 'ZBDC' .

delete FROM APQI WHERE GROUPID = 'ZBDC'.
  If sy-subrc eq 0.
    WRITE:/ 'success'.
  ENDIF.

Hope this helps u.

Thanks.

Read only

Former Member
0 Likes
890

Hi,

Try Below Fm,

BDC_OBJECT_DELETE

BDC_DELETE_SESSION

Regards,

Anki Reddy

Read only

Former Member
0 Likes
890

BDC_DELETE_SESSION is to delete all BDC-sessions from apqi

/n u2013 terminates current batch input transaction and marks as incorrect.

o u2022 /bdel u2013 delete current batch input transaction from session.

o u2022 /bend u2013 terminate batch input processing and mark session as incorrect.

o u2022 /bda u2013 change display mode to process the session on screen instead of displaying only errors.

/bde u2013 change display mode to display only errors instead of processing the session on the screen

Read only

Former Member
0 Likes
890

Hi,

program RSBDCTL6-

select or delete batch i/p sessions or recordings

program RSBDCTL2.

select/delete batch input sessions in a client.

Regards,

Phani.

Edited by: Phani Krishna on Jan 21, 2009 5:53 PM

Edited by: Phani Krishna on Jan 21, 2009 5:57 PM