2006 Jan 21 6:57 PM
Hi,
In t-code SM35 how do u mark the deletion key ?? Also please tell me how to do it programatically ??
Thank You,
SB
Hi,
In t-code SM35 how do u mark the deletion key ?? Also please tell me how to do it programatically ??
Thank You,
SB
2006 Jan 21 7:46 PM
Hi
What's deletion key?
If you mean how to delete a session, yuo should mark a session and then presso DELETE ICON.
Max
2006 Jan 21 8:27 PM
Hi Max,
Next to the Screens column in SM35 screen there is a deletion indicator checkbox... I am asking how that can be checked ??
-SB.
2006 Jan 21 8:40 PM
Hi SB,
If what I assume is correct, you are unable to select the sessions created by a user to delete them. In SM35, adjacent to the sessions(left hand side), you can notice a rectangular box which should be pressed to select the session and then click on delete button. I donno how to do it programatically.
I am not sure if this is what you required.
Cheers,
Vicky
2006 Jan 21 9:12 PM
thru program check this pdf , page 7 ,in FM BDC_OPEN_GROUP , KEEP parameter will do that
2006 Jan 22 12:22 AM
2006 Jan 22 12:51 AM
Hi SB,
When you are you process the BDCs in Batch input session . A background job to process the BDC session, your program would continue and BDC session was being processed. You can set the deletion flag while calling "BDC_OPEN_GROUP" function by setting flag KEEP = 'X'.
Example :
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = 'ZGRP'
USER = SY-UNAME
KEEP = 'X'.
Lanka
2006 Jan 22 3:46 AM
You can process BDC sessions using SAP standard program RSBDCSUB. You can use RSBDCDEL to delete them. Much easier than writing a custom program.
Rob
2006 Jan 22 6:13 AM
The purpose of the delete checkbox you are talking is -
If checked -
The transactions/ screens will be deleted after they have been processed . If one session has multiple transactions and some of them posted corectly , these will be deleted from the session , however incorrect ones would still be there . That is how you can reprocess the incorrect transactions only . If all transactions in a session posted correctly then the whole session would be deleted automatically and would not be visible in SM35 .
If Not Checked -
Sessions will be kept irrespective of whether they posted correctly or failed .
This setting can only be done by the parameter KEEP of FM BDC_OPEN_GROUP . If you pass KEEP = 'X' then this flag = ' ' , else if you pass keep = ' ' then this flag will be 'X' . You cannot set this flag manually in SM35 after sessions are created . Please keep in mind that keeping sessions ( correct ones also ) will mean more space on database/ O/s .
Session logs are independant of above setting and remain there till you delete manually .
For more info see OSS note 24438
Cheers .
Sanjay
2011 Mar 16 4:45 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |