Open RFC connection

Hi ,
HI ,
I had program that call to 8 RFC  with destination between to systems,
there is commend or way in Abap to open the connection in the beginning  of the program and close it when it end.
I now that in java there is option to do that.
Best regards
Nina

Hi Peter,
I already do that but the problem is that for every RFC I call with destination and have many call to the connection, I want to know if there is a way to do that in one time.
What i do now in the program is :
CALL FM 'ABC'
DESTINATION dest
CALL FM 'ABCD'
DESTINATION dest
CALL FM 'ABCDE'
DESTINATION dest
.....so on
I want to avoid the different call's and (if there is way in abap) open the connection in the start of the program and close it at the end.
BR
Nina
Edited by: Nina C on Apr 28, 2009 3:11 PM

Similar Messages

  • Unable to open RFC connection - Err message

    I all
    I am trying to install SAP ERP 2004 SR1 on Microsoft Windows Server 2003, SQL Server 2000. I have successfully installed the Central Instance but when I try to install the Database instance after the database loading the following error is given:
    FRF00007 - Unable to open RFC connection.
    I have also tried to start the sap system. The message_server and igswd processed run ok, but the disp+work process is stopped.
    I am also sending you the developer trace for this process.
    Thank you a lot
    Vasil
    trc file: "dev_disp", trc level: 1, release: "640"
    Mon Jul 27 11:24:48 2009
    kernel runs with dp version 128000(ext=102000) (@(#) DPLIB-INT-VERSION-128000-UC)
    length of sys_adm_ext is 524 bytes
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    43
    intno      20020600
    make:      multithreaded, Unicode
    pid        2668
    ***LOG Q00=> DpSapEnvInit, DPStart (01 2668) [dpxxdisp.c   1100]
         shared lib "dw_xml.dll" version 43 successfully loaded
         shared lib "dw_xtc.dll" version 43 successfully loaded
         shared lib "dw_stl.dll" version 43 successfully loaded
         shared lib "dw_gui.dll" version 43 successfully loaded
    Mon Jul 27 11:24:53 2009
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3886]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: JAVA is not active
    DpShMCreate: sizeof(wp_adm)          10528     (1316)
    DpShMCreate: sizeof(tm_adm)          2780232     (13832)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpShMCreate: sizeof(comm_adm)          290000     (580)
    DpShMCreate: sizeof(vmc_adm)          0     (372)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 058C0040, size: 3192688)
    DpShMCreate: allocated sys_adm at 058C0040
    DpShMCreate: allocated wp_adm at 058C1B58
    DpShMCreate: allocated tm_adm_list at 058C4478
    DpShMCreate: allocated tm_adm at 058C44A0
    DpShMCreate: allocated wp_ca_adm at 05B6B0E8
    DpShMCreate: allocated appc_ca_adm at 05B70EA8
    DpShMCreate: allocated comm_adm_list at 05B72DE8
    DpShMCreate: allocated comm_adm at 05B72E00
    DpShMCreate: allocated vmc_adm_list at 05BB9AD0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 05BB9AF8
    DpShMCreate: allocated wall_adm at 05BB9B00
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 1131 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1462]
    ***LOG Q0K=> DpMsAttach, mscon ( upayweb1) [dpxxdisp.c   9736]
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    Mon Jul 27 11:24:54 2009
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 43
    Release check o.K.
    Mon Jul 27 11:25:33 2009
    ERROR => W0 (pid 3740) died [dpxxdisp.c   12187]
    ERROR => W1 (pid 3748) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W2 (pid 3756) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W3 (pid 3764) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W4 (pid 3772) died [dpxxdisp.c   12187]
    ERROR => W5 (pid 3780) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W6 (pid 3792) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W7 (pid 3800) died [dpxxdisp.c   12187]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-3740 (SIGUSR2)
    ERROR => DpWpKill(3740, SIGUSR2) failed [dpxxtool.c   2468]
    killing W1-3748 (SIGUSR2)
    ERROR => DpWpKill(3748, SIGUSR2) failed [dpxxtool.c   2468]
    killing W2-3756 (SIGUSR2)
    ERROR => DpWpKill(3756, SIGUSR2) failed [dpxxtool.c   2468]
    killing W3-3764 (SIGUSR2)
    ERROR => DpWpKill(3764, SIGUSR2) failed [dpxxtool.c   2468]
    killing W4-3772 (SIGUSR2)
    ERROR => DpWpKill(3772, SIGUSR2) failed [dpxxtool.c   2468]
    killing W5-3780 (SIGUSR2)
    ERROR => DpWpKill(3780, SIGUSR2) failed [dpxxtool.c   2468]
    killing W6-3792 (SIGUSR2)
    ERROR => DpWpKill(3792, SIGUSR2) failed [dpxxtool.c   2468]
    killing W7-3800 (SIGUSR2)
    ERROR => DpWpKill(3800, SIGUSR2) failed [dpxxtool.c   2468]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1625
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 27 11:25:43 2009
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Mon Jul 27 09:25:43 2009
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     3740 Ended         no      1   0             0                                                             
    1 DIA     3748 Ended         no      1   0             0                                                             
    2 UPD     3756 Ended         no      1   0             0                                                             
    3 ENQ     3764 Ended         no      1   0             0                                                             
    4 BTC     3772 Ended         no      1   0             0                                                             
    5 BTC     3780 Ended         no      1   0             0                                                             
    6 SPO     3792 Ended         no      1   0             0                                                             
    7 UP2     3800 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Mon Jul 27 09:25:43 2009
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     8 ( 88%),  shm     1 ( 11%)
    since last update     total     9,  udp     8 ( 88%),  shm     1 ( 11%)
    Dump of tm_adm structure:               Mon Jul 27 09:25:43 2009
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Mon Jul 27 09:25:43 2009
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1625
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 27 11:25:48 2009
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing process (3724) (SOFT_KILL)
    Stop icman
    killing process (3732) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:3724  HANDLE:1592)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1625
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 27 11:25:49 2009
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:3724  HANDLE:1592)
    [DpProcDied] Process died  (PID:3732  HANDLE:1584)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    NiIMyHostName: hostname = 'upayweb1'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9962]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1596
    MsIDetach: detach MS-system
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 2668) [dpxxdisp.c   8495]
    Good Bye .....

    Hi Juan <br>
    I am sending you the log from dev_w0 <br>
    <br>
    Thank you a lot,<br>
    Vasil
    <br> <br>
    <br>
    <br>
    trc file: "dev_w0", trc level: 1, release: "640"<br>
    <br>
    *<br>
    ACTIVE TRACE LEVEL           1<br>
    ACTIVE TRACE COMPONENTS      all, M<br>
    *<br>
    B  <br>
    B Mon Jul 27 11:24:53 2009<br>
    B  create_con (con_name=R/3)<br>
    B  Loading DB library 'C:\usr\sap\UFT\SYS\exe\run\dbmssslib.dll' ...<br>
    B  Library 'C:\usr\sap\UFT\SYS\exe\run\dbmssslib.dll' loaded<br>
    B  Version of 'C:\usr\sap\UFT\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.43)<br>
    B  New connection 0 created<br>
    M systemid   560 (PC with Windows NT)<br>
    M relno      6400<br>
    M patchlevel 0<br>
    M patchno    43<br>
    M intno      20020600<br>
    M make:      multithreaded, Unicode<br>
    M pid        3740<br>
    M <br>
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3740) [dpxxdisp.c   1160]<br>
    I  MtxInit: -2 0 0<br>
    M  DpSysAdmExtCreate: ABAP is active<br>
    M  DpSysAdmExtCreate: JAVA is not active<br>
    M  DpShMCreate: sizeof(wp_adm)          10528     (1316)<br>
    M  DpShMCreate: sizeof(tm_adm)          2780232     (13832)<br>
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)<br>
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)<br>
    M  DpShMCreate: sizeof(comm_adm)          290000     (580)<br>
    M  DpShMCreate: sizeof(vmc_adm)          0     (372)<br>
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)<br>
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 060C0040, size: 3192688)<br>
    M  DpShMCreate: allocated sys_adm at 060C0040<br>
    M  DpShMCreate: allocated wp_adm at 060C1B58<br>
    M  DpShMCreate: allocated tm_adm_list at 060C4478<br>
    M  DpShMCreate: allocated tm_adm at 060C44A0<br>
    M  DpShMCreate: allocated wp_ca_adm at 0636B0E8<br>
    M  DpShMCreate: allocated appc_ca_adm at 06370EA8<br>
    M  DpShMCreate: allocated comm_adm_list at 06372DE8<br>
    M  DpShMCreate: allocated comm_adm at 06372E00<br>
    M  DpShMCreate: allocated vmc_adm_list at 063B9AD0<br>
    M  DpShMCreate: system runs without vmc_adm<br>
    M  DpShMCreate: allocated ca_info at 063B9AF8<br>
    M  DpShMCreate: allocated wall_adm at 063B9B00<br>
    X  <br>
    X Mon Jul 27 11:24:54 2009<br>
    X  EmInit: MmSetImplementation( 2 ).<br>
    X  <ES> client 0 initializing ....<br>
    X  Using implementation flat<br>
    M  <EsNT> Memory Reset disabled as NT default<br>
    X  ES initialized.<br>
    M  <br>
    M Mon Jul 27 11:24:55 2009<br>
    M  calling db_connect ...<br>
    C  Thank You for using the SLOLEDB-interface<br>
    C  Using dynamic link library 'C:\usr\sap\UFT\SYS\exe\run\dbmssslib.dll'<br>
    C  dbmssslib.dll patch info<br>
    C    patchlevel   0<br>
    C    patchno      43<br>
    C    patchcomment View with literal containing (0x60) (786638)<br>
    C  np:(local) connection used on UPAYWEB1<br>
    C  Using Provider SQLNCLI<br>
    C  OpenOledbConnection: MARS property was set successfully.<br>
    C  Provider Release:9.00.1399.06<br>
    C  Using Provider SQLNCLI<br>
    C  OpenOledbConnection: MARS property was set successfully.<br>
    C  Cache sizes: header 68 bytes, 20000 names (31520000 bytes), 1000 dynamic statements (5672000 bytes), total 37192068 bytes<br>
    C  Using shared procedure name cache UPAYWEB1_UFTUFT_UFT_MEM initialized by another process.<br>
    C  Connected to db server : [UPAYWEB1] server_used : [np:(local)], dbname: UFT, dbuser: uft<br>
    C  pn_id:UPAYWEB1_UFTUFT_UFT<br>
    C  Not using MARS (on sql 8.0)<br>
    B  Connection 0 opened<br>
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost          <br>
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20090727 112454 UPAYWEB1        <br>
    C  The IRow interface is supported by this OLEDB provider<br>
    M  db_connect o.k.<br>
    I  MtxInit: 0 0 0<br>
    M  SHM_PRES_BUF               (addr: 0AD60040, size: 4400000)<br>
    M  SHM_ROLL_AREA          (addr: 5EF60040, size: 160563200)<br>
    M  SHM_PAGING_AREA          (addr: 0B1A0040, size: 72417280)<br>
    M  SHM_ROLL_ADM               (addr: 0F6C0040, size: 1603610)<br>
    M  SHM_PAGING_ADM          (addr: 0F850040, size: 525344)<br>
    M  ThCreateNoBuffer          allocated 540152 bytes for 1000 entries at 0F8E0040<br>
    M  ThCreateNoBuffer          index size: 3000 elems<br>
    M  ThCreateVBAdm          allocated 12160 bytes (50 server) at 0F970040<br>
    X  EmInit: MmSetImplementation( 2 ).<br>
    X  <ES> client 0 initializing ....<br>
    X  Using implementation flat<br>
    X  ES initialized.<br>
    C  <br>
    C Mon Jul 27 11:24:58 2009<br>
    C  The IRow interface is supported by this OLEDB provider<br>
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 8<br>
    C  Using Provider SQLNCLI<br>
    C  OpenOledbConnection: MARS property was set successfully.<br>
    B  dbtbxbuf: Buffer TABL  (addr: 146900C8, size: 30000000, end: 1632C448)<br>
    B  dbtbxbuf: Profile: max_objects = 5000, displace = 1, reorg = 1<br>
    B  dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5<br>
    B  dbtbxbuf: protect_shm = 0, force_checks = 0<br>
    B  dbtbxbuf: tsize_retry = 14304000<br>
    B  ***LOG BB0=> buffer TABL       started with length 30000000   bytes [dbtbxbuf#7 @ 15714] [dbtbxbuf1571 4]<br>
    B  dbtbxbuf: Buffer TABLP (addr: 163300C8, size: 10240000, end: 16CF40C8)<br>
    B  dbtbxbuf: Profile: max_objects = 500, displace = 1, reorg = 1<br>
    B  dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5<br>
    B  dbtbxbuf: protect_shm = 0, force_checks = 0<br>
    B  dbtbxbuf: tsize_retry = 5047296<br>
    B  ***LOG BB0=> buffer TABLP      started with length 10240000   bytes [dbtbxbuf#7 @ 15714] [dbtbxbuf1571 4]<br>
    B  dbtbxbuf: Reading TBX statistics:<br>
    B  dbtbxbuf: Opening C:\usr\sap\UFT\DVEBMGS01\data\tbxnew failed (No such file or directory).<br>
    B  dbtbxbuf: Renaming C:\usr\sap\UFT\DVEBMGS01\data\tbxnew to C:\usr\sap\UFT\DVEBMGS01\data\tbxstat failed (No such file or directory).<br>
    B  dbtbxbuf: 0 object entries precreated<br>
    C  sloledb.cpp [ParamStmtExec,line 11888]: Error/Message: (err 8180, sev 0), Statement(s) could not be prepared.<br>
    C  Procname: [##Y3UPAYWEB1uft00000037400000000002112455]<br>
    C  sloledb.cpp [ParamStmtExec,line 11888]: Error/Message: (err 208, sev 16), Invalid object name 'DDLOG'.<br>
    C  Procname: [##Y3UPAYWEB1uft00000037400000000002112455]<br>
    C  ParamStmtExec failed.  HR 80040e14 DBSL retcode 103. stmt: [SELECT MAX(SEQNUMBER) AS c FROM DDLOG ]<br>
    C  Conn_i:1 selection:1 singleton:1 flag_fupd:0 use_cursor:0 chksum: 112017<br>
    C  DbSlRead - Error 103 (dbcode 208) on open<br>
    C  DbSlRead - <##Y3UPAYWEB1uft00000037400000000002112455><br>
    C  DbSlRead - Error 103 (dbcode 208) on fetch<br>
    C  DbSlRead - <##Y3UPAYWEB1uft00000037400000000002112455><br>
    B  ***LOG BZY=> unexpected return code 103        calling SEL        [dbsynseq#1 @ 255] [dbsynseq0255 ]<br>
    B  db_syinit failed<br>
    M  *** ERROR => ThCallHooks: event handler db_init for event CREATE_SHM failed [thxxtool3.c  252]<br>
    M  *** ERROR => ThIPCInit: hook failed [thxxhead.c   1901]<br>
    M  ***LOG R19=> tskh_init, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c   1359]<br>
    M  in_ThErrHandle: 1<br>
    M  *** ERROR => tskh_init: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c   9413]<br>
    M  <br>
    M  Info for wp 0<br>
    M  <br>
    M    stat = 4<br>
    M    reqtype = 1<br>
    M    act_reqtype = -1<br>
    M    rq_info = 0<br>
    M    tid = -1<br>
    M    mode = 255<br>
    M    len = -1<br>
    M    rq_id = 65535<br>
    M    rq_source = 255<br>
    M    last_tid = 0<br>
    M    last_mode = 0<br>
    M    int_checked_resource(RFC) = 0<br>
    M    ext_checked_resource(RFC) = 0<br>
    M    int_checked_resource(HTTP) = 0<br>
    M    ext_checked_resource(HTTP) = 0<br>
    M    report = >                                        <<br>
    M    action = 0<br>
    M    tab_name = >                              <<br>
    M  <br>
    M  *****************************************************************************<br>
    M  *<br>
    M  *  LOCATION    SAP-Server upayweb1_UFT_01 on host upayweb1 (wp 0)<br>
    M  *  ERROR       tskh_init: ThIPCInit<br>
    M  *<br>
    M  *  TIME        Mon Jul 27 11:24:58 2009<br>
    M  *  RELEASE     640<br>
    M  *  COMPONENT   Taskhandler<br>
    M  *  VERSION     1<br>
    M  *  RC          17<br>
    M  *  MODULE      thxxhead.c<br>
    M  *  LINE        9589<br>
    M  *  COUNTER     1<br>
    M  *<br>
    M  *****************************************************************************<br>
    M  <br>
    M  PfStatDisconnect: disconnect statistics<br>
    M  Entering TH_CALLHOOKS<br>
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP<br>
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]<br>
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  252]<br>
    M  Entering ThSetStatError<br>
    M  Entering ThReadDetachMode<br>
    M  call ThrShutDown (1)...<br>
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3740) [dpnttool.c   357]<br>

  • Unable to open RFC connection to SAP System NSP

    Hi all,
    During installation i am getting an error which is as follows,
    "Unable to open RFC connection to SAP System NSP.
    Solution: Start the system."
    And the second problem is that there are no connections shown in SAPGUI.
    Please help me out.
    Thanking you,
    Kranthi

    HI Kranthi,
    Have you checked this thread NW Preview Installation error?
    Regards

  • SAP R/3 installation - FRF-00007  Unable to open RFC connection

    Hi all
    I install SAP R/3 Enterprise SR1 with SuSE Linux Enterprise server 9 and SAPDB 7.3.28. At the end of the installation exactly on the " Starting RFC Jobs (post processing" the following problem begins.
    <b>in the LOG INSTALLATION PROGRESS</b>
    See '/sapmnt/RRP/exe/startsap all DVEBMGS00' output in '/sapinstdb/startsap.log'.
    INFO 2006-07-27 16:50:47
    '/sapmnt/RRP/exe/startsap all DVEBMGS00' returned with '0'.
    PHASE 2006-07-27 16:50:49
    Prepare Starting RSWBOINS, RADDBDIF
    INFO 2006-07-27 16:50:49
    RFC parameter CLIENT was set to value 000.
    INFO 2006-07-27 16:50:49
    RFC parameter USER was set to value DDIC.
    INFO 2006-07-27 16:50:49
    RFC parameter LCHECK was set to value 1.
    INFO 2006-07-27 16:50:49
    RFC parameter PCS was set to value 1.
    INFO 2006-07-27 16:50:49
    RFC parameter LANG was set to value EN.
    INFO 2006-07-27 16:50:49
    RFC parameter ASHOST was set to value rpone.
    INFO 2006-07-27 16:50:49
    RFC parameter SYSNR was set to value 00.
    INFO 2006-07-27 16:50:49
    RFC connection information checked successfully.
    ERROR 2006-07-27 16:50:59
    FRF-00007  Unable to open RFC connection.
    ERROR 2006-07-27 16:50:59FRF-00063  RFC logon failed with message: Connect to SAP gateway failedConnect_PM  GWHOST=rpone, GWSERV=sapgw00, ASHOST=rpone, SYSNR=00
    ERROR 2006-07-27 16:50:59
    FJS-00012  Error when executing script.
    <b>IN THE SHELL - KONSOLE</b>
    TRACE      [iaxxccntrl.cpp:595]
               CController::stepExecuted()
    The step StartSAPSystem with key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|SAPInstancePrepare|ind|ind|ind|ind|ind|0|StartSAPSystem|ind|ind|ind|ind|ind|0|StartSAPSystem has been executed successfully.
    TRACE      [iaxxejsexp.cpp:138]
               EJS_Installer::writeTraceToLogBook()
    t_SAPComponent_SAPSystemLogon_SHARED.insertRow(), inserting
    TRACE      [iaxxccntrl.cpp:595]
               CController::stepExecuted()
    The step sCopytSAPSystemsLogon with key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|SAPComponent_Rfc_Jobs|ind|ind|ind|ind|ind|0|sCopytSAPSystemsLogon has been executed successfully.
    PHASE      2006-07-27 16:50:49 [iaxxccolwk.cpp:328]
               CCheckCollectingWalker::printPhaseInfo()
    Prepare Starting RSWBOINS, RADDBDIF
    TRACE      [iaxxclib.cpp:56]
               load()
    Opened iamodrfc.so
    TRACE      [iaxxejsexp.cpp:138]
               EJS_Installer::writeTraceToLogBook()
    Connect to SAP gateway failed
    Connect_PM  GWHOST=rpone, GWSERV=sapgw00, ASHOST=rpone, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       connection to partner broken
    TIME        Thu Jul 27 16:50:59 2006
    RELEASE     620
    COMPONENT   NI (network interface)
    VERSION     36
    RC          -6
    MODULE      niuxi_mt.c
    LINE        1237
    DETAIL      NiPRead (0.0.0.0/0)
    SYSTEM CALL recv
    ERRNO       104
    ERRNO TEXT  Connection reset by peer
    COUNTER     3
    Transaction begin ********************************************************
    TRACE      [iaxxbrfc.cpp:119]
               CIaRfc::CIaRfc
    Instance for SAP system module was created.
    INFO       2006-07-27 16:50:49 [iaxxrfcimp.cpp:431]
               CAbRfcImpl::setRfcConnectParam
    RFC parameter CLIENT was set to value 000.
    INFO       2006-07-27 16:50:49 [iaxxrfcimp.cpp:431]
               CAbRfcImpl::setRfcConnectParam
    RFC parameter USER was set to value DDIC.
    INFO       2006-07-27 16:50:49 [iaxxrfcimp.cpp:431]
               CAbRfcImpl::setRfcConnectParam
    RFC parameter LCHECK was set to value 1.
    INFO       2006-07-27 16:50:49 [iaxxrfcimp.cpp:431]
               CAbRfcImpl::setRfcConnectParam
    RFC parameter PCS was set to value 1.
    INFO       2006-07-27 16:50:49 [iaxxrfcimp.cpp:431]
               CAbRfcImpl::setRfcConnectParam
    RFC parameter LANG was set to value EN.
    INFO       2006-07-27 16:50:49 [iaxxrfcimp.cpp:431]
               CAbRfcImpl::setRfcConnectParam
    RFC parameter ASHOST was set to value rpone.
    INFO       2006-07-27 16:50:49 [iaxxrfcimp.cpp:431]
               CAbRfcImpl::setRfcConnectParam
    RFC parameter SYSNR was set to value 00.
    INFO       2006-07-27 16:50:49 [iaxxrfcimp.cpp:571]
               CAbRfcImpl::checkConnectInfo
    RFC connection information checked successfully.
    ERROR      2006-07-27 16:50:59 [iaxxrfcimp.cpp:481]
               CAbRfcImpl::openRfcConn
    FRF-00007  Unable to open RFC connection.
    TRACE      [iaxxrfcimp.cpp:482]
               CAbRfcImpl::openRfcConn
    Failed to open RFC connection
    TRACE      [iaxxrfcimp.cpp:485]
               CAbRfcImpl::openRfcConn
    Connect to SAP gateway failed
    Connect_PM  GWHOST=rpone, GWSERV=sapgw00, ASHOST=rpone, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       connection to partner broken
    TIME        Thu Jul 27 16:50:59 2006
    RELEASE     620
    COMPONENT   NI (network interface)
    VERSION     36
    RC          -6
    MODULE      niuxi_mt.c
    LINE        1237
    DETAIL      NiPRead (0.0.0.0/0)
    SYSTEM CALL recv
    ERRNO       104
    ERRNO TEXT  Connection reset by peer
    COUNTER     3
    ERROR      2006-07-27 16:50:59
               CJSlibModule::writeLogEntry()
    FRF-00063  RFC logon failed with message: Connect to SAP gateway failed
    Connect_PM  GWHOST=rpone, GWSERV=sapgw00, ASHOST=rpone, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       connection to partner broken
    TIME        Thu Jul 27 16:50:59 2006
    RELEASE     620
    COMPONENT   NI (network interface)
    VERSION     36
    RC          -6
    MODULE      niuxi_mt.c
    LINE        1237
    DETAIL      NiPRead (0.0.0.0/0)
    SYSTEM CALL recv
    ERRNO       104
    ERRNO TEXT  Connection reset by peer
    COUNTER     3
    Transaction end **********************************************************
    TRACE      [iaxxejsbas.hpp:156]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown exception
    ERROR      2006-07-27 16:50:59 [iaxxejsctl.cpp:241]
               EJS_ControllerImpl::executeScript()
    FJS-00012  Error when executing script.
    TRACE      [iaxxgenimp.cpp:428]
               processUserInput()
    got notification...
    TRACE      [iaxxsubjct.cpp:58]
               notify()
    releasing notifyLock
    DO YOU HAVE SOME IDEA;  HOW I CAN SOLVING THIS PROBLEM
    Thanks
    Jose Marcos

    Hi Johanes
    Thank you very much fot your email
    Sorry Im new in this Installation
    I have some questions.
    I see the SPdent, and I dont have any SP Installed
    <b>In the etc/host I have</b>:
    hosts         This file describes a number of hostname-to-address
                  mappings for the TCP/IP subsystem.  It is mostly
                  used at boot time, when no name servers are running.
                  On small systems, this file can be used instead of a
                  "named" name server.
    Syntax:
    IP-Address  Full-Qualified-Hostname  Short-Hostname
    127.0.0.1       localhost
    special IPv6 addresses
    ::1             localhost ipv6-localhost ipv6-loopback
    fe00::0         ipv6-localnet
    ff00::0         ipv6-mcastprefix
    ff02::1         ipv6-allnodes
    ff02::2         ipv6-allrouters
    ff02::3         ipv6-allhosts
    192.168.101.29  rpone.local rpone
    I need to install the SP?
    What IP I need to delete ?
    Regards
    Jose

  • Error when opening RFC Connection

    Hello SAPers,
    I have configured PDA in my ECC6.0 --- XI (ABAP+JAVA) Which was successful.
    In my Web Dyno Pro Content Administrator
    I have performed the JCO Destinations test which was successful
    when I go to the URL
    http://server:port/webdynpro/dispatcher/sap.com/isisrsrsmenapp/MainApp
    entered the store number
    In the next menu
    Inventory Lookup when I enter the Article number and press Go Button
    It is giving me error " Error when opening RFC Connection "
    Rest of them working perfectly...
    Do I need to do any configuration In Visual Admin?
    Could anyone advice
    Thanks In Advance
    HariKrishna

    Thanks it got solved it was an error in RFC, I have changed the RFC now it is working fine
    Thanks
    Hari

  • "COMMUNICATION FAILURE" during JCo call. Error opening RFC connection

    Hi
    I am trying the following scenario
    /people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
    In SM 59 test connection of AI_RUNTIME_JCOSERVER throws error " Error opening RFC connection"
    Do I need to activate any service in SICF and do I need to do any IE configuration (sxmb_adm)
    pls let me know the steps to solve this
    thanks
    manian

    Hi Manian,
    pls chk with ABAP system tha tu have given the correct PWD and CLNT No
    Use
    You need to create the following RFC destinations with both transaction SM59 (ABAP) and the Visual Administrator (Java):
    ●     AI_RUNTIME_JCOSERVER
    Points from the Integration Server to the mapping runtime. The program ID corresponds to the entry under JCo RFC provider for the J2EE Engine (used for the mapping runtime, value mapping, and the exchange profile).
    ●     AI_DIRECTORY_JCOSERVER
    Points from the Integration Server to the Integration Builder. The program ID corresponds to the entry under JCo RFC provider for the J2EE Engine (used to refresh the runtime cache).
    ●     LCRSAPRFC
    The RFC destination LCRSAPRFC is required for the connection to the System Landscape Directory (SLD). It is used to read the exchange profile.
    ●     SAPSLDAPI
    The RFC destination SAPSLDAPI is required for the connection to the SLD. It is used by the ABAP API.
    Depending on your client settings, it may be necessary to log on to your Integration Server host as SAP system user with the authorization to maintain customizing tables and to release transport orders.
    User SAP* or DDIC does not have these authorizations
    Thanx
    Sampath

  • Error : FRF-00007 Unable to open RFC connection

    Hi All,
    I'm installing SAP BW 3.5 for oracle 9.2 and patch 10.1  on AIX 5.3server.
    The end of installation 'Starting RFC jobs" i got the error.
    Log Details:
    ERROR 2008-07-28 19:20:02
    FRF-00007  Unable to open RFC connection.
    ERROR 2008-07-28 19:20:02
    FRF-00063  RFC logon failed with message: Failed: Connect to SAP gateway failedConnect_PM  GWHOST=biqci, GWSERV=sapgw00, ASHOST=biqci, SYSNR=00
    Can anybody help me to solve this issue
    Regards,
    M.M Selvakumaar
    09739798709
    subject changed by moderator!... Read the "Rules of Engagement"
    Edited by: Juan Reyes on Jul 28, 2008 4:03 PM

    Hi juan,
    Thanks for Ur reply
    As per ur advice : I checked the path etc/services  
    Everything is fine there 
    Then
    Solution:
    I stopped the sap service and restart the service then I continued the installation without error
    After installation I checked T-code: SICK there I got one error 
    Error Details:
    SAP System Check
    OS release AIX 3 5 00C5E98B4C00 is not supported with this kernel (640)
    Severe problems were detected during initial system check.
    Please, do not use that system before fixing these problems.
    So please help me to solve the issue
    Regards,
    MM.selvakumar

  • FRF-00007  Unable to open RFC connection.

    I am trying to install SAP R/3 Enterprise 4.70 on Windows Server 2000, database Oralce 9.2 and I want to install entire SAP system in 1 Computer.
    I have been installed Oracle 9.2 and SAP's center service successfully.
    But when i install SAP's database service it throws error as below and
    teminated.
    ERROR 2006-12-04 01:01:08
    FRF-00007  Unable to open RFC connection.
    ERROR 2006-12-04 07:03:21
    FRF-00063  RFC logon failed with message: Failed: Connect to SAP gateway failedConnect_PM  GWHOST=diane, GWSERV=sapgw00, ASHOST=diane, SYSNR=00

    Hi,
    I had a similar error, with windows 2000 advanced server, oracle 9.2.0.6, SAP BW 3.1.
    To resolve this error please upgrade your kernel.
    download the kernel. say 640
    uncar the files sapdbexe.sar and sapexe.sar using the sapcar.exe
    on dos prompt go to the particular directory where u have downloaded the above sar files using "cd" command.
    SAPCAR -xvf <your-SAR-file>   to uncar the files.
    shut down sap using the MMC.
    then in services stop saposcol
    oracle service sapserviceSID
    and the sapSID_##
    now just copy the new kerlnel files you have uncared above into the /usr/sap/SID/exe/run/ directory.
    start the services you stopped and start SAP using the MMC.
    Now you should be able to logon. Somtimes the MMC shows the yellow status due to missing workprocess status. However the system should work fine.
    Manmath.

  • Error while saving web template in WAD? Error in opening RFC Connection?

    Hi All.
    In BI 7.0, While trying to save an web template using BEx WAD resulting an error as mentioned below:
    " Java communication error : Error when opening an RFC connection "
    Who provides this RFC connection?
    - By Basis guy or BI Guy or EP guy or helpdesk.
    Please reply.
    Thanks in Advance.

    Hi,
    Kindly review the notes 917950 and 888687 and ensure that all your web configuration settings are proper.
    Award points if helpful.
    Thank you.
    Regards
    Suresh

  • RFC Connection Error during Web AS ABAP Database Instance

    I keep getting RFC Connection error installing the database instance.  The following are the pertinent logs:
    INFO 2007-05-09 20:10:04
    Working directory changed to C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB.
    INFO 2007-05-09 20:10:04
    Output of C:\usr\sap\X22\SYS\exe\run\r3trans.exe -u 1 -i "C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB\mssprocs640.dat" is written to the logfile r3trans.exe.log.
    INFO 2007-05-09 20:10:22
    Execution of the command "C:\usr\sap\X22\SYS\exe\run\r3trans.exe -u 1 -i "C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB\mssprocs640.dat"" finished with return code 0. Output: This is C:\usr\sap\X22\SYS\exe\run\r3trans.exe version 6.13 (release 640 - 03.06.05 - 17:04:00).unicode enabled versionC:\usr\sap\X22\SYS\exe\run\r3trans.exe finished (0000).
    INFO 2007-05-09 20:12:23
    RFC parameter CLIENT set to value 000.
    INFO 2007-05-09 20:12:23
    RFC parameter USER set to value DDIC.
    INFO 2007-05-09 20:12:23
    RFC parameter LCHECK set to value 1.
    INFO 2007-05-09 20:12:23
    RFC parameter PCS set to value 1.
    INFO 2007-05-09 20:12:23
    RFC parameter LANG set to value EN.
    INFO 2007-05-09 20:12:23
    RFC parameter ASHOST set to value cix22.
    INFO 2007-05-09 20:12:23
    RFC parameter SYSNR set to value 00.
    INFO 2007-05-09 20:12:23
    RFC connection information checked successfully.
    ERROR 2007-05-09 20:12:24
    FRF-00007  Unable to open RFC connection.
    I tried the following fixes spread across different threads in this Expert Forums:
    1. Someone said network problem.  I rebooted, restarted the install and even redo it. 
    2.  Another suggestion was to use caps on the password.  Didnt work.
    3.  One suggestion was to update the keydb.xml file.  However, I could find such property name:
    search for the table t_SAPComponent_SAPSystemLogon_SHARED
    then look for <fld name="pPW">, <properties>,
    <property name ="GUIENG_USER_INPUT" and set the value
    "GUINEG_TRUE" to "GUIENG_FALSE".
    4. I even used the ddic password 19920706 which is supposed to be the default.
    5. Restarted the instance and applied all the fixes above.
    Does anyone know what is going on base on the logs above?  Thanks.

    try moving all your install disk onto local file system then rerun the install. That might work....

  • IDES Installation error (RFC connection error)

    Hi
    Would someone help me?
    I have a problem while installing the IDES ,ECC 6.0 with MaxDB. (Linux)
    The installaiton of CI is holding in the phase " Checking the DDIC password "  and it seems a loop.
    Looking through sapinst.log ,  there is some messages.
    These messages are showing as a loop.
    INFO 2008-06-25 13:46:09
    RFC connection information checked successfully.
    ERROR 2008-06-25 13:47:10
    FRF-00007  Unable to open RFC connection.
    ERROR 2008-06-25 13:47:10
    MUT-03025  Caught ERfcExcept in Modulecall: Timeout.
    And I tried to logon ,but I didn't  because of the timeout.
    The window says "waiting for response" and the logon is over with a error,timeout.
    Any hints and advice would be helpful for me ,thanks.

    Hi,
    1. Check dailog work processes through OS level
    2. Check all profile parameters through OS level and change it according.
    3. Then try for sap logon with 000 client and password.
    After login into sap, check RFC connection within the system. using by tcode sm59.
    4. Finally you can check also MaxDB services at OS level.
    Regards,
    Srini Nookala
    Edited by: Srini Nookala on Jun 28, 2008 6:11 AM

  • RFC connection not disconnected on timeout/logoff.

    Dear Sir,
    We have two systems of ITS, one with ITS 620/patch 16 connected to ECC 5.0 and second, with ITS 620/patch 4 connected with 4.7.
    The one with patch 16 is perfectly working while the one with patch 4 have following problem.
    1. ~event=logoff doesn't close the RFC session to R/3.
    2. After the timeout period i.e set in ~timeout and ~usertimeout parameters set in global services, the RFC connection doesn't get closed.
    Can this be a patch level problem?? or do the following R/3 parameters with 0 value have impact??
    a. em/stat_log_timeout
    b. gw/deallocate_timeout
    c. gw/reg_keepalive
    d. gw/timeout
    Please guide...

    Hi All,
    We are facing the same problem. but we are not using ITS, we are using
    WAS 6.20 on CRM4.0
    Problem is: Open RFC connections build in the system, are not closed after the user sessions are closed / terminated
    Can anyone help us to solve this problem.
    Thanks
    Kishora Reddy

  • Help for RFC connection

    hi all,
           source systems when checked is fine but when i try to customize the extractors it says error "opening" rfc connection..any idea why?? during loading have a error saying idocs not posted and idocs with incorrect status..
    help wil be rewarded..
    regards'
    Rajendra

    Hi Rajendra,
    Go to SM59. Open the RFC for your source system by double clicking on it. Click on check connection. There's some issue with the RFC thats why you're seeing this error. Inform the Basis team. Thanks.
    Sumit

  • Bex Web designer. Java ccommunication error. Error when opening rfc connec

    Dear All,
    Whenever we open Bex web designer we get a error message box " Java communication error : Error when opening rfc connection"
    This error seems to be due to incorrect BW and Portal configuragtion.
    Can anybody let me how to correct the error by doing the right BW and portal configuration. I serached many documents as well as in sdn but no concrete procedure is provided. I am in need of urgent help regarding this.
    Thanks in advance.
    Warm regards
    Mazdul

    In one of the notes therre was a link. I opened the link in my portal server. There was a check list where all the conditions that were not met were marked with red. I corrected most of them according to the check list. Now the error is due to SSO  not configured properly.
    BEX should work fine when this is done.
    Warm Regards
    Mazdul

  • Open and close RFC connection with portals...

    Hi Experts,
    I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO)  before that query and open the connction again after that query.
    Please advice is it possible to achieve this. If yes, then how.
    Regards,
    Guddan

    Hi Guddan,
    I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO) before that query and open the connction again after that query.
    I guess i will need to understand your requirement a little more in detail, as i understand you have an RFC which has a query within to fetch some data and is taking a long time to do so. In the meantime you don't want to keep the connection open?
    My question would be, Is the role of this RFC to only execute the query and fetch the data or does it do something else?
    If it does other things and these are independent of the query execution, then you can span a parallel call within the RFC to execute the query and in the meantime the RFC does the other things (or vice versa) hence reducing the overall time taken.
    If the sole purpose of this RFC is to execute the query, then you will not be able(i mean to say there is no simple and direct way of doing this) to close the connection after the Query is started and re-establish the connection after its execution, for a simple reason that - how will you know if the query has completed it's execution, so that you can establish the connection back.
    Alternate solutions, make this a two way asynchronous call, 1) You invoke the RFC asynchronously and close the connection, the RFC in turn will execute the query and transfer the data to JCO via another RFC call.
    If this needs to be a synchronous call, then you will need to optimize the query to its best.
    Regards,
    Chen

Maybe you are looking for

  • Memory leaks with Third party classes

    Hello all, This is fairly known problem. But I guess, my problem gives a new dimention to the problem. I have an application which is developed by me. This application ideally needed to use third party classes ( obviously no source code is supplied )

  • User ID Number to Custom User Name

    Hello. We have some users logging in using their SSN (or some important #). We want them to create their own usernames and login using the new name. This name will just be for logging in, we want to track audit info like updated by and created by etc

  • Hardware Test doesn't boot

    I have a macbook Pro 2.2 GHz Intel Core 2 Duo with 2 GB 667 Mhz DDR2 SDRAM on 10.6.8. I purchased a universal DVD of Snow Leopard. I have removed all external devices except the Keyboard and Pilotmouse Mini Bluetooth wireless mouse. Restarting after

  • End tag error in Office 2010 professional plus

    I have my research paper got corrupted some how. When I try to open it, I get the following error: "The name in the end tag of the element must match the element type in the start tag. Location: Part: /word/document.xml, Line 2, Column: 5119889" I am

  • Logon Failed Error Thrown by Simple Web Report

    <p>I am getting the logon failed error when I try to access the web service hosting my report. The report displays information from a typed dataset that loads the XML from the local directory. The report runs fine from a windows console application w