How to delete RFC destination during runtime

Hi Experts,
I need to delete the RFC destination (created via SM59) during runtime. Which API can I use to do so?
Thanks & Best Regards, Johnney.

Do delete different type of RFC destination at runtime , you can use these FM on the basis of its type:
1. To Read Type of RFC Destination use
                RFC_READ_DESTINATION_TYPE
2. To Delete RFC Destination
               RFC_MODIFY_ARFC_PARAMETERS
               RFC_MODIFY_HTTP_DEST_TO_EXT
               RFC_MODIFY_HTTP_DEST_TO_R3
               RFC_MODIFY_L_DESTINATION                - Read Documentation
               RFC_MODIFY_R3_DESTINATION             - Read Documentation
               RFC_MODIFY_TCPIP_DESTINATION        - Read Documentation
Regds.
Suman

Similar Messages

  • SRANA deletes RFC destination 0019990ED9FF1DDF9685086EA3365E75

    Hello,
    While checking in Sm21 logs for PI 7.1 i keep on gettnig message SRANA deletes RFC destination 0019990ED9FF1DDF9685086EA3365E75  everyday, can somebody please suggest  if we can avoid this ?
    Regards,
    Sandeep

    Hello Sandeep
    This error is fixed in note #1293582 SysLog: Termination DYNPRO_SEND_IN_BACKGROUND in background (7.10 SP08). There is also a workaround mentioned in the note, if this is required.
    Regards
    Mark

  • How to create RFC Destination without using SM59?

    Hello all:
    We are troubleshooting an issue.   An user created a RFC destination.   He claims that he did not use SM59.   We checked his access and do not have SM59 in his roles.
    He configured VIRSA FireFighter.   During the configuration, he created RFC destination.   Document says use SM59 or contact BASIS Admin.     He claims that he used a config table and he don't remember the config table name.   RFC screen shows his ID as creator of the RFC.
    We are trying to understand how an RFC can be created (outside of SM59) and plug the security hole in the environment.
    Any insights would be appreciated.
    --Anand

    The FireFighter solution changes the RFC destination of the service user "on the fly" without S_TCODE checks for 'SM59'. But if I can remember correctly when looking into this, it does not create the RFC destination (in SM59) "on the fly".
    > He claims that he used a config table and he don't remember the config table name.
    Theoretically this is possible - a config table to define the name of the destination, and then create it if it does not exist yet (when used).
    Otherwise, see SAP note 587410 and restrict (remove) his authority for the test environment (concentrate on S_DEVELOP, not S_TCODE - as you have also experienced).
    Cheers,
    Julius

  • Delete RFC-Destination 'None' - Urgent

    hi all,
    I have a problem with the RFC-Destinations. In the Transaction SOLUTION_MANAGER i got the message "RFC-Destination NONE does not exist".
    But I have created the Destination.
    Then I found the SAP Note 61888.
    description:
    If the destinations NONE, BACK or SAPGUI are inadvertently deleted, they must be recreated:
    NONE   : Type I, no further entries
    But I cant recreate this Destination, I got the Message: "Not possible. Internal Connections will be generated".
    Can please someone help me. It worked 8 weeks and now I got this failure.
    Thx
    LM

    have a look at this sap note: 181591
    "Each time an application server of an R/3 System is restarted, the RFC destinations of type I (internal connection) in this R/3 System are maintained again. The following rules apply:
    1. There are always the destinations NONE and BACK which point to the respective application servers themselves."
    maybe the restart will take care of it?
    read the SAP note please
    Regards,
    michal

  • How to disable close button during runtime

    Hi everybody.,
    Please help me how to disable the close button at top of the window during runtime. I dont want the user to use that button to close. I have used button called Exit in that form but sometimes users closing by clicking that button.
    I am using Oracle form 10g R1.
    Thanks in Advance,

    Hi,
    Thanks Mr. Arif Khadas for your quick reply.
    While running the form, in window there will be two close button, one is in form and another one is in Internet Explorer. By making changes on the property what you said above this will hide only the form's close button. I want to hide the internet explorer close button also.
    Thanks in advance.

  • How to disable UI element during runtime

    Hi!
    Can someone show me how to access the properties of ui elements during runtime?
    eg. in the method  WDDOINIT i want to enable/disable the GroupBox "Group"
    how to?
    thanks

    >
    Abhimanyu Lagishetti wrote:
    > ideal way is the one i specified,
    >
    > other way is you have to change it in WDDOMODIFYVIEW
    >
    > to get any UI element this is the code
    >
    > view->get_element( '<ID of the UI element>' ). which return the corresponding UI element reference
    >
    > the UI element classes start with CL_WD_*.
    >
    > for example: inputfield CL_WD_INPUT_FIELD
    > data: lr_input type ref to cl_wd_input_field.
    > lr_input ?= view->get_element( '<ID of the UI element>' ).
    > lr_input->set_enable( abap_true ).
    >
    > Abhi
    I would like to stress that this NOT the SAP recommended way of controlling the properties on UI elements - the first solution you were give would be the recommended approach.  The direct UI coding access should be used as a last resort when working with dynamically generated UI elements.  Otherwise you should always try and set the UI element properties via context binding. This makes your application more accessible to customizing/personalization, makes it easier to maintain over time and provides the best performance.

  • Issue with RFC destination during HCM - VDS - IDM configuration

    Hi,
    I am trying to configure HCM and IDM (v7.1) using VDS. I am following the Configuration Guide. While creating the RFC Destination, I specified program ID as LDAP_VD and in Gatewayhost I have entered the host of IDM Server (where VDS is also installed). In Gateway service I have put sapgw00. But when I do connection test, I get u201CERROR: SAP gateway connection failed. Is SAP gateway started?u201D. Looks like it is trying to connect to IDM server and is looking for sapgw00 (on port 3300) and is not able to find it.
    What could be the reason for error? Am I doing RFC destination configuration correct? Do I need to put HCM system host in the Gatewayhost field?
    Regards,
    Anurag

    Hi Anurag
    You have to enter the hostname of the SAP server, not the LDAP server.
    The LDAP connection is configured later.

  • How to delete jdb files at runtime?

    My problem description is, i have to do complete index will be performed by creating a new empty index and adding content data to that (working index). Searches will continue to use the old (active) index. Once the index process is complete, the working and active indexes are swapped and the working index can be removed in preparation for the next complete analysis.
    How can i remove jdb files at runtime without using java.io.File. ? [ According to the ejb specs an ejb should not try to use java.io package to attempt to access a file ].
    Thanks,
    Katta.

    Hi Charles ,
    I have implemented as your suggested way. I removed the old JE Database once new index (separate JE Database) created using env.removeDatabase() method. It's deleted the databse but *.bdb files not deleted(How can i reclaim the disk space). The cleaner is not deleting the files. Is cleaner will work without closing Environment. Do I need to use any methods to delete *.bdb files?
    JEConnection jeConnection = null;
    Environment env=null;
    try
    jeConnection = getConnection(OldJEEnvHome);
    env = jeConnection.getEnvironment();
    Database index, blocks;
    index = jeConnection.openDatabase("__index__", null);
    blocks = jeConnection.openDatabase("__blocks__", null);
    String dbName1 = index.getDatabaseName();
    String dbName2 = blocks.getDatabaseName();
    Directory indexDir = new JEDirectory(null, index, blocks);
    if(index!=null)index.close();
    if(blocks!=null)blocks.close();
    env.removeDatabase(null, dbName1);
    env.removeDatabase(null, dbName2);
    } catch (Exception e)
    {    // TODO: handle exception
    e.printStackTrace();
    }finally{
    if(jeConnection!=null)
    jeConnection.close();
    env.cleanLog();
    //env.close();
    public JEConnection getConnection(String dbEnvHome)
    throws NamingException, JEException
    EnvironmentConfig envConfig = new EnvironmentConfig();
    envConfig.setAllowCreate(true);
    envConfig.setTransactional(true);
    envConfig.setConfigParam("je.cleaner.expunge", "true");
    InitialContext iniCtx = new InitialContext();
    Context enc = (Context) iniCtx.lookup("java:comp/env");
    Object ref = enc.lookup("ra/JEConnectionFactory");
    JEConnectionFactory dcf = (JEConnectionFactory) ref;
    JEConnection dc = dcf.getConnection(dbEnvHome, envConfig);
    return dc;
    Thanks,
    Katta.

  • How to get RFC Destination and Logical System name dynamically

    Hi all,
    I have a RFC FM written in CRM. I need to call this FM in R/3. So, i use the syntax " Call function <func> destination <destination name>. My problem is that i need to fetch the destination name dynamically..
    There is a way to do so in CRM which is as follows:
    DATA:  lt_siteselect TYPE TABLE OF siteselect INITIAL SIZE 0,
               ls_siteselect TYPE siteselect.
      CALL FUNCTION 'SMOF0_READ_SITESELECT'
        TABLES
          to_siteselect = lt_siteselect.
      READ TABLE lt_siteselect INTO ls_siteselect
             WITH KEY sitetypeid = cl_smw1_siteprovider=>c_sitetype_r3oltp.
    The above piece of code returns the site and also takes care of the client you are currently working on. But the specified FM is present only in R/3..
    I want to achieve the functionality fulfilled by the above code in R/3.
    Kindly help.
    Useful answers will be rewarded.
    Thanks in advance,
    Karan Merwana
    I can not use FM LOG_SYSTEM_GET_RFC_DESTINATION as for that i need to provide the logical system name. And the logical system name would be different for different clients.
    Message was edited by:
            Karan Merwana

    For those referring this thread later, I could not find a solution to this and ultimately had to do away with hardcoding of system names based on the DEV, Q, and PROD system names.
    If anyone does manage to get a workaround, please let me know.

  • How to auto update JTable during runtime

    Can anyone tell me how to dynamically update a JTable during execution, what i mean isin the I want the table to automatically add new rows as i enter new data.
    if I pass the object array reference of the TableModel to a method, then add more objects to the array and the revalidate the JTable will it work, or how do I do it ? Thanks

    Your table model should extend AbstractTableModel. And when (for example) it adds a row to whatever data structure is supporting the model, it should call fireTableRowsInserted... you can find out more about those methods in the API documentation. You don't need to revalidate or invalidate or validate the JTable, at least I don't have that in my code anywhere.

  • How to delete RFC queue in SM58?

    [internal code: E60063TWAN]
    Is there a solution (ABAP) to quickly delete records from the RFC queue?
    From time to time we experience problems that cause the RFC queue to freeze (on an SQL deadlock). Strange then is that all jobs that do run are all located on one of the available servers (central instance). Our 2 other application servers remain idle in this case.
    We have no solution at this time for this problem. Only thing we can do is to stop the dataload releated to the locked RFC entries. Next we must delete all the RFC entries manually (hundreds). This must be done 1 by 1.

    Take the help of abaper / basis and dig to the bottom of the issue and see what is causing this.
    I guess if it is happening every day we have fix this at the source.
    Hope this helps.
    Thanks,
    Ravi.

  • How to create RFC Destination Between ECC 6.0 and BI 7.0

    HI,
    My name is balu working in gucons,i was trying to create RFC between ECC 6.0 and BI 7.0,i have tried with the help of some documents but iam unable to do that,Iam very helpfull if you give a clear description regarding this problem.
    Thank you,
    Regards,
    BALU.

    Hi Balu
    the error screen is from your BI system? If yes, then why the source system is showing to be of type BI? For ECC it should be of type r/3.
    You can try to delete already created RFC from both your BI and ECC system and try to create source system connection from your BI end from RSA1>> Source System> right click..Create..
    Choose "Automatically Create SAP system" . Enter the required credential then click on "Replicate as well"
    If you do not want to delete any RFC for any reason please upload entries from RSBASIDOC, RSLOGSYST table.

  • How to check cursor stats during Runtime

    Hi
    I have a stored procedure running in which there is a cursor which fetches around 1500000 records and then query another table using the fetched record values.
    I cannot modify the procedure as its on production.
    I want to know which cursor record is currently being processed by the procedure, and how many are still remaining ?
    I have cursor name.
    Is there some dynamic view to check cursor stats at runtime ??
    thanks.
    Edited by: AnkitV on Sep 23, 2011 7:27 AM

    Ok
    I used this query and it gave 2 records :
    (the results are not in user friendly here , please let me know how can i display comprehensible data here)
    SELECT a.* FROM v$session s, v$sql a WHERE s.sql_address = a.address
    AND s.sql_hash_value = a.hash_value
    SQL_TEXT SQL_FULLTEXT SQL_ID SHARABLE_MEM PERSISTENT_MEM RUNTIME_MEM SORTS LOADED_VERSIONS OPEN_VERSIONS USERS_OPENING FETCHES EXECUTIONS PX_SERVERS_EXECUTIONS END_OF_FETCH_COUNT USERS_EXECUTING LOADS FIRST_LOAD_TIME INVALIDATIONS PARSE_CALLS DISK_READS DIRECT_WRITES BUFFER_GETS APPLICATION_WAIT_TIME CONCURRENCY_WAIT_TIME CLUSTER_WAIT_TIME USER_IO_WAIT_TIME PLSQL_EXEC_TIME JAVA_EXEC_TIME ROWS_PROCESSED COMMAND_TYPE OPTIMIZER_MODE OPTIMIZER_COST OPTIMIZER_ENV OPTIMIZER_ENV_HASH_VALUE PARSING_USER_ID PARSING_SCHEMA_ID PARSING_SCHEMA_NAME KEPT_VERSIONS ADDRESS TYPE_CHK_HEAP HASH_VALUE OLD_HASH_VALUE PLAN_HASH_VALUE CHILD_NUMBER SERVICE SERVICE_HASH MODULE MODULE_HASH ACTION ACTION_HASH SERIALIZABLE_ABORTS OUTLINE_CATEGORY CPU_TIME ELAPSED_TIME OUTLINE_SID CHILD_ADDRESS SQLTYPE REMOTE OBJECT_STATUS LITERAL_HASH_VALUE LAST_LOAD_TIME IS_OBSOLETE CHILD_LATCH SQL_PROFILE PROGRAM_ID PROGRAM_LINE# EXACT_MATCHING_SIGNATURE FORCE_MATCHING_SIGNATURE LAST_ACTIVE_TIME BIND_DATA
    insert into ASPEC_CUSTCONN_TT select * from v_assetspec_ods where orgid = 'NISOURCE' and siteid = 'INDIANA' and classstructureid = '2276' and assetnum = '0176290003-1-0' insert into ASPEC_CUSTCONN_TT select * from v_assetspec_ods where orgid = 'NISOURCE' and siteid = 'INDIANA' and classstructureid = '2276' and assetnum = '0176290003-1-0' 1tb7569x7jc1y 39,098 9,072 8,224 0 1 1 1 0 0 0 0 1 1 2011-09-23/09:48:05 0 1 0 0 2 0 0 0 0 0 0 0 2 ALL_ROWS 12 E289FB89A3E49800C4001000AEF9C3E2CFFA331056414555519521105555551545545558591555449665851D5511058555155515152552455580185AA3E49800050C02000002000000100000000100002000000210D007000000702500CC7C07000101000038F80004000066BE030000B81200A3E498006564640202643202320000020003020A500A 481,337,165 55 55 WMDWHADM 0 070000005F8A9850 00 2,054,729,790 1,157,974,759 3,562,626,483 0 SYS$USERS 0 sqlplus@vnxhamdboras03 (TNS V1-V3) 0 NULL 0 0 NULL 3,572 3,572 NULL 0700000065E448D8 6 N VALID 0 2011-09-23/09:48:05 N 5 NULL 98,449 1,481 10,153,481,056,577,599,000 13,507,897,832,604,099,000 9/23/2011 9:48:05 AM NULL
    SELECT a.* FROM v$session s, v$sql a WHERE s.sql_address = a.address AND s.sql_hash_value = a.hash_value SELECT a.* FROM v$session s, v$sql a WHERE s.sql_address = a.address
    AND s.sql_hash_value = a.hash_value 6srk0sfcrck09 79,598 33,312 26,288 0 1 1 1 4 2 0 1 1 1 2011-09-23/09:47:51 0 2 0 0 230 0 0 0 0 0 0 3 3 ALL_ROWS 1 E289FB89A3E49800C4001000AEF9C3E2CFFA331056414555519521105555551545545558591555449665851D5511058555155515152552455580185AA3E49800050C02000002000000100000000100002000000210D007000000702500CC7C07000101000038F80004000066BE030000B81200A3E498006564640202643202320000020003020A500A 481,337,165 55 55 WMDWHADM 0 0700000065D04EF0 00 2,574,665,737 3,761,974,339 1,595,585,590 0 WMDWHQ1 0 SqlDbx.exe 0 NULL 0 0 NULL 570,234 634,475 NULL 070000006E11E8B8 6 N VALID 0 2011-09-23/09:47:51 N 6 NULL 42,579 21 3,622,857,551,886,949,900 3,622,857,551,886,949,900 9/23/2011 9:48:05 AM NULL
    Rows affected (2)

  • How do I create multiple objects during runtime?

    I don't know how to create multiple objects during runtime, here's my problem:
    I get a String as input. Then I create an object called newobject. I put the object in a hashtable with the above string as key.
    Then comes the problem, in order to create a new object, I have to rerun the same class, which uses the same name (newobject) to create a 2nd object. Now my hashtable doesn't reference to my 1st object anymore...
    Is there anyway I can fill up the hashtable with different objects, and make each key point to each object it was supposed to?
    For those who want to see a bit of the program:
    public class PlayBalloon{
    public Hashtable ht = new Hashtable();
    for(){
    Balloon pB = newBalloon;
    newBalloon=new Balloon(pB);
    ht.put("Some input from user", newBalloon);
    for(){
    ht.get(s).draw;<= s=string, draw=own meth. in Balloon
    }

    I think i can see the problem that you are having. You have, in effect, duplicate keys in your hashtable - ie, two strings used as keys with the same name.
    The way that a hashtable works is as follows...
    When you ask for a value that is mapped to a key it will go through the table and return the first occurence it finds of the key you asked for. It does this by using the equals() method of whatever object the key is (in your case it is a String).
    If you cant use different Strings for your keys in your hashtable then i would consider writing an ObjectNameKey class which contains the String value that you are trying to put in the hashtable and an occurrence number/index or something to make it unique. Remember to override the equals method in your ObjectNameKey object or else the hash lookup will not work. For example
    class ObjectNameKey {
        private String name;
        private int occurence;
        public ObjectNameKey(String name, int occ) {
            this.name = name;
            this.occurence = occ;
        public String getName() {
            return name;
        public String getOccur() {
            return occurence;
        public boolean equals(Object o) {
            if (!(o instanceof ObjectNameKey)) {
                return false;
            ObjectNameKey onk = (ObjectNameKey)o;
            if (onk.getName().equals(name) && onk.getOccur() == occurence) return true;
            return false;

  • Unable to change RFC destination in IT Performance reporting wizard

    Hi Experts,
    I am setting up IT Performance Reporting in my Solman EHP1 system. In the first page of the PErformance reporting wizard, it asked me for RFC destination from BI to Solman(1st field) and Solman to BI (2nd field). I initially entered an existing RFC destination that we are already using in a separate application that has a user with very-limited authorization. Now, I am trying to change the RFC destination by running the same "Configure IT Performance Reporting" wizard but both fields are already GREYED out.
    I tried deleting the RFC destination previously defined in an attempt to reenable the fields but only the 2nd field was enabled. When I try to continue the setup, it results into a Shortdump because it is still looking for the initially defined RFC dest which is defined in the 1st field that cannot be edited.
    SAP has not yet provided us with a solution.Your help is greatly appreciated.
    Thank you very much.

    You canprovide the RFC destination in DOE administration portal. Goto Configurations link and search for "BACKEND DESTINATION" parameter in "BACKEND CONFIGURATION" link. Here you can provide RFC destination at SWCV level or at Data object level.
    After deleting RFC destination in SM59, it will never take you to backend system.

Maybe you are looking for