Deleteing entries in tRFC

We have entries in the tRFC that we need to delete (not execute; there is a valid reason for this). When I try to delete the entry, I am informed that only the user whos name the entry is created in can delete it. The problem is, that user is a system user which executed the background job.
Is there a way for me to delete these entries? I have profile SAP_ALL so authorisations are not a problem.
BR,
Tony.

Hi!
You have to login with the batch user. Temporarily set it to a dialogue user in SU01, log in, delete the tRFC values, and then set back everything to normal (even with the batch user's original password).
Or you can delete the entries at table level, however it is always risky.
Regards
Tamá

Similar Messages

  • "WF-USER can only delete this entry" error while deleting entry in tRFC

    Hello Experts,
    We have a scenario wherein the outbound IDoc from our SAP system consists of lot of IDoc data segments. Becase if this large size, the EAI Middleware is getting out of memory exception while processing it before sending it to the receiving system with an error "Trnasaction XXXXXXXXX rolled back" (Committing is geting failed). And it is not possible from EAI Middleware side to increase the memory. Because of this, other outbound IDocs getting struck in the tRFC (IDoc status  = 03, Data Passed to Port OK) queue and thereby delaying the process.
    We would like to delete the entry (TID) of this particular IDoc from the tRFC queue. When we try to do taht, we are getting the error message "WF-BATCH can only delete this entry" which is actually the system Workflow user.
    Could anyone suggest me the way to delete the entries? We hav one option where we can that system user name to our user name in "Debug Change'. Becasue of some authorozation problems, we would not be getting that.
    Could you please suggest me about any alternative. Appriciate your help. Thanks in advance.
    Best regards,
    Kishore.

    Hello Kishore,
    I also encountered the same problem in transaction SWU2.
    I could bypass the message in debuging mode only.
    I put a breakpoint in report RSARFCRD, and, in debug mode, I skip the following check:
          if sy-lisel+1(12) <> sy-uname.
            message e019 with  sy-lisel+1(12).
          endif.
    Best Regards,
    Alexandre.

  • Removing the Delete Entry (Shift+F2) in SM58 through authorization object

    Dear All,
    Please guide me how to remove the delete entry (Shift+F2) from the following tcode SM58, SMQ1, LBWQ.
    The above said tcode having the S_ADMI_FCD with NADM check.
    I know to edit or copy the standard reports which is used to do the activity.
    But I would like to implement this to the functional Users only to avoid deleting all the TRFC logs.
    Please suggest ASAP.
    Cheers..
    Khadar

    Hi,
    I Appreciate your response.
    Actually my issue was, once you execute the SM58 it will list all the TRFC logs with the criteria of all or mentioned users.
    There you could find the delete icon and in the Edit menu --> Delete Entry (Shift+F2).
    I want to disable this function for all the users except System Administrators.
    Cheers..
    Khadar

  • Delete entries from the table

    Hi folks,
    I have delete program to delete entries from a custom table and has only one feld in it.
    tables: ZABC
    selection-screen begin of block B1 with frame title text-110.
    select-options: P_KOSTL for ZABC-KOSTL.
    selection-screen end of block B1.
    delete from ZABC where KOSTL in P_KOSTL.
    Upon executing I am entering certain cost center ids on the selection screen to delete them from the table.It did not work.
    what is it I am missing?
    Thanks,
    SK

    Hi,
    Try this sample code..Replace ZABC with your table..
    TABLES: ZABC.
    selection-screen begin of block B1 with frame title text-110.
    select-options: P_KOSTL for ZABC-KOSTL.
    selection-screen end of block B1.
    START-OF-SELECTION.
    * Delete the records from the table.
    DELETE FROM ZABC where KOSTL IN P_KOSTL[ ].  " [] for the select-options.
    IF sy-subrc <> 0.
      ROLLBACK WORK.
    ELSE.
      COMMIT WORK.
    ENDIF.
    Thanks,
    Naren

  • Unable to delete entries from queue (SMQ2)

    Hi
    I am unable to delete entries from inbound queue due to number of entries are too high (Approximately 160,000). Deletion in dialog mode producing timeout error...Is there any way to delete these entris in background mode or any other idea about this situation..
    Your valuable time & annswer appreciated.
    Thanks
    Rakesh

    Hi Rakesh,
       Check these threads on SMQ2. It may give some help to you:
       Queue issue
       deleting the inbound queue tc smq2
       Also check this file:
      http://help.sap.com/saphelp_nw04s/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm
    Regards,
    Subhasha Ranjan

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • How to delete entries in the T030 table with LSMW?

    Hi all,
    I need to delete 600 entries from T030 table (Fix account table), Tcode OBYG, and I want to use a legacy for this,
    but I don´t know how or if is possible delete entries from a table with a legacy.
    Thanks in advance!

    You Can Use SCAT instead.

  • Delete entries in "Installed Updates" log

    Is there anyway to delete entries in the "Installed software updates" log?
    I want to reinstall a firmware patch but although the patch downloads and says it has installed successfully it doesn't actually update anything... However, it shows up in the "installed updates" log.
    Any one any ideas how to delete entries in the "Installed software updates" log?

    Why do you want to delete an entry from the log?
    What do you think that will achieve?
    How do you know it doesn't actually update anything?
    Why do you think you need to reinstall the patch?
    If you reinstall the patch but it doesn't need to be reinstalled
    then I would not expect anything to change.
    Dave

  • Delete entry or change entry in sap table

    Hi Gurus,
    i want to change or delete entry in VBEP.
    points sure!
    Rahul

    hi guys ,
    its very easy ,
    go for se16 , fetch all the records which are required to delete ( use only se16 lay out)
    after fetching the records just enter ' /H ' in the command bar
    and then double click on any of the enter , then u fill go to debugging screeen and then just press F7
    u will find the following code
    form set_status_val tables ntab structure x031l
                        using code name next for_lines.
      field-symbols: .
      refresh exclude_tab.
      if code = 'SHOW'.
        set titlebar 'TAB' with name 'anzeigen'(100).
      elseif code = 'EDIT'.
        set titlebar 'TAB' with name 'ändern'(101).
      elseif code = 'INSR'.
        set titlebar 'TAB' with name 'einfügen'(102).
      elseif code = 'ANVO'.
        set titlebar 'TAB' with name 'einfügen'(102).
      elseif code = 'DELE'.
    then just click on CODE and pass value as  DELE and press F8
    AND THEN U CAN DELETE ALL THE ENTRIES

  • How to delete entries in COSP table?

    Dear experts
    How to delete the transactions posted in COSP table from my testing client.
    The reason is user has created wrong cost element and posted the transactions. But they don't want this as cost element.
    I have deleted entries in COEP table by running the program RKACOR20.
    After that I tried to delete the cost element. Now it is showing that  "Deletion is not possible (dependent records exist in table COSP)"
    Now  the question is how to delete these transaction posted to COSP table.
    Regards
    Kiran

    Hi Experts,
    I'm facing exactely the same issue on a customer system
    COEP line deleted via RKACOR20
    COSP total amount stil exist, need to be cleaned.
    Does it exist a program that read COEP to update COSP ?
    Any update ?
    Thanks a lot for your help.
    Best regards,
    Jean

  • Delete entries from Database table  t71inp1

    Hi,
    I want to Delete entries from Database table  t71inp1. Its a H R Table. I want to know the exact code.
    i saw the cide delete bkpf where usnam = p_name.
    Will it work the same here. Also.
    Please let me know.
    I hope to get reply from you soon.
    where should i write the code. i.e. Tcode SE38 and directly deeleting write the code.
    Please give me some inputs. I am new to H R ABAp
    Shivakumar K B
    919886920258

    hi
    You can write a program in se38.
    create a program.
    use delete from t71inp1 where<condition> command in it.

  • Delete entries over 1 month old in parent  and child tables

    Hi guys,
    Im new to oracle (2days old) and im struggling to find out how to delete all entries over 1 month old in a database but also delete entries from the child table. I have read about delete cascading etc but im really strugging at the moment. Any tip or ideas? thank you

    You just need to delete data in parent table using the right WHERE clause that requires some timestamp column that stores data age. If the foreign key constraint is created with ON DELETE CASCADE child rows are automatically deleted.
    Assuming P is the parent table and C the child table and the timestamp column is stored in the parent table here is an example.
    SQL> create table p(px int primary key, d date);
    Table created.
    SQL> create table  c(cx int, cy int references p on delete cascade);
    Table created.
    SQL>
    SQL> insert into p values(1, '01/01/2011');
    1 row created.
    SQL> insert into p values(2, '15/01/2011');
    1 row created.
    SQL> insert into p values(3, '31/01/2011');
    1 row created.
    SQL> insert into c values(10,1);
    1 row created.
    SQL> insert into c values(20,2);
    1 row created.
    SQL> insert into c values(30,3);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> delete p where months_between(sysdate, d) >= 1;
    2 rows deleted.
    SQL>
    SQL> select * from p;
            PX D
             3 31-01-2011
    SQL> select * from c;
            CX         CY
            30          3
    SQL>Edited by: P. Forstmann on 15 févr. 2011 13:45

  • BD87 hide "idoc entries in tRFC queue" by assigning to status or other meth

    Hi,
    I am working on the inbound side of an idoc interface for message type MATMAS. My problem is that when I enter in BD87 there are more than 400 hundred entries in "idoc entries in tRFC queue". Now, whatever filter I put on the first screen this line appears. Even, if I enter with a specific idoc number. These entries are obviously outbound errors and are completely irrelevant to the interface I am working on but will make the reprocessing screen unnecessarily complicated for the users. So, basically I want to allow the end user to filter out these messages.
    I noticed that the errors "idoc entries in tRFC queue" aren't associated to a status and I was wondering if it is possible to give them a status value and so make them sensitive to a status filter. But if this isn't possible any solution to hide these error messages from the end user would be equally valid.
    I know someone will probably suggest that the best solution would be to remove all old entries from tRFC queue in SM58 and that there shouldn't be so many idoc in entries in the tRFC queue. The problem is that it is not my role to monitor tRFC in production and if it has not been regularly monitored up to now then it probably won't be in the future.
    Many thanks in advance,
    Jamie.

    Hi Jamie,
    To the best of my knowledge the shown outbound RFC entries in BD87 are a feature that cannot be suppressed. I.e. in the coding of BD87 one can see logic where it automatically checks for outbound RFC errors and adds those to the output.
    In general IDoc status 03 should be associated with the outbound RFC errors. Yet, when one sees those in BD87, the IDoc status field is empty. Along your train of thought I had also previously tried to suppress those displayed IDocs by adding a filter for suppressing status 03 or blank status, but nothing helps. And as you correctly point out, even when using BD87 on a single IDoc (e.g. specified via IDoc number), the transaction will still display the outbound RFC errors.
    So unless somebody else has some good idea or insight, I'm afraid you're stuck with that behavior.
    Cheers, harald

  • Source system appearing in BI folder : Not able to delete entry RSBASIDOC

    Hi all,
    Iam creating source system connection from ECC to BI system.
    But the source system appearing in BI folder all the time, i found one note 1087980 and tried deleting an entry with SRCTYPE = M from RSBASIDOC table with FM RSAP_BIW_DISCONNECT , but the system shows error message OTHER_ERROR and the entry does not get deleted.
    For this SAP recommended to check a valid RFC connection between ECC and BI system , i have checked it and the RFCs are working fine for it also.
    Please help.
    Regards,
    Akash.

    follow this steps:
    In the source sytem
    SE37 e launch the FM RSAP_BIW_DISCONNECT
    you will find the BIW and OLTP log on the RSBASIDOC
    So run the FM.
    IF you find the OTHER_ERROR, may you have to check the RFC connection. (If the source system was been refreshed, you have to create a RFC to PROD).
    You should encounter this error ( Not able to delete entry RSBASIDOC), when you try to restore the DS: in this case infact, is the IDENTIFIER (TSPREFIX) that creates problem (so you have to delete the relevant entry from the table).
    CIao,
    Cristian

  • How to retrive the deleted entries in the ztable

    please let me know how to retrive the deleted entries in the ztable.

    >
    Naseer uddin wrote:
    > Hi,
    >
    >   While creating a table have u activated the buffering (full).
    >   if not then it is not possible to retrive the lost data, and if u have activated the full buffering of table then it is possible to retrive data, up to some extent, using transaction Code se14.
    Complete Nonsense.*
    buffering doesn't mean that it will buffer the records back in database ,once you deleted.it means it will allow the buffer the table to memory only while read access.

Maybe you are looking for

  • Cannot see web photo gallery in design in dreamweaver cs3

    have made web photo gallery in PS- opens in browser- opens in dreamweaver cs3- I can see the code all OK can view again in browser--But I cannot see the thumbnails or tables-yet I know its there hidden?--How can I make it all visible

  • Query on a transaction table breaks after running for sometime - Oracle 11g

    Hi, I'm running the below query to pull the sum of amount on trans table (which has 12 years of data partitioned yearly) whose last transaction date is 19-MAY-2013. The calendardatekey column is the one which is used in place of transaction date (eac

  • VAT CODE Date

    Dear Guru, is there a possibility for VAT CODE RANGE VALIDITY percent tax rate ? For example: 20% until 18 Septmber 2011 and 21% start 19 Septmber 2011 . Thank you very much

  • Dreamweaver Lightbox exclude a named anchor

    I'm working on a non-flash backup for my baby hats catalog.  I use Dreamweaver CS5.5 and a lightbox that I downloaded from the widgets to display the images.  However, my first image and then two inbetween each hat are other <a></a> tags.  The first

  • Switch from Company to Individual Account?

    I have found some posts about changing individual to company account. Is it possible to change from company to individual? Has anyone some informations about? Kind regards