Pessimistic Locking mechanism in SAP Gateway.
Hi All,
I am new to SAP Gateway. I know there are two types of locking mechanism ( optimistic and pessimistic) . Optimistic we do by etag and if-match.
Is there any idea of how to do by pessimistic approach.
For example we are reading a contract and then updating it. So, in get_entity we have to put the lock while reading and we have to unlock while updating. But how does it works. Whether the lock automatically get released after the get_entity method.
Kindly guide me in proceeding further.
Hi Sundar,
Here is my opinion :
Gateway is Completely Stateless till the current version which is SP8. So Pessimistic Locking would not be available out of the box by Gateway. You need to implement your custom logic to achieve this behaviour. However simulating a Pessimistic Lock in a complete stateless architecture will lead to many complexities which often might lead to inconsistency in the Application. As mentioned by Krishna, you can store lock information in some table in backend , but it might get messy very easily. I would not recommend to do so. However if you are really keen to do Pessimistic Locking kind of mechanism, what about the following approach -----
1. In the OData service, let us have an extra Entity called LOCK which has properties such as USER, RESOURCE_ID(such as contract ID),DATE,TIME. USER and RESOURCE_ID is the key in this entity. This data is stored in a table in database.
2. When a particular USER opens the CONTRACT screen in EDIT mode, the UI fires a POST(Create) call for Entity LOCK with the USER and RESOURCE_ID(contract ID in this case). In the backend database table if no entry exists with that USER ID and RESOURCE_ID, then a new entry is created and the USER is allowed to EDIT the contract. If an entry already exist in table then it means some other user is already in Edit mode , and the current user is refused to access the resource in edit mode.
3. When the USER saves the CONTRACT you need to fire a DELETE request for that Particular LOCK entity. Thus is resource is dequeued.
However this is like a vanilla flow. Handling can be complicated if user closes the browser, disconnects the network connection, opens parallel session etc etc.
Rather a clean approach would be an Optimistic lock. Fiori Applications are using this mechanism to handle concurrency control. You may refer to my reply on Locking mechanism in SAP Gateway. for a little more information on Optimistic Locking.
I agree that even though Optimistic locking works pretty well in REST based applications as it allows operations to be free from overhead of long transaction , there can be situations as mentioned below, where an Optimistic lock might not be preferred -
1. Where the chances of concurrency collision is very high (Example: Online Reservation of Tickets)
2. If modifying the resource by the user requires a lot of typing (However JS libraries such as Garlic.js, sisyphus.js or HTML5 Local storage can help us here )
Now it is upto you to decide upon the approach ..
Similar Messages
-
Please suggest me good links for locking mechanism in SAP
Please suggest me good links for locking mechanism in SAP
thanks,Hi Akash,
Here is a small description on lock object.
The lock mode controls whether several users can access data records at the same time. The lock mode can be assigned separately for each table in the lock object. When the lock is set, the corresponding lock entry is stored in the lock table of the system for each table.
Access by more than one user can be synchronized in the following ways:
Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected.
Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected.
Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.
Check out this thread:
LOCK OBJECT?
Regards,
Vivek
PS: Award points if helpful -
Locking mechanism provided by the Web AS Java
Hi All,
I have a requirement to lock an object for a specific action
with using locks provided and managed by the Web AS Java (i have to use TableLocking API).
I have read about the locking mechanism in "SAP NetWeaver Developer Studio Documentation help" .
I need code samples (how it can be done).
How i should check data availability (is it locked?)?
Thanks.hi
new features added in WAS7.0 for ABAP stack
1.Webdynpro for ABAP
2.New Enhancement Framework
3.Switch Frame Work
4.Adobe Forms integeration
5.New features added to ABAP Editor.
Also note that MySAP Business Suite is also the part of WAS7.0 release.
For Java stack new features have been added to Netweaver Developer Studio,EP and KM areas.Also BI-Java is also the part of WAS7.0 Release.
Cheers,
Abdul Hakim
Mark all useful answers.. -
Locking Mechanism/Isolation Level with Datastore (Pessimistic) Tr ansactions
What type of locking is Kodo JDO performing in datastore (pessimistic)
transaction mode? Is a TRANSACTION_SERIALIZABLE isolation level being
specified when the connection is obtained or is SELECT FOR UPDATE being
used?
Does the locking mechanism differ across database platforms? I had read
that only shared locks would be used on Microsoft SQL Server.
Also, what is the JDOLOCKX column generated by the schematool used for?
Does it contain a counter or timestamp used during optimistic transactions?
Thanks,
Sasha Haghani.What type of locking is Kodo JDO performing in datastore (pessimistic)
transaction mode? Is a TRANSACTION_SERIALIZABLE isolation level being
specified when the connection is obtained or is SELECT FOR UPDATE being
used?Kodo sticks with the default isolation level of the JDBC driver in use
for transactions, as we've found that many drivers act up when assigned
a level manually.
To lock records during pessimistic transactions, SELECT FOR UPDATE is
used. For the most part, it gives good object-level locking, preventing
concurrent modification, even in applications that span multiple JVMs.
Does the locking mechanism differ across database platforms?The locking differs across databases only in that some DBs do not
support SELECT FOR UPDATE (in which case it is still possible to get
optimistic lock exceptions during pessimistic transactions), some DBs
use a different mechanism (SQLServer has a shared lock construct that is
just as good if not better), and some DBs place restrictions on its use
(Oracle and PostgreSQL cannot lock rows when a SELECT DISTINCT is used).
See the 'known bugs and limitations' appendix of the Kodo user guide for
a detailed listing of locking issues with each databse.
Also, what is the JDOLOCKX column generated by the schematool used for?
Does it contain a counter or timestamp used during optimistic
transactions?The lock column contains a counter to keep track of object versions. As
you suspect, it is used so that during optimistic transactions when no
locking is performed (or during pessimistic transactions on DBs or
queries that can't perform locking), the system is able to detect that
concurrent modification of an object has occurred and throw the proper
exception. This way data integrity is never lost, even without locking.
As an aside, you can always view the SQL generated by Kodo (and by
looking at it get a feel for how the various table columns are used,
etc) by setting a print writer in the
JDBCPersistenceManagerFactory.setLogWriter() method. Kodo will echo all
SQL to the given stream.
Happy coding.
-- Abe White
TechTrader -
How to implementing locking mechanism in abap?
Hi
my program run by different users. I want
to ensure that at a particular point of time only
one instance of my program running, and all others
should be in wait.
if have a solution for this. i can make use of a flag
(global flag ) i set/get this flag from import/export
mechanism. for example.
do.
import v_flag = v_flag from MEMORY id 'ZFLAG'.
if v_flag is initial.
v_flag = '1'.
export v_flag to memory id 'ZFLAG'.
exit.
endif.
enddo.
***Rest of the program main code****
clear v_flag.
export v_flag to memory id 'ZFLAG'.
is this ok? or any other locking mechanism supported
by abap.
Regards,
Abhimanyu.LHi
Check the following,
http://help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/aa/fd823730fa874ae10000009b38f8cf/content.htm
http://www.sapdb.org/7.4/htmhelp/7d/75d34a6a210b4b95f232e5f9acd232/content.htm
http://www.sapdb.org/7.4/htmhelp/6e/ab5d79286b3d4a9f72ef140191d208/content.htm
http://sapdb.net/7.4/htmhelp/43/151d12671a2240947990c5152a4bbd/content.htm
Please reward if it helps. -
Hi All,
Due to restructure in DMZ in our network, IP addr of our R3 server is changed from 172.20.x.x to 192.168.x.x. and the original IP is NATted for connections. We can able to access SAPGUI, but RFCs from this server to other systems is not working. We are not able to remote logon from RFC to this R3 system from other servers, because of same issue.
RFC Error:
Error Details LOCATION: SAP-Gateway on host <sapr3> / sapgw01
Error Details DETAIL: no connect of TP sapdp00 from host <sapbw> after 20 sec
As per the note, Note 148832 - IP address conversion with a firewall, we have added the BW system entry in gw/alternative_hostnames, still its not working.
Because of this issue we are not able to access this R3 server from BW
as source system check failing with error
The following errors occurred in source system RSAR 374
Result of the destination check. Error when opening destination connection RSAR 375
*devrd file:*_
gateway runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
gateway (version=700.2008.06.23)
gw/local_addr : 0.0.0.0
Bind service sapgw01 (socket) to port 3301
GwPrintMyHostAddr: my host addresses are :
1 : [192.168.x.x] <sapr3> (HOSTNAME)
2 : [127.0.0.1] localhost (LOCALHOST)
3 : [172.20.x.x] alternative (ALTERNATIVE)
4 : [172.20.y.y] <sapbw> (ALTERNATIVE)
Full qualified hostname = <sapr3>
DpSysAdmExtCreate: ABAP is active
DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
Thu Dec 3 10:59:47 2009
ERROR => GwRqDpSendTo: no comm_adm entry found (gw=<sapbw> / sapdp00, rq=203, idx=12, conv=27032592, uid=1143, mode=0 [gwdp
LOCATION SAP-Gateway on host <sapr3> / sapgw01
ERROR COMM_TBL table error
TIME Thu Dec 3 10:59:47 2009
RELEASE 700
COMPONENT SAP-Gateway
VERSION 2
RC 235
MODULE gwdp.c
LINE 6065
COUNTER 715
Thu Dec 3 12:30:15 2009
ERROR => GwHdlRqFromSapWp: no comm_adm entry found [gwdp.c 1427]
ERROR => (rq/idx/conv/tid/uid/mode/wp=10/0/37803973/21/1300/0/1) [gwdp.c 1436]
Please let us know what to do to resolve the RFC error
Thanks,
RameshFollowing will list increased trace :
NiSelISelectInt: 1 handles selected (0 buffered)
main: NiSelNext (ni_hdl=10, read=1, write=0, connect=0, hdl_info=0x100b50b40)
request from R3_WORKPROCESS
NiIRead: hdl 10 received data (rcd=28,pac=2,MESG_IO)
GwReadSapWpRq: request: request from sap wp 1
-IN- tid 32 uid 1283 mode 0
-IN- appc_ca_blk 7 len 1697 rq_id 0
-IN- wait_f_answ 1 cmd 0
GwReadSapWpRq2: wp 1 waits for data
Adresse Offset Appc-Data to Gateway
0xffffffff73966230 000000 06ca0200 0503ffff 00000100 00000000 |................|
0xffffffff73966240 000016 40ffffff ff000000 00000000 00008704 |@...............|
0xffffffff73966250 000032 00000000 00000000 00000000 00000000 |................|
0xffffffff73966260 000048 54443143 4c4e5430 3137322e 32302e34 |TD1CLNT0172.20.4|
0xffffffff73966270 000064 73617064 70303020 49020000 0004ffff |sapdp00 I.......|
DpGetCpicCommIdx: found index 4 via appc_hdr
found comm entry 4 (tid/uid/mode/conv_id/a_r: 32/1283/0/ /0)
GwInitLocCommAdmEntry: init gw_comm_adm entry 4
GwListRemove: elem 4 not in comm_write_list
GwListRemove: elem 4 not in comm_wait_list
GwInitLocCommAdmEntry: 0 waiting writes to rem gw
GwSearch: connect to myself
GwFoundSysAddr: found addr
GwFoundWaitingAddr: found addr
GwSendToRemGw: request for myself (len=1697)
GwGetMemory: allocated 0x100ceb140 (len=1885)
GwGetMemory: act_overflow_size = 1885 (+ 1885)
REL APPC ca_blk 7
GwSendToRemGw: comp req = adr/total/alloc/hdr/param_hdr/data 0x100ceb140/1885/1885/80/295/1322
IN:
ReqType : CPIC SysIdx : 0 ReqLen : 1402 ReqId : 8752
CommIdx : 4 ConnIdx : -1 ReqVer : 6 Trace : 0
conn : -1 wp_no : -1 ReqBlk : -1
RqType : SAP_INIT Prot : INT UID : 1283 Mode : 0
User : SapRc : 0 AppcRc : 0 ConvId :
Vector : F_V_SEND_DATA
Info : SYNC_CPIC_FUNCTION WITH_HOSTADDR WITH_GW_SAP_PARAMS_HDR R3_CPIC_LOGIN_WITH_TERM
Info2 : WITH_LONG_LU_NAME
Info3 : GW_EXTENDED_INIT_OPTIONS
Addr (IPv4) : 172.20.48.162
LU : 172.20.4 TP : sapdp00 CType : I Cli Info: R3_CLIENT
Sec Usr : SecUsrLn: 0 Sec Type: 0
Send Length : 1322
long TP : sapdp00
long LU : 172.20.48.162
Address
Offset
CPIC-Data
x00ceb200
000000
d9c6c3f0 f0f0f0f0 f0f0f0f0 01010008
x00ceb210
000016
01020101 01010000 01010103 00040000
x00ceb220
000032
020b0103 0106000b 04010002 01030200
x00ceb230
000048
00002301 06010500 b5312d31 332d322d
..#......1-13-2-
GwUpdConvStatistik: conv_no/tcp_conv_no/sna_conv_no: 2/2/0
GwGetConnEntry: found conn 6 in free list
GwListRemove: remove elem 6 from conn_free_list
GwListRemove: 498 elems in conn_free_list
GwListInsert: insert elem 6 into conn_inuse_list (at end)
GwListInsert: 2 elems in conn_inuse_list
GwIHandleRq: new conn_tbl index: 6
GwIHandleRq: increment conv_no of client 0: 2
GwIHandleRq: own_index: 0
GwIHandleRq: set act rq type SAP_INIT
R3INIT(6, cpic_vector=1)
R3INIT: sys index = 0
GwMkTimeStamp: create conversation id 31510798
GwFiCreateConvId: created 31510798
R3INIT: generated Partner-Host-Addr: 172.20.48.162
R3INIT: received extended init options
timeout = -2
keepalive_timeout = -2
export_trace = 2
start_type = 0
net_protocol = 0
local_addr = ::
R3INIT: use extended init options
timeout = 20
keepalive_timeout = 300
export_trace = 0
start_type = 1
start cmd = /bin/rsh
net_protocol = 0
local_addr = ::
GwBufInit: initialize buffer info for conn 6
R3ALLC(31510798, cpic_vector=1, ..)
I am the client (0)
GwISearchSystem: check new tp >sapgw00<
GwFoundSysAddr: found addr
GwListInsert: insert elem 6 into conn_search_list (at begin)
GwListInsert: 1 elems in conn_search_list
GwISendConnReq: TP: >sapdp00<
GwISendConnReq: try to connect to service sapgw00
GwGetFreeSysid: sys 178 free
GwIAllocMemForLU_TP: 468 bytes for sys 178 allocated
GwListRemove: remove elem 178 from sys_free_list
GwListRemove: 289 elems in sys_free_list
GwListInsert: insert elem 178 into sys_inuse_list (at begin)
GwListInsert: 11 elems in sys_inuse_list
GwISendConnReq: server_idx/act_sys: 178/11
GwInsertSysAddr: inserted sys addr = 172.20.48.162 (1)
GwListInsert: insert elem 178 into sys_r3_list (at begin)
GwListInsert: 2 elems in sys_r3_list
NiHsLGetHostName: found address 172.20.48.162 in cache
NiIGetHostName: addr 172.20.48.162 = hostname '<sapbw>'
GwIAsyncConn: connect to gateway <sapbw> / sapgw00
NiHsLGetNodeAddr: found hostname '<sapbw>' in cache
NiIGetNodeAddr: hostname '<sapbw>' = addr 172.20.48.162
NiHsLGetServNo: found service name 'sapgw00' in cache
NiIGetServNo: servicename 'sapgw00' = port 0C.E4/3300
NiICreateHandle: hdl 28 state NI_INITIAL
NiIInitSocket: set default settings for new hdl 28 / sock 40 (I4; ST)
NiIBlockMode: set blockmode for hdl 28 FALSE
NiIConnectSocket: connection of hdl 28 to 172.20.48.162:3300 in progress (timeout=0)
NiIConnect: hdl 28 took local address 192.168.16.25:53031
NiIConnect: state of hdl 28 NI_CONN_WAIT
GwIConnectWithRemGw: timeout during GwIAsyncConn
GwSaveExtInfo: 0x100cec250 for ext info (496 bytes)
GwSelSet: set RW- (0x100b51050) for hdl 28
GwReadReqIndex: (process_id: -1)
GwReadReqIndex: no filled request-index-block
GwCheckClient: check clients
GwCheckClient: actual time stamp is 343038983
GwCheckClient: start_of_waiting stamp = 342822381
GwCheckClient: 1 clients still waiting for answers
GwCheckPollValue()
GwCheckPollValue: waiting client(s) (GW_COMM_CLIENTS_WAITING)
GWRD LOOP **********
I'm in GwReceive
Fri Dec 4 12:02:42 2009
NiSelISelectInt: 0 handles selected (0 buffered)
GwIRegSchedule()
GwICheckConv()
GwICheckConv: check conn 6
R3ALLC(31510798, cpic_vector=1, ..)
GwISearchSystem: connection to server 172.20.48.162 / sapdp00 in state CONN_PENDING
GwCheckCounter: check counter
GwCheckPollValue()
GwCheckPollValue: waiting client(s) (GW_COMM_CLIENTS_WAITING)
GwReadReqIndex: (process_id: -1)
GwReadReqIndex: no filled request-index-block
GwCheckClient: check clients
GwCheckClient: actual time stamp is 343543140
GwCheckClient: start_of_waiting stamp = 342822381
LOCK APPC ca_blk 7
GwCheckClient: timeout, rq/uid/mode/conv ID/comm_idx: 203/1282/0/17621698/13
GwSendRcToDp: send appc_rc/sap_rc 10001/221 to dp
GwIsAWaitingSWP: wp 0 waiting
GwSapWpWakeUp: send answer to sap wp 0
GwSapWpWakeUp: make wp 0 owner of appc_ca_blk 7
-OUT- tid -1 uid -1 mode 255
-OUT- appc_ca_blk 7 len 80 rq_id 12639
-OUT- wait_f_answ 0 cmd 0
NiIWrite: hdl 9 sent data (wrt=28,pac=1,MESG_IO)
GwListRemove: remove elem 13 from comm_wait_list
GwListRemove: 0 elems in comm_wait_list
GwCheckClient: no more clients waiting for answers -
Dear Gurus,
We had a prob in our BW system i.e system was down for a moment and comes back automatically.In transaction SM 21 the error displays as
Message server disconnected
SAP gateway was closed
I am alo attach the trace logs here (dev_rd)
27.05.2009 RSTR0006: Display Developer Traces 1
trc file: "dev_rd", trc level: 1, release: "700"
Wed May 27 06:01:18 2009
***LOG S00=> GwInitReader, gateway started ( 1724444) [gwxxrd.c 1757]
systemid 324 (IBM RS/6000 with AIX)
relno 7000
patchlevel 0
patchno 167
intno 20050900
make: single threaded, ASCII, 64 bit, optimized
pid 1724444
gateway runs with dp version 240(ext=110) (@(#) DPLIB-INT-VERSION-240)
gateway (version=700.2008.06.23)
Wed May 27 06:01:19 2009
gw/local_addr : 0.0.0.0
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
Wed May 27 06:01:20 2009
CCMS: Checking Downtime Configuration of Monitoring Segment.
Bind service sapgw02 (socket) to port 3302
GwPrintMyHostAddr: my host addresses are :
1 : [20.60.111.30] bascop11 (HOSTNAME)
2 : [127.0.0.1] loopback (LOCALHOST)
3 : [192.168.17.11] basaix11boot1 (NILIST)
4 : [20.60.111.31] basaix11 (NILIST)
5 : [192.168.23.16] 192.168.23.16 (NILIST)
6 : [20.60.113.20] 20.60.113.20 (NILIST)
7 : [192.168.17.139] basaix11boot2 (NILIST)
8 : [192.168.23.144] basaix11mboot2 (NILIST)
9 : [20.60.113.145] bascop11b (NILIST)
Full qualified hostname = bascop11.basell.com
DpSysAdmExtCreate: ABAP is active
DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
Wed May 27 06:01:46 2009
DpShMCreate: sizeof(wp_adm) 30200 (1208)
DpShMCreate: sizeof(tm_adm) 5283968 (26288)
DpShMCreate: sizeof(wp_ca_adm) 120064 (60)
DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/548040/548048
DpShMCreate: sizeof(comm_adm) 548048 (1088)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1616)
DpShMCreate: sizeof(wall_adm) (22440/36712/56/104)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 7000000000ab000, size: 6054984)
DpShMCreate: allocated sys_adm at 7000000000ab000
DpShMCreate: allocated wp_adm at 7000000000acc30
DpShMCreate: allocated tm_adm_list at 7000000000b4228
DpShMCreate: allocated tm_adm at 7000000000b4288
DpShMCreate: allocated appc_ca_adm at 7000000005db808
DpShMCreate: allocated comm_adm at 7000000005dcf78
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 700000000662c48
DpShMCreate: allocated gw_adm at 700000000662cc8
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 700000000662cf8
MtxInit: -2 0 0
Wed May 27 06:01:54 2009
GwDpInit: attached to gw_adm at 700000000662cc8
Wed May 27 06:10:42 2009
***LOG Q0I=> NiPConnect2: connect (78: Connection timed out) [nixxi.cpp 2823]
ERROR => NiPConnect2: SiPeekPendConn failed for hdl 20 / sock 31
(SI_ECONN_REFUSE/78; I4; ST; 20.60.111.105:3300) [nixxi.cpp 2823]
LOCATION SAP-Gateway on host bascop11 / sapgw02
ERROR partner '20.60.111.105:sapgw00' not reached*
TIME Wed May 27 06:10:42 2009*
RELEASE 700*
COMPONENT NI (network interface)*
VERSION 38*
RC -10*
MODULE nixxi.cpp*
LINE 2823*
DETAIL NiPConnect2*
SYSTEM CALL connect*
ERRNO 78*
ERRNO TEXT Connection timed out*
COUNTER 34**
GwTraceHdlInfo:
HANDLE = 20
TIME = Wed May 27 06:09:27 2009
SOCKET = 31
STAT = NI_CONN_WAIT
TYPE = STREAM IPv4
OUT = 0 messages 0 bytes
IN = 0 messages 0 bytes
LOCAL = -
REMOTE = -
OPTIONS = BUFFERED
ni hdl = 20
type = REM_GW
net_stat = CONNECT_TO_REM_GW_PENDING
hostaddr = 20.60.111.105
opcode = REMOTE_GATEWAY
conn opcode = NORMAL_CLIENT
conn vers = 50
index = 5
data = 0
ext_info = 11049e1d0
offset = 0
rest_len = 0
snc_forced = 0
remote gateway infos:
hostname = basxip1.basell.com
hostaddr = 20.60.111.105
service = sapgw00
tpname =
sap wp info:
tid = 20
uid = 21
mode = 0
appc_ca_blk = 67
len = 375
wp = 20
wait for answer = 1
comm_idx = 7
ERROR => GwErrToAll: mark comm_entry 8 ( ) as deallocated [gwdp.c 2641]
ERROR => GwErrToAll: mark comm_entry 7 ( ) as deallocated [gwdp.c 2641]
Wed May 27 06:12:15 2009
***LOG Q0I=> NiPConnect2: connect (78: Connection timed out) [nixxi.cpp 2823]
ERROR => NiPConnect2: SiPeekPendConn failed for hdl 26 / sock 37
(SI_ECONN_REFUSE/78; I4; ST; 134.81.30.190:3299) [nixxi.cpp 2823]
GwTraceHdlInfo:
HANDLE = 26
TIME = Wed May 27 06:11:01 2009
SOCKET = 37
STAT = NI_CONN_WAIT
TYPE = STREAM IPv4
OUT = 0 messages 0 bytes
IN = 0 messages 0 bytes
LOCAL = -
REMOTE = -
OPTIONS = BUFFERED
ni hdl = 26
type = REM_GW
net_stat = CONNECT_TO_REM_GW_PENDING
hostaddr = ::
opcode = REMOTE_GATEWAY
conn opcode = NORMAL_CLIENT
conn vers = 68
index = 7
data = 0
ext_info = 11049f4d0
offset = 0
rest_len = 0
snc_forced = 0
remote gateway infos:
hostname(route) = /H/134.81.30.190/S/sapdp99/H/147.204.2.5/S/sapdp99/H/oss001
sap wp info:
tid = 21
uid = 22
mode = 0
appc_ca_blk = 69
len = 1521
wp = 21
wait for answer = 1
comm_idx = 7
ERROR => GwErrToAll: mark comm_entry 7 ( ) as deallocated [gwdp.c 2641]
Wed May 27 06:27:41 2009
GwIFreeDiscConn: delete conversation 22058553 (conn=2) in state DISCONNECT
Kindly suggest us what was the exact prob as it seems that this was due to the N/W related issue but we are not confirm about this.
Thanks in advance.Thanks Rohit for your prompt Reply
Pls find the logs (dev_w0) as per below:-
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
M sysno 02
M sid EBW
M systemid 324 (IBM RS/6000 with AIX)
M relno 7000
M patchlevel 0
M patchno 169
M intno 20050900
M make: single threaded, ASCII, 64 bit, optimized
M pid 671770
M
M
M Wed May 27 06:01:17 2009
M kernel runs with dp version 240(ext=110) (@(#) DPLIB-INT-VERSION-240)
M length of sys_adm_ext is 364 bytes
M
M Wed May 27 06:01:18 2009
M ***LOG Q01=> ThInit, WPStart (Workproc 0 1 671770) [thxxhead.c 1286]
M ThInit: running on host bascop11
M calling db_connect ...
C Got LIBPATH=/usr/sap/EBW/SYS/exe/run:/opt/CA/CAlib:/opt/CA/SharedComponents/lib:/usr/sap/EBW/SYS/exe/run:/oracle/client/10x_64/in
C Oracle Client Version: '10.2.0.2.0'
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPR3's password
C Connecting as /@EBW on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 1128a2220 1128ad938 1128ad1e8
C Attaching to DB Server EBW (con_hdl=0,svchp=1128aac38,srvhp=1128afc98)
C
C Wed May 27 06:01:19 2009
C Starting user session (con_hdl=0,svchp=1128aac38,srvhp=1128afc98,usrhp=1128aa040)
C Now '/@EBW' is connected (con_hdl 0, nls_hdl 0).
C Got SAPR3's password from OPS$-user
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=1128aac38,usrhp=1128aa040)
C Now I'm disconnected from ORACLE
C Connecting as SAPR3/<pwd>@EBW on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 1128a2220 1128ad938 1128ad1e8
C Starting user session (con_hdl=0,svchp=1128aac38,srvhp=1128afc98,usrhp=1128aa040)
C Now 'SAPR3/<pwd>@EBW' is connected (con_hdl 0, nls_hdl 0).
C Database NLS settings: AMERICAN_AMERICA.WE8DEC
C DB instance EBW is running on bascop11 with ORACLE version 10.2.0.2.0 since MAY 27, 2009, 06:00:16
B
B Wed May 27 06:01:20 2009
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20090527 060118 bascop11
M db_connect o.k.
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip
I
I Wed May 27 06:01:46 2009
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 700004040000000, size: 20000000)
M SHM_ROLL_AREA (addr: 700004050000000, size: 134217728)
M SHM_PAGING_AREA (addr: 700004060000000, size: 67108864)
M SHM_ROLL_ADM (addr: 700000005e78000, size: 2672386)
M SHM_PAGING_ADM (addr: 700004070000000, size: 656416)
M ThCreateNoBuffer allocated 324144 bytes for 1000 entries at 700004080002000
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 7040 bytes (50 server) at 700000006106000
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X EM/TOTAL_SIZE_MB = 262144
B dbntab: NTAB buffers attached
B dbntab: Buffer FTAB(hash header) (addr: 700004080053088, size: 504)
B dbntab: Buffer FTAB(anchor array) (addr: 700004080053280, size: 480104)
B dbntab: Buffer FTAB(item array) (addr: 7000040800c85e8, size: 1920000)
B dbntab: Buffer FTAB(data area) (addr: 70000408029d1e8, size: 30720000)
B dbntab: Buffer IREC(hash header) (addr: 700004081feb088, size: 504)
B dbntab: Buffer IREC(anchor array) (addr: 700004081feb280, size: 480104)
B dbntab: Buffer IREC(item array) (addr: 7000040820605e8, size: 480000)
B dbntab: Buffer IREC(data area) (addr: 7000040820d58e8, size: 6144000)
B dbntab: Buffer STAB(hash header) (addr: 7000040826b3088, size: 504)
B dbntab: Buffer STAB(anchor array) (addr: 7000040826b3280, size: 480104)
B dbntab: Buffer STAB(item array) (addr: 7000040827285e8, size: 480000)
B dbntab: Buffer STAB(data area) (addr: 70000408279d8e8, size: 3072000)
B dbntab: Buffer TTAB(hash header) (addr: 700004082a8d088, size: 3104)
B dbntab: Buffer TTAB(anchor array) (addr: 700004082a8dca8, size: 480104)
B dbntab: Buffer TTAB(item array) (addr: 700004082b03010, size: 1200000)
B dbntab: Buffer TTAB(data area) (addr: 700004082c27f90, size: 5640000)
B db_con_shm_ini: WP_ID = 0, WP_CNT = 25, CON_ID = -1
B dbstat: TABSTAT buffer attached (addr: 7000040a000bb90)
B dbtbxbuf: Buffer TABL (addr: 7000040b0000100, size: 50000000, end: 7000040b2faf180)
B dbtbxbuf: Buffer TABLP (addr: 7000000087da100, size: 20480000, end: 700000009b62100)
B dbexpbuf: Buffer EIBUF (addr: 700000009b64108, size: 40960000, end: 70000000c274108)
B dbexpbuf: Buffer ESM (addr: 7000040c0000108, size: 204800000, end: 7000040cc350108)
B dbexpbuf: Buffer CUA (addr: 70000408318e108, size: 5120000, end: 700004083670108)
B dbexpbuf: Buffer OTR (addr: 7000040d0000108, size: 4194304, end: 7000040d0400108)
B dbcalbuf: Buffer CALE (addr: 70000000c276000, size: 500000, end: 70000000c2f0120)
M CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
S
S Wed May 27 06:01:48 2009
S *** init spool environment
S initialize debug system
T Stack direction is downwards.
T debug control: prepare exclude for printer trace
T new memory block 112bc2e90
S
S Wed May 27 06:01:49 2009
S spool kernel/ddic check: Ok
S using table TSP02FX for frontend printing
S 1 spool work process(es) found
S frontend print via spool service enabled
S printer list size is 150
S printer type list size is 50
S queue size (profile) = 300
S hostspool list size = 3000
S option list size is 30
S found processing queue enabled
S found spool memory service RSPO-RCLOCKS at 700004083672060
S doing lock recovery
S setting server cache root
S found spool memory service RSPO-SERVERCACHE at 7000040836726e8
S using messages for server info
S size of spec char cache entry: 165024 bytes (timeout 100 sec)
S size of open spool request entry: 1248 bytes
S immediate print option for implicitely closed spool requests is disabled
A
A Wed May 27 06:01:50 2009
A
A PXA
A PXA IN ITIALIZATION
A PXA: Locked PXA-Semaphore.
A System page size: 4kb, total admin_size: 45276kb, dir_size: 22552kb.
A Attached to PXA (address 7000040e0000000, size 800000K, 2 fragments of 377364K )
A abap/pxa = shared unprotect gen_remote
A PXA INITIALIZATION FINISHED
A PXA
A
A
A Wed May 27 06:01:51 2009
A ABAP ShmAdm attached (addr=700003f403ad000 leng=20955136 end=700003f417a9000)
A >> Shm MMADM area (addr=700003f407792f0 leng=261120 end=700003f407b8ef0)
A >> Shm MMDAT area (addr=700003f407b9000 leng=16711680 end=700003f417a9000)
A RFC Destination> destination bascop11_EBW_02 host bascop11 system EBW systnr 2 (bascop11_EBW_02)
A RFC Options> H=bascop11,S=02,d=1,
A RFC FRFC> fallback activ but this is not a central instance.
A
A RFC rfc/signon_error_log = -1
A RFC rfc/dump_connection_info = 0
A RFC rfc/dump_client_info = 0
A RFC rfc/cp_convert/ignore_error = 1
A RFC rfc/cp_convert/conversion_char = 23
A RFC rfc/wan_compress/threshold = 251
A RFC rfc/recorder_pcs not set, use defaule value: 1
A RFC rfc/delta_trc_level not set, use default value: 0
A RFC rfc/no_uuid_check not set, use default value: 0
A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
A RFC Method> initialize RemObjDriver for ABAP Objects
M
M Wed May 27 06:01:52 2009
M ThrCreateShObjects allocated 51666 bytes at 70000000c8ac000
N SsfSapSecin: putenv(SECUDIR=/usr/sap/EBW/DVEBMGS02/sec): ok
N
N =================================================
N === SSF INITIALIZATION:
N ===...SSF Security Toolkit name SAPSECULIB .
N ===...SSF trace level is 0 .
N ===...SSF library is /usr/sap/EBW/SYS/exe/run/aix-5.1.0-64/libsapcrypto.o .
N ===...SSF hash algorithm is SHA1 .
N ===...SSF symmetric encryption algorithm is DES-CBC .
N
N Wed May 27 06:01:53 2009
N ===...completed with return code 5.
N =================================================
N
N Wed May 27 06:01:54 2009
N MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
N MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
M JrfcVmcRegisterNativesDriver o.k.
W =================================================
W === ipl_Init() called
B dbtran INFO (init_connection '<DEFAULT>' [ORACLE:700.08]):
B max_blocking_factor = 5, max_in_blocking_factor = 5,
B min_blocking_factor = 5, min_in_blocking_factor = 5,
B prefer_union_all = 0, prefer_join = 0,
B prefer_fix_blocking = 0, prefer_in_itab_opt = 1,
B convert AVG = 0, alias table FUPD = 0,
B escape_as_literal = 1, opt GE LE to BETWEEN = 0,
B select * =0x0f, character encoding =SBCS / <none>:-,
B use_hints = abap->1, dbif->0x1, upto->2147483647, rule_in->0,
B rule_fae->0, concat_fae->0, concat_fae_or->0
W ITS Plugin: Path dw_gui
W ITS Plugin: Description ITS Plugin - ITS rendering DLL
W ITS Plugin: sizeof(SAP_UC) 1
W ITS Plugin: Release: 700, [7000.0.169.20050900]
W ITS Plugin: Int.version, [33]
W ITS Plugin: Feature set: [16]
W ===... Calling itsp_Init in external dll ===>
W === ipl_Init() returns 0, ITSPE_OK: OK
W =================================================
N VSI: WP init in ABAP VM completed with rc=0
E Replication is disabled
E EnqCcInitialize: local lock table initialization o.k.
E EnqId_SuppressIpc: local EnqId initialization o.k.
E EnqCcInitialize: local enqueue client init o.k.
S
S Wed May 27 06:01:55 2009
S server bascop11_EBW_02 appears or changes (state 1)
S server bascop11_EBW_02 appears or changes (state 1)
M
M Wed May 27 06:02:06 2009
M SosICreateNewAnchorArray: sos_search_anchor_semantics = 1
M
M Wed May 27 06:02:23 2009
M SecAudit(RsauShmInit): WP attached to existing shared memory.
M SecAudit(RsauShmInit): addr of SCSA........... = 700000020000000
M SecAudit(RsauShmInit): addr of RSAUSHM........ = 700000020000450
M SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 700000020000488
M SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 700000020000494
B -
Deploying SAPUI5 applications on SAP Gateway as the application server
Hi,
We are just trying to ramp up on Fiori architecture and utilizing SAP netweaver gateway in combination with SAPUI5 to build new generation user interfaces.
Most of the demos and tutorials I see involve utilizing the SAP netweaver gateway as the oData services provider with the UI components hosted on a separate web server like Apache. Looking at Fiori apps, it looks like they utilize the SAP gateway as the web server itself, without having the need of a separate web server.
Are there some instructions and guidelines for porting a SAPUI5 UI application (UI components) on to the SAP Netweaver gateway, similar to how Fiori does?
thanks,
NitinHi Neeta,
You would need to consider additional factors to make that decision. Primary of which is what is the landscape being used by your customer. You have to consider things like how the users will access the app? What would be the security and authentication mechanism? Would you need reverse proxies or load balancing? Does the customer already have an existing infrastructure for web based applications which you should plug into?
First off, I will assume you have a NW Gateway system in place for the services that are being used by the SAPUI5 app. If that is the case, then you can certainly deploy the UI app on the same server. The process described in the blog above would end up creating a BSP application, which can then be captured in a transport and moved to QA/Production.
On the other hand, if your customer has already has an existing infrastructure for hosting and serving up Web based applications, you may want to leverage that existing infrastructure instead.
You can get in touch with me if you would like to discuss further.
thanks,
Nitin -
Registering a program on the SAP gateway
Hi All
I have to setup an interface to an external application from SAP using ALE and IDocs. The external application needs to register an instance on the SAP gateway server. If this is complete then you only need to setup an RFC connection with a programID (The ID that is used in the gateway instance) and it will allow a connection between SAP and the external application.
The problem I am having is that I dont know how to register the external application on the SAP gateway. Can anyone help me with this problem?
Thank you.Hi,
the below blogs may help you
Program ID in RFC destination-XI
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
- Satish -
Error while installing SAP Gateway
Hi,
I am getting the following error while installing SAP Gateway.
INFO 2009-09-24 06:11:18.815
Execute step stopInstance of component |NW_Gateway|ind|ind|ind|ind|0|0|NW_GW_Instance|ind|ind|ind|ind|7|0|NW_Instance|ind|ind|ind|ind|0|0
INFO 2009-09-24 06:11:19.238
Creating file C:\Program Files\sapinst_instdir\NW04S\STANDALONE\GW\stop_QAS_G00.log.
ERROR 2009-09-24 06:11:19.238
FSL-06002 Error 216 (Unknown, try 'net helpmsg <Nr>') in execution of a 'CreateProcess' function, line (310), with parameter (E:\usr\sap\QAS\SYS\exe\nuc\NTI386\stopsap.exe ...).
ERROR 2009-09-24 06:11:19.238
MUT-03025 Caught ESyException in Modulecall: ESAPinstException: error text undefined.
ERROR 2009-09-24 06:11:19.253
FCO-00011 The step stopInstance with step key |NW_Gateway|ind|ind|ind|ind|0|0|NW_GW_Instance|ind|ind|ind|ind|7|0|NW_Instance|ind|ind|ind|ind|0|0|stopInstance was executed with status ERROR ( Last error reported by the step :Caught ESyException in Modulecall: ESAPinstException: error text undefined.).
Regards,
RajivHi Sunny,
This installation is being done on windows.
The logs are
Preprocess of component |NW_Gateway|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0
INFO 2009-09-24 06:11:18.643
Copied file 'C:/Program Files/sapinst_instdir/NW04S/STANDALONE/GW/keydb.xml' to 'C:/Program Files/sapinst_instdir/NW04S/STANDALONE/GW/keydb.2.xml'.
INFO 2009-09-24 06:11:18.784
Copied file 'C:/Program Files/sapinst_instdir/NW04S/STANDALONE/GW/statistic.xml' to 'C:/Program Files/sapinst_instdir/NW04S/STANDALONE/GW/statistic.5.xml'.
INFO 2009-09-24 06:11:18.815
Execute step stopInstance of component |NW_Gateway|ind|ind|ind|ind|0|0|NW_GW_Instance|ind|ind|ind|ind|7|0|NW_Instance|ind|ind|ind|ind|0|0
INFO 2009-09-24 06:11:19.238
Creating file C:\Program Files\sapinst_instdir\NW04S\STANDALONE\GW\stop_QAS_G00.log.
ERROR 2009-09-24 06:11:19.238
FSL-06002 Error 216 (Unknown, try 'net helpmsg <Nr>') in execution of a 'CreateProcess' function, line (310), with parameter (E:\usr\sap\QAS\SYS\exe\nuc\NTI386\stopsap.exe ...).
Regards,
Rajiv -
SAP_CMINIT3 : rc=20 Connect to SAP gateway failed when connecting SAP CR
Dear SAP Gurus,
I have the follwowing issue when I try to access SAP Crystal Reports 2011 on my desktop.
I can access the SAP ERP 6.0 back-end system without problem, but when I try to connect to SAP Crystal Reports, as soon as I enter my login details, I get the following error message:
Logon Failed.
Details: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=192.12.353.12, GWSERV=sapgw00, SYSNR=00
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner 192.12.353.12:3300' not reached
TIME Thu Oct 27 12:02:17 201
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2823
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10060
ERRNO TEXT WSAETIMEDOUT: Connection timed out
COUNTER 3
I can login to SAP Crystal Reports using other desktops, but cannot access using my own. This is the same for other people, they also cannot access using my desktop.
Thanks in advance, MarcHI Mark,
Are you and Ramish working together?
See this post for your answer: Connection keeps failing
Don -
SharePoint 2013 and SAP connectivity / SAP Gateway for Microsoft and Duet Enterprise 2.0
Hello,
we are investigating the connection possibilities of SharePoint 2013 with SAP.
The basic scenario in our cases involves the transfer of documents and/or metadata from SharePoint to SAP possibly through a Workflow in SharePoint.
From my research the most promising official (no 3d-party) interfaces that can be used are the Duet Enterprise 2.0 and the SAP Gateway for Microsoft.
From my understanding both interfaces allow only the consumption of Data from SAP to SharePoint and not vice versa. Moreover the interoperability of documents seems not be supported. Are CRUD operations from a SharePoint native lists to SAP supported?
Can someone please clarify this topics?
I have found lots of documentation concerning the interfaces but not a clear answer to this questions.
Many thanks in advance!
IoannisHi Ioannis,
It seems that there is no built in method to get data from SharePoint list in SAP.
As a workaround, we can export SharePoint list to excel and then use that spread sheet as a source data in SAP.
http://scn.sap.com/thread/3467263
http://scn.sap.com/thread/3472110
As this issue is regarding to SAP, I recommend you to ask the question in the SAP:
http://scn.sap.com/welcome.
More experts will assist you, then you will get more information relation to SAP.
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support -
Sol Man 4.0 Installation Error ECJS-30196 Connect to SAP gateway failed
Hi Experts
I am trying to install Solution Manager 4.0.
While installing SolMan, everything goes fine, until step # 31 create java users (creating SAP Jsf user), then it runs into below error messages.
CJS-30196 Connect to SAP gateway failedConnect_PM TYPE=A ASHOST=solman SYSNR=23 GWHOST=solman GWSERV=sapgw23 PCS=1LOCATION CPIC (TCP/IP) on local host with UnicodeERROR partner 'solman:sapgw23' not reachedTIME Mon Aug 13 17:44:59 2007RELEASE 700COMPONENT NI (network interface)VERSION 38RC -10MODULE nixxi.cppLINE 2770DETAIL NiPConnect2SYSTEM CALL connectERRNO 10061ERRNO TEXT WSAECONNREFUSED: Connection refusedCOUNTER 1
FCO-00011 The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|3|0|createJSF was executed with status ERROR .
CJS-30196 Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=solman SYSNR=23 GWHOST=solman GWSERV=sapgw23 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR timeout occured
TIME Mon Aug 13 17:17:35 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -5
MODULE gwxx.c
LINE 480
DETAIL timeout 60000 msecs
SYSTEM CALL NiRead
COUNTER 1
Any suggestions/ideas for this error
Regards
RahulHi Experts
I am trying to install Solution Manager 4.0.
While installing SolMan, everything goes fine, until step # 31 create java users (creating SAP Jsf user), then it runs into below error messages.
CJS-30196 Connect to SAP gateway failedConnect_PM TYPE=A ASHOST=solman SYSNR=23 GWHOST=solman GWSERV=sapgw23 PCS=1LOCATION CPIC (TCP/IP) on local host with UnicodeERROR partner 'solman:sapgw23' not reachedTIME Mon Aug 13 17:44:59 2007RELEASE 700COMPONENT NI (network interface)VERSION 38RC -10MODULE nixxi.cppLINE 2770DETAIL NiPConnect2SYSTEM CALL connectERRNO 10061ERRNO TEXT WSAECONNREFUSED: Connection refusedCOUNTER 1
FCO-00011 The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|3|0|createJSF was executed with status ERROR .
CJS-30196 Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=solman SYSNR=23 GWHOST=solman GWSERV=sapgw23 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR timeout occured
TIME Mon Aug 13 17:17:35 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -5
MODULE gwxx.c
LINE 480
DETAIL timeout 60000 msecs
SYSTEM CALL NiRead
COUNTER 1
Any suggestions/ideas for this error
Regards
Rahul -
Hi,
I would like to lock record in sap from portal. I'm using function HR_ENQUEUE_OBJECT but it not function properly in portal. Kindly help me on this. Thanks.Hi,
If you want lock / unlock the Employee Data's use below
FM, may be it will work
HR_EMPLOYEE_DEQUEUE
HR_EMPLOYEE_ENQUEUE
Thnx
Suriya -
RFC logon failed with message: Failed: Connect to SAP gateway failed
I installed CI instance fine and i am stopped here with this error at the end of DB instance install. Could someone let me know what could be the reason for this. Is there any fix or workaround to continue the install.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
CAbRfcImpl::setRfcConnectParam
RFC parameter ASHOST set to value hostSAP.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
CAbRfcImpl::setRfcConnectParam
RFC parameter SYSNR set to value 09.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:543]
CAbRfcImpl::checkConnectInfo
RFC connection information checked successfully.
ERROR 2006-09-16 01:13:02 [iaxxrfcimp.cpp:450]
CAbRfcImpl::openRfcConn
FRF-00007 Unable to open RFC connection.
ERROR 2006-09-16 01:13:02
CJSlibModule::writeError_impl()
FRF-00063 RFC logon failed with message: Failed: Connect to SAP gateway failed
Connect_PM GWHOST=hostSAP, GWSERV=sapgw09, ASHOST=hostSAP, SYSNR=09
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host hostSAP, service 3309)
TIME Sat Sep 16 01:13:02 2006
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r_mt.cpp
LINE 8528
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 146
ERRNO TEXT Connection refused
COUNTER 4
Thanks,
Ramat the end of the database instance installation SAPInst is doing some RFCs to the CI.
The logfile states that the gateway on host hostSAP with the systemnumber 09 is not reachable.
Please check if you have started the central instance on this machine.
peter
Maybe you are looking for
-
External Hard Drive Input/Output error
I recently started having problems with an external hard drive setup that I did not have problems with prior to upgrading to 10.5.5 and trying to setup the drive to be compatible with Time Machine. The hard drive enclosure that I have has 2 bays for
-
How to grey out column in NewForm.aspx
Good morning, I have created a custom list. In this list, I have a Drop-Down Column with various options and also a Text Column. What I am hoping to achieve is that if, for example, if Choice 3 is selected from the drop-down column, then the Text C
-
SpaceX seeking full-time LabVIEW programmer to join Texas team!
Please email [email protected] for more info. General Description below... The Company SpaceX is a US based space technology company founded by its residing CEO and CTO, Elon Musk, the former co-founder of PayPal. The company's goal is to re
-
Trying to help a friend read a .docx or .txt using an iphone4
I'm chatting with someone online and she can't view a .docx of .txt file on her iphone 4. She says she gets a blank page. I'm using a iphone version 6.1 and can open both easily. Any ideas?
-
I tried to seek help on this forum, under an earlier thread 'Russian in DeskI'. That time it was with BO DeskI 6.5.1. Now we have DeskI XI 3.1 installed, yet the problems are very similar. Will appreciate active help (callback) from SAP/BO on this, a