SAP CM Error: RFC BAPI_XMI_LOGOFF

Everything about Control-M Control Modules
Post Reply
User avatar
N4sCh3R
Nouveau
Nouveau
Posts: 4
Joined: 21 Jul 2009 12:00

SAP CM Error: RFC BAPI_XMI_LOGOFF

Post by N4sCh3R » 21 Jul 2009 1:50

Hello,

we scheduled some CM Jobs yesterday. One Job want to catch one file from our fileserver and then use it in batch.

The Job ended notok with the following message:

20/07/09 09:42:55 CS5065 ORDERED JOB:326401; DAILY FORCED, ODATE 20090720
20/07/09 09:42:57 SL5120 JOB STATE CHANGED TO Wait Time Window
20/07/09 23:00:01 SL5105 SUBMITTED TO sap_xxx
20/07/09 23:01:47 TR5080 FAILED TO SUBMIT JOB SAP_FI_XXX. Message from Agent follows
20/07/09 23:01:47 TR5167 RFC BAPI_XMI_LOGOFF - RFC_SYS_EXCEPTION, Function module "/BMCCTRL
20/07/09 23:01:47 TR5134 ENDED NOTOK
20/07/09 23:01:47 TR5120 JOB STATE CHANGED TO Analyzed
20/07/09 23:01:47 SL5120 JOB STATE CHANGED TO Post processed

At the same time we got an dump in our SAP-System ST22 with the following topic:

CALL_FUNCTION_NOT_FOUND

the functioin modul "/BMCCTRLM/CREATE_RECIPIENT_OBJ" is not avaiable.

Do we need extra moduls to install an our sap-system? any suggestions?

best regards from Germany
N4sCh3R

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 21 Jul 2009 2:09

you've got the right RFC library on your agent ?

regards
philmalmaison

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 21 Jul 2009 2:11

i assume that it's a controlm CM for SAP problem, touching RFC library needed after installation to communicate with SAP system ...


regards
philmalmaison

User avatar
N4sCh3R
Nouveau
Nouveau
Posts: 4
Joined: 21 Jul 2009 12:00

Post by N4sCh3R » 21 Jul 2009 2:42

thanks philmalmaison for your answer but now we are not really sure what to do.

Do you mean the rfc libary on the control-m agent or maybe the librfc32.dll on our sap-server (windows\system32)?

the control-m server is a unix cluster-system and there are the control-m agents installed. from there the ctm server connects via xbp 2.0 with our sap-system, if i´m right.

where especially i have to look now?

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 21 Jul 2009 3:21

on the controlm module installed with your agent that communicate with the SAP system.

those library are to download on SAP web and to copy on the concerned agent necessary directories.

for exemple :
on solaris i have an agent connect to a sap system.
on the following directories, and after having installed the agent, i'have downloaded the RFC library used by controlm to communicate with SAP system queue managment.

directories are (for solaris agent installation):
$HOME/ctm/exe/librfccm.so
$HOME/ctm/cm/SAP/exe/librfccm.so

hope it's help

regards
philmalmaison

User avatar
N4sCh3R
Nouveau
Nouveau
Posts: 4
Joined: 21 Jul 2009 12:00

Post by N4sCh3R » 24 Jul 2009 1:51

thanks again philmalmaison. we updated our control-m agent to 6.3 and the sap-modul too to 6.3 with the librfc libary from the marketplace. we restartet the job again. but now with another error message, maybe u know where we can look now:

Code: Select all

Error message: - BAPI (BAPI_XBP_JOB_CLOSE) FAILED. BAPI returned: EXM237 Receiver object could not be created

	Error code: 237
it is a little bit strange because we don´t see the job in our abap system when we started that job so the problem must be in control-m or between control-m and the abap system.

Greets and thanks!
N4sCh3R

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 27 Jul 2009 12:45

on which OS are installed the CM for SAP ?
wich RFC version did you download ?

for my solaris agent :
SunOS sapteus2 5.8 Generic_117350-23 sun4u sparc SUNW,Sun-Fire-15000System = SunOS
Node = sapteus2
Release = 5.8
KernelID = Generic_117350-23
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4

RFC library :
Solaris 32-bit/64-bit 6.20 32-bit librfccm.so

does it be a new problem ? is it a new installation ?

regards
philmalmaison

User avatar
N4sCh3R
Nouveau
Nouveau
Posts: 4
Joined: 21 Jul 2009 12:00

Post by N4sCh3R » 27 Jul 2009 1:33

solaris sparc 8

i downloaded SAP KERNEL 6.40 32-BIT / Solaris on SPARC 32bit / SAR librfc_46-10003188.SAR librfc 46 Info 4797 21.03.2006

the agent and modul installation was a new installation.

we got more than that agent on the same os.

Another hint:
When we look @ RZ15 (XMI Log) we can also see this:

Fehler an Scheduler gemeldet: BAPI_XBP_JOB_CLOSE. Nachricht: XM237
Fortsetzung: &2:No address exists <3> <4>

In english : Error send to scheduler: BAPI_XBP_JOB_CLOSE. Message: XM237
Continue: &2:No address exists <3> <4>

Maybe a error with the job-code?

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 06 Aug 2009 10:06

this is not the sysout , can you give it ?

regards
philmalmaison

User avatar
Yaggesh
Nouveau
Nouveau
Posts: 12
Joined: 02 Sep 2012 12:00

Post by Yaggesh » 02 Oct 2013 4:51

Hello Philmalmaison,
I know this is an old post.. but Even we faced the same issue as our few cyclic jobs ended with error message as "RFC BAPI_XMI_LOGON - RFC_CLOSED" for few runs alone though they ended successfully for other runs.. Can you please suggest on this.


Thanks and Regards
Yaggesh

Post Reply