Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPEVT.EXE - MSOP_ACCESS_DENIED

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

replied

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

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question