cancel
Showing results for 
Search instead for 
Did you mean: 

SAPEVT.EXE - MSOP_ACCESS_DENIED

Former Member
0 Kudos

Hello,

I try to run a event with this command line :

sapevt.exe SAP_ORTEMS_MATMAS name=DE1 mshost=srvdev2 msserv=3600 nr=00

but in file dev_evt, i got this error message :

....

NiBufReceive starting

<<< NiBufISelUpdate: hdl 1(0, SAP_O_K)

MsINiRead: received 114 bytes

MsIReceive: received msg (ms hdr/msg 110/4 bytes), flag 3, from MSG_SERVER          , typ 0, key -

Received 4 bytes from MSG_SERVER                             

Received opcode MS_DUMP_INFO from msg_server, reply MSOP_ACCESS_DENIED

MsOpReceive:

Received opcode MS_DUMP_INFO failed, reason MSOP_ACCESS_DENIED

Wed Sep 09 16:50:04 2015

MsDump : failed MSOP_ACCESS_DENIED (5)

*** ERROR ***: Get message server parameters, rc = 5

For information :

- this command line working nicely on our old system (470), but in our new system (ECC6 EHP7) we have this error.

- mshost=srvdev2 = sap -> tcode RZ11 -> rdisp/mshost -> SRVDEV2

- msserv=3600 = sap -> tcode RZ11 -> rdisp/msserv -> sapmsDE1 -> C:\Windows\System32\drivers\etc\services -> sapmsDE1  3600/tcp # SAP System Message Port

Accepted Solutions (1)

Accepted Solutions (1)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

ECC6 EHP7 would be using the kernel 74x.

Are you using the sapevt program from kernel 74x to connect to the Message Server?

Read the SAP note 2000417.

Regards,

Isaías

Former Member
0 Kudos

For the last test, the program i am using is on the SAP server itself, on  :

e:\usr\sap\DE1\SYS\exe\run\rfcexec.exe

This file properties show a product version 742 patch 101

http://inoujk.free.fr/tempor/sap/SNAG-661.jpg

For the SAP note 2000417, i've download the PDF but i'm not sure to understand.

I try to use the program "sapevt_rfc.exe" with the help of http://service.sap.com/sap/support/notes/2015788, like this :

- I create a file E:\usr\sap\DE1\SYS\exe\run\sapnwrfc.ini with :

DEST=DE1

MSHOST=srvdev2

MSSERV=3600

CLIENT=000

USER=<my sap username>

PASSWD=<my sap password>

LANG=fr

- my command line :

sapevt_rfc.exe -dest DE1 -eventid SAP_ORTEMS_MATMAS

- the result in file dev_evtrfc :

******* Complete Call: *******

sapevt_rfc.exe

-dest

DE1

-eventid

SAP_ORTEMS_MATMAS

******* End of Call *******

no error, but nothing happen on the server..

Former Member
0 Kudos

ok, i got the answer.

On a server who will run "sapevt_rfc.exe", check if you have this file (you can get it from a computer with sap gui installed) :

C:\Users\<uname>\AppData\Roaming\SAP\Common\saplogon.ini

create a folder with only this files (files can be found on your SAP server on \usr\sap\DE1\SYS\exe\run\ 😞

sapevt_rfc.exe

sapnwrfccm.dll

create a batch file sapevt_rfc.bat with :

sapevt_rfc.exe -dest DE1 -eventid SAP_ORTEMS_MATMAS

create a file sapnwrfc.ini :

RFC_TRACE_TYPE=PROCESS

DEST=DE1

MSHOST=srvdev2

GROUP=SPACE

MSSERV=3600

CLIENT=600

USER=<my user name>

PASSWD=<my password>

LANG=FR

In details :

RFC_TRACE_TYPE=PROCESS

  is for create a file "dev_rfc.trc" with detail of the problems

DEST=DE1

  is the name from the command line after "-dest"

MSHOST=srvdev2

  is the server name

GROUP=SPACE

  can be found in t-code "smlg"

MSSERV=3600

  tcode RZ11 -> rdisp/msserv -> sapmsDE1 -> C:\Windows\System32\drivers\etc\services -> sapmsDE1  3600/tcp # SAP System Message Port

CLIENT=600

  is the mandant

USER=<my user name>

PASSWD=<my password>

LANG=FR

  is the connexion language

and now run the file sapevt_rfc.bat and it work

Answers (0)