cancel
Showing results for 
Search instead for 
Did you mean: 

how to configure sap maxdb client to connect to SAP ERP system (SAP HR)

Former Member
0 Kudos

Hello all,

I am currently installing live cache for SAP ERP HR application(Idoc), can anybody tell me the sequence to proceed to configure SAP livecache with SAP ERP system. i am doing following steps

1. Install SAP DB using installation MAXDB CDs

2. Install SAP Livecache and standalone server SCM 5.0 using SAP ERP master and Livecache dvds.

3. install Livecache client fromSAP ERP master and livecache dvds between SAP ERP and livecache server.

4. configure in LC10, tcode.

but when i press on livecache monitoring in LC10 it gives me following error.

Command: DBMRFC

Parameter: -gsapfive -xsapgw00

SY-SUBRC: 8

Return Code

sap maxdb client

Accepted Solutions (1)

Accepted Solutions (1)

adrian_dorn
Active Participant
0 Kudos

Perform the connection test in transaction DB59 marking the line "LCA". The output of the connection test will give you hints on the problem.

Former Member
0 Kudos

Thanks Adrian

i have following setup in DB59

LCA(name) liveCache(DB type) L00(Database name) L00host\L00(database server) X(central authorization) X(Alert monitoring) (integration is check marked) 06.01.2011 17:15:46 DDIC

similar for LDA and ALE setup

LDA liveCache Live Cache server LDA L00 L00host X X @01\QIntegration data complete@ 05.01.2011 12:43:53 DDIC

LEA liveCache Live Cache server LEA L00 L00host X X @01\QIntegration data complete@ 05.01.2011 12:44:43 DDIC

when i press on connection test in column Check result mouse over tell me No MAXDB Client is installaed.

Althoug i installed a client on ERP server but i havent done any configuration to connect to SAP MAxDB, do i need to do somehing in SAP ERP side or MaxDB side?

I am not sure about the same.

Mani

adrian_dorn
Active Participant
0 Kudos

This sounds like you have forgotten to mantain the Environment Variables of the OS user under which the SAP system is running. In this case you'll get the error 'No MaxDB client software installed". To fix it logon on to the application server on OS level with user-Id = <SID>ADM. Then check if PATH= contains the directory C:\sapdb\programs\bin (or similar if you have installed the client software on another drive). If it doesn't contain it, insert it manually. If your OS is UNIX/LINUX additionally check if LD_LIBRARY_PATH= contains the directory /sapdb/programs/lib. If it doesn't contain it, insert it manually. After doing these two changes and after restarting the server everything should work fine.

Former Member
0 Kudos

i tried the said things and after that i am getting following error in DB59, first three steps are successful but 4 one is failing.

Test Scope
1. Execute an external operating system command (DBMCLI)
2. Determine status using TCP/IP connection SAPDB_DBM (DBMRFC command mode)
3. Determine status using TCP/IP connection SAPDB_DBM_DAEMON (DBMRFC session mode)
4. Test the SQL connection (Native SQL at CON_NAME)
Application Server:  <hostname>_<SID>_00                           ( Windows NT )
1. Connect. test with "dbmcli db_state"                         Successful
2. Connect. test with command mode "dbmrfc db_state"            Successful
3. Connect. test with session mode "dbmrfc db_state"            Successful
4. Connect. test with "native SQL"  ( LCA )                     No connection
   SQL Code: 4008
    POS(1) Unknown user name/password combination
   For detailed information, see the developer trace for work process:            1

please see trace from file dev_rfc and dev_w0 below

log for dev_rfc

**** Trace file opened at 20110107 174356 Eastern Standard Time, SAP-REL 701,0,14 RFC-VER U 3 1016574 MT-SL
======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
Transaction program not registered                                       
ABAP Programm: SAPLARFC (Transaction: )
User: MKUMAR (Client: 800)
Destination: IDOCTEST (handle: 2, , )
SERVER> RFC Server Session (handle: 1, 45030386, {9BAF1AE0-E29B-F1A3-9406-0019B9E204CC})
SERVER> Caller host: 
SERVER> Caller transaction code:  (Caller Program: SAPLQOWK)
SERVER> Called function module: ARFC_RUN_NOWAIT
Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
Transaction program not registered                                       
DEST =IDOCTEST
HOST =%%RFCSERVER%%
PROG =IDOCTEST

Log from dev_w0

A  RFC 1485  CONVID 47150684i tried the said things and after that i am getting following error in DB59, first three steps are successfuk but 4 one is failing 
trace from file dev_rfc is below
**** Trace file opened at 20110107 174356 Eastern Standard Time, SAP-REL 701,0,14 RFC-VER U 3 1016574 MT-SL
======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
Transaction program not registered                                       
ABAP Programm: SAPLARFC (Transaction: )
User: ABC (Client: 800)
Destination: IDOCTEST (handle: 2, , )
SERVER> RFC Server Session (handle: 1, 45030386, {9BAF1AE0-E29B-F1A3-9406-0019B9E204CC})
SERVER> Caller host: 
SERVER> Caller transaction code:  (Caller Program: SAPLQOWK)
SERVER> Called function module: ARFC_RUN_NOWAIT
Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
Transaction program not registered                                       
DEST =IDOCTEST
HOST =%%RFCSERVER%%
PROG =IDOCTEST
A  RFC 1485  CONVID 47150684
A   * CMRC=2 DATA=0 STATUS=0 SAPRC=679 ThSAPOCMINIT 
A  RFC> ABAP Programm: SAPLARFC (Transaction: )
A  RFC> User: abc (Client: 800)
A  RFC> Destination: IDOCTEST (handle: 2, , )
A  RFC SERVER> RFC Server Session (handle: 1, 47149684, {FDB31AE0-D203-F1C0-9406-0019B9E204CC})
A  RFC SERVER> Caller host: 
A  RFC SERVER> Caller transaction code:  (Caller Program: SAPLQOWK)
A  RFC SERVER> Called function module: ARFC_RUN_NOWAIT
A  TH VERBOSE LEVEL FULL
A  ** RABAX: end RX_GET_MESSAGE
M  
M  *****************************************************************************
M  *
M  *  LOCATION    SAP-Gateway on host <HOSTNAME> / sapgw00
M  *  ERROR       program IDOCTEST not registered
M  *
M  *  TIME        Fri Jan 07 18:15:25 2011
M  *  RELEASE     701
M  *  COMPONENT   SAP-Gateway
M  *  VERSION     2
M  *  RC          679
M  *  MODULE      gwr3cpic.c
M  *  LINE        1778
M  *  DETAIL      TP IDOCTEST not registered
M  *  COUNTER     715
M  *
M  *****************************************************************************
M  
A  RFC 1485  CONVID 47152747
A   * CMRC=2 DATA=0 STATUS=0 SAPRC=679 ThSAPOCMINIT 
A  RFC> ABAP Programm: SAPLARFC (Transaction: )
A  RFC> User: ABC (Client: 800)
A  RFC> Destination: IDOCTEST (handle: 2, , )
A  RFC SERVER> RFC Server Session (handle: 1, 47151731, {FDB31AE0-D203-F1C1-9406-0019B9E204CC})
A  RFC SERVER> Caller host: 
A  RFC SERVER> Caller transaction code:  (Caller Program: SAPLQOWK)
A  RFC SERVER> Called function module: ARFC_RUN_NOWAIT
A  TH VERBOSE LEVEL FULL
A  ** RABAX: end RX_GET_MESSAGE

Mani

adrian_dorn
Active Participant
0 Kudos

Your original problem is solved.

Your new problem is a very basic one: You have input the wrong DBA user and/or the wrong Password in LC10/DB59. The DBA user by default is SAP<SID> or SAPR3 and the Password by defautl is SAP.

Former Member
0 Kudos

Thanks a lot, i got an error after correcting this. the error was LiveCache was not Unicode enabledd. so i re-installed live cache server and client software using MaxDB Cds. then it worked fine.

Mani

Answers (0)