How to delete BDC session ?

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

>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.

Similar Messages

  • Deleted BDC sessions

    Howdy!
    I wanna be able to view deleted BDC sessions is there a way to do this?
    Or are they gone forever when I can't no longer seem em from SM35???????
    Also is there any good documentation on how the underlying table relations in SAP work and how to approach programming and a really good guide for beginners?
    Thanks y'all

    Hi Steve
    Sorry but I think you've lost deleted BDC sessions.
    I couldn't figure out what you mean by underlying table relations in SAP but there are some ways to gather information about ABAP programming. It is obvious that hands-on working is a must. Here are some ways that I can recommend:
    1. "ABAP Objects — The Official Reference"
    A comprehensive guide to all ABAP language elements
    by Horst Keller & Joachim Jacobitz
    --> You can find more info from http://www.sap-press.com/H958.html
    --> The miniWAS demo system is a good opportunity for hands-on experience
    --> The older version "ABAP Objects: Introduction to Programming SAP Applications"
    by Horst Keller, Sascha Kruger may also be OK
    2. "Sams Teach Yourself ABAP/4 in 21 Days" by Ken Greenwood
    --> This may be found from http://www.amazon.com and has a simpler aspect then the book above
    3. SAP Educations offered by SAP Education Partners
    --> There are various classes. There are some supplementary documents and of course hands-on experience
    3. SAP online help: http://help.sap.com
    4. There are various sites on the internet about ABAP programming, just make a search and look around.
    Regards...
    *--Serdar

  • How to Kill BDC session

    Hi All,
    I want to know the command with we put in command window to kill batch input sessio. Could youplease help?
    Thanks
    Saurabh

    Hello,
    Put /BEND In the command window this would end BDC Session
    regards
    suresh nair

  • How to process bdc session ?

    Hi ,
      Suppose I created a session BDC . Then How can I process it ? by using sm36 or any standard program ? If any standard program is there how to use it ?

    hi,
    Goto transaction SM35, in the displayed list of sessions,select the session you want to execute and then click on Execute button or press F8.
    SM36 is for creating background jobs
    *Reward points if its helpful

  • HELP! SAP Execute Delete Archiving Session failure

    Dear All,
    Could anyone give me opinions on SAP problems?
    When we archived object u201CFI_documntu201D, delete a u201CFilesu201D in tcode u201CSARAu201D, the AIX file system u201C/Oarcle/R3P/oraarchu201D was full, SAP and database have stopped, one archiving session deleting was failed and cannot retry. The SAP error message below:
    "Text CCR 110000570022007002 ID 0001 language EN not found"
    Message no. TD600
    Diagnosis: you want to read a text which does not exist in the database (or update memory)
    system response: Reading could not be carried out.
    Procedure: you need to create this text:
    1.Initialization (module INIT_TEXT)
    2.Save (module SAVE_TEXT)
    In SAP -> Overview of Archiving, the icon of file "000092-0031FI_DOCUMNT" is a THUNDER, not a green light.
    I captured screen for reference.
    [http://picasaweb.google.com.hk/lbiceman/SAP_error?feat=directlink]
    Please teach me how to delete archiving session after archive job was completed.

    Hi Alan,
    I have not faced this particular situation, so the following is just a thought,  please try with caution.
    Delete the cancelled job from the job overview, this possibly does away with the flash icon (THUNDER) on the deletion status of archive file, hopefully you should be able to manually re-run the delete job by going to SARA-(object FI_DOCUMNT) ->Delete and choosing the file for which deletion was incomplete.
    Hope this works,
    Naveen

  • URGENT - HOW TO PROCESS A BDC SESSION (IN BACKGROUND) FROM INSIDE A REPORT

    Hi All,
    I have a requirement wherein I need to create a BDC session for mass update(from file) of one transaction and check if at all that update has taken place and proceed with the same session for another transaction.
    For this I need to know how to process the session in background in a report, so that if the processing is done, the next set of data to update a different transaction can happen.
    All inputs are welcome and highly valuable to me.
    If someone is unable to intrepret this, I'll detail it again.
    Thanks in advance,
    Vaishnavi Varadarajan

    Hi,
    1.Use RSBDCDRU is an exe pg.With this u can download the logs into local file.
    2.It will create the spool request .from there u can download or print.
    OtherWise:
    Use the code from the link below. U need to provide the session queue id as input and it will download the log to an excel file. U can change it to  ur reqmt.
    Re: BDC
    regards
    kiran

  • How to delete a row in a session

    Hi im new in jsp.
    I want to create a webshop.
    When i select my products it goos to a shopping cart.
    After the customer confirms the order then it will be put in to a database.
    Now i want to create a function in de shopping cart for the customer to delete the products he doesnt want to buy.
    This is my shoppingcart code.
    Sorry also for my english.
    <%@ page language="java" %>
    <jsp:useBean id ="bestellingBean" class="java.util.Vector" scope="session" />
    <!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
    <title>Winkelmandje</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />
    </head>
    <%@page
         import="java.util.Vector"
         import = "java.io.*"
         import = "java.lang.*"
         import = "java.sql.*"
         import =" com.xatrax.xatrax.vo.*"
    %>
    <body bgcolor="#FFFFFF">
    <table border=0 align ="left" width="800" >
    <tr>
    <td>
         <table border = 2 width="750" align="center" bgcolor="00CCFF" >
              <tr>
                   <td width="50">
                        <center>Aantal</center>
                   </td>
                   <td width="90">
                        <center>Artikelcode     </center>
                   </td>
                   <td width="350">
                        <center>Naam</center>
                   </td>
                   <td width="130">
                        <center>Prijs</center>
                   </td>
                   <td width="80">
                        <center>Lijntotaal</center>
                   </td>
                   <td width="50">
                        <center>Wis</center>
                   </td>
              </tr>
         </table>
         <form>
         <table border = 2 width="750" align="center" bgcolor="66FFF" >
    <% com.xatrax.xatrax.servlets.Bestel bTemp = new com.xatrax.xatrax.servlets.Bestel();%>     
         <% for (int i = 0; i<bestellingBean.size(); i++){%>
    <%
         gProduct prodTemp = bTemp.getProductDetails(Integer.parseInt((String)bestellingBean.get(i)));
    %>
              <tr>
                   <td width="50">
                        <center><input type="text" name="aantal" size="3" >     </center>
                   </td>
                   <td width="90">
                        <center><%=prodTemp.getArtikelcode()%></center>
                   </td>
                   <td width="350">
                        <center><%=prodTemp.getNaam()%></center>
                   </td>
                   <td width="130">
                        <center><%=prodTemp.getPrijs()%></center>
                   </td>
                   <td width="80">
                        <center>test</center>
                   </td>
                   <td width="50">
                        <center><img src="image/delete.gif" width="21" height="20" border="0" /><a></center>
                   </td>
              </tr>
              <%
                   String delete = (String) session.getAttribute("delete");
                   boolean del =("true".equals (delete));
              %>
         <% } %>
         </table>
         </form>
         <form>
         <table border=0 align ="left" width="800" >
         <tr>
         <td>
              <table width="750" border="0">
              <tr>
                   <td width="15"></td>
                   <td width="130"><input type="submit" value="Update aantal" name="update" /></td>
                   <td width="330"></td>
                   <td width="125">Subtotaal incl.BTW: </td>
                   <td width="*"><center>test</center></td>
              </tr>
              <tr>
                   <td width="15"></td>
                   <td width="130"></td>
                   <td width="330"></td>
                   <td width="125"></td>
                   <td width="*"></td>
              </tr>
              </table>
              <table>
              <tr>
                   <td width="15"></td>
                   <td width="130"></td>
                   <td width="330"></td>
                   <td width="125"></td>
                   <td width="*"><center><input type="submit" value="Bevestig bestelling" /></center></td>
              </tr>
              </table>     
         </td>
         </tr>
         </form>
    </td>
    </tr>
    </table>
    </body>
    </html>
    The part that is bold is the link (image) that the user will see.
    When he click on the symbol the row will be deleted.
    The id is giving in the bestellingBean.
    The data for the names of the products will be get from a database.
    Now how can i delete the full row. I now that i need to use the id or is there a simpel way.
    The row will be only deleted in the session, not in the database.
    I dont now how i can delete a full row in a session.
    My idee.
    String delete =(String)session.getAttribute("delete");
    boolean del =("true".equals(delete));
    if(!del){
    Can somebody help me with this.
    Thanx allot.

    from the Vector object? You need to know what row and call the removeElement method on the Vector.

  • How to delete the server side sessions

    Hi All,
    I have a wireless application and it is accessed through ptg/rm gateway from a PDA browser. Oracle wireless AS gives default login page (when the application is accessed through ptg/rm gateway) and when user login, user information session might get stored in server side (I am not sure, if any one can pls clarify me on this also?).
    Now i have a requirement, in which my application user should get 'logoff' button in each and every page of my application. When he clicks on this button the user information session should get invalidated, so that even if the user goes back to the application (using back button of the browser) he should not able to enter the application. (This is same as any std. login/logout page logic).
    Invalidating the session which resides in client side is easy (By using session.invalide()), but how can i delete the session which resides on the server side??? Whether is it possible??
    If yes then how can i do it.
    Any help will be very usefull.
    Thanks well in adavance.
    Shrikant

    Shrikant:
    Shouldn't it be easy to invalidate the server sided sessions? Right before invalidating the client side session, send a message to the server, which should call its session.invalidate() after it has obtained the current session. If desired, a message can be sent back to the browser informing user that server side session has been deleted.

  • How to delete the redundant sessions in Maintenance Optimizer?

    Hi experts,
    As it said in title, how to delete the expired sessions as the screenshot below in Maintenance Optimizer and keep SAP Solution Manager clean?
    Thank you in advance.
    Best Regards,
    Pany

    Hello,
    Check here Deleting existing maintenance optimizer transactions
    Please  refer to the note 845433 , with the report CRM_ORDER_DELETE  and transaction type SLMO,you can delete those maintenance optimizer, hope this help to you
    BR,
    K.

  • How to handle the errors in BDC Session method

    Hi All,
    I am uploading Material Master (MM01) records using BDC Session Method.my problem is when i am running the program, all the error records are going to flat file.how can i correcting the error records and after correction how can i re-process the error records.tell me with example.
    i have around 70,000 records in my flat file.

    Hi,
    I am attaching few threads.Hope these will help you.
    If there are any error records in session, all those error records will get poulated in log .SM35 and after the session is completed , u can see error records which can be corrected and reprocessed again
    We have the structures BDCLD and BDCLM, which will capture the log details inthe session. Firstly, sesssion should be processed. After that log will be created. Then caputure the information into an internal table using BDCLM and BDCLD.
    and refer the link.
    error correction in bdc session
    regards
    Madhu

  • How to handle screen resolution in bdc session method.

    hi all,
    how to handle screen resolution in bdc session method.

    Hello,
    Why do need that for? Is it to add rows on a table control??
    If it does, add new rows by using the add button instead of adding into the table control directly to each row.
    Bye
    Gabriel.

  • How to overcome view changes in bdc session method  using recording ?

    how to overcome view changes in bdc session method  using recording ?
    ex-for mm01 in recording if i selected views basic data1 and basic data2.
    i seheduleded for background for after 3 days .
    if any body changes views by selecting other views also.
    how to overcome this with out programming ?
    is there any settings ?

    Hi,
    I am attaching few threads.Hope these will help you.
    If there are any error records in session, all those error records will get poulated in log .SM35 and after the session is completed , u can see error records which can be corrected and reprocessed again
    We have the structures BDCLD and BDCLM, which will capture the log details inthe session. Firstly, sesssion should be processed. After that log will be created. Then caputure the information into an internal table using BDCLM and BDCLD.
    and refer the link.
    error correction in bdc session
    regards
    Madhu

  • How to delete a Analytic Workspace even other session still attached it

    how to delete a Analytic Workspace even other session still attached that Analytic Workspace?
    or how to detach the Analytic Workspace with other session?
    or how to find session which connected to the Analytic Workspace?
    Thanks

    Here are the sql queries which will tell you who is attached to which aw in which mode.
    select username, sid, serial#, owner||'.'||daws.aw_name aw,
    decode(attach_mode, 'READ WRITE', 'RW',
    'READ ONLY', 'RO', attach_mode) attch,
    trunc(pool_size/1024)||' KB' as curr_opp_kb
    from dba_aws daws, gv$aw_olap gvawo , gv$aw_calc gvawc, gv$session
    where daws.aw_number = gvawo.aw_number and
    sid = gvawo.session_id and gvawc.session_id=sid
    order by owner, sid, daws.aw_name;
    select a.owner,a.aw_name,b.attach_mode
    from dba_aws a ,v$aw_olap b
    where a.aw_number = b.aw_number;
    You might have to kill the RO session before deleting the AW.
    Thanks
    Brijesh

  • How to delete old entires in batch input session sm35?

    How to delete old entires in batch input session sm35?
    Points assigned!
    Thank you.

    In SM35, highlight each entry to be deleted and from the Menu ->Session ->Delete

  • How can we execute the BDC session in error mode through se38 programme

    Dear Experts,
    How can we execute the BDC session in error mode through se38 programme....
    we can execute the session in the below 2 ways
    1) Through SM35 we can process the session manually in foreground/Error mode or Background also.
    2) through RSBDCSUB (standared Program) we can process the session in back ground.
    But i want to process the session in foreground or Error mode..Do we have any standared program for process the session in foreground or error mode.
    Please suggest.
    Regards,
    Bussa.

    Hi,
    SAP was smart enough to provide this little program: RSBDCCTU
    Sandra
    Edited by: Sandra Rossi, 15 minutes later
    Maybe the answer to your question is just to use CALL TRANSACTION ... USING ... (see the example in RSBDCCTU). You can also generate such a program using transaction SHDB

Maybe you are looking for

  • Cannot drag songs into a playlist in iTunes

    hmmmm... for some reason i cannot drag songs into a playlist in iTunes. what th.....

  • MacBook Pro and iMovie Incredibly Slow

    So my MacBook Pro is excruciatingly slow.  I keep getting hung up on iMovie in particular.  Every time I move the curson just a centimeter the beachball comes on and starts a spinnin'.  You cannot scroll throughout the movie project I am putting toge

  • Can somebody help me please

    Whenever I go to open itunes this happens can someone help me? it says "This version of iTunes has not been correctly localized for this language. please run the English version." ?

  • Modifying the Standard Report template

    Hi I have a report with 10 columns and 2 of them are wb_id, pa_id. Depending on the search critiria either wb_id or pa_id will be null. I want to highlight the row with some color when I select any row and I am modifying the standard template and col

  • [SOLVED] Check for Dependencies

    Hey, I'm trying to write a script that'll check for dependencies to install and build something. I can check to see if the file exists but that seems kind of brute force. I'm trying to use pacman -Q but I can't get it quite right. Example: DEPS="pyth