‎2009 Jan 21 11:35 AM
Hi,
How can i delete the Session name through program with out going to SM35.
Regards,
Suresh
‎2009 Jan 21 11:42 AM
‎2009 Jan 21 11:42 AM
‎2009 Jan 21 11:46 AM
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
‎2009 Jan 21 11:50 AM
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.
‎2009 Jan 21 11:56 AM
Hi,
Try Below Fm,
BDC_OBJECT_DELETE
BDC_DELETE_SESSION
Regards,
Anki Reddy
‎2009 Jan 21 12:13 PM
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
‎2009 Jan 21 12:21 PM
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