Need help with BSFN

IBajaj

Member
Hi,
I am having problem with a custom BSFN(ExecuteCommand) in a custom dll.

When the BSFN is mapped to run on the server it gives the error

"Business function ExecuteCommand is causing problem on the server WPKGDEV01. Contact your system administrator to either change OCM
or fix the problem with ExecuteCommand."

and when i map it to run locally it gives the error
"Business function load failed -CALLBSFN.dll"

I get the following error in jde.log
344/342 Wed Nov 21 10:43:40 2001 JDEOBJ1386
COB0000012 - GetProcAddress failed CALLBSFN.dll function _ExecuteCommand@12 Error = 127

what I fail to understand is it should call the BSFN in the custom dll and y is it giving an error in CALLBSFN.

Thanks in advance
Singh
XE-Service pack 15.1,ORACLE,UNIX.
 
Hi Singh,

Just questions, excuse me.

1.) Does a custom BSFN caused this error or a standard OneWorld BSFN?
2.) Had been your DLLs rebuild for server(s) and clients and deployed successfully onto the server(s) and clients?

If you know which BSFN cause the problem then please:
1.) Check in which DLL is it mapped (You can do it in OMW).
2.) Check your OCM settings that is it any special map for this BSFN? Please, also check *PULIC entries for BSFN type objects.

Maybe rebuilding all!!! DLLs (for server and clients) and deploying them to the server and clients could resolve the problem. To be on the safe side, best practice to build and deploy full package.

Good luck,
Zoltán

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 
Hi,
It's erroring out in oneworld BSFN. I tried to debugg the BSFN but it
errors out before it calls the custom function. I can debug in other function but it just doesn't call the custom function and fails. I have rebuild all the libraries locally and got the OCM specifically for server and local but no luck.
Thanks
Singh
XE-Service pack 15.1, ORACLE,UNIX.
 
Hi Singh,

Not sure this is relevant, but I had a similar problem with a BSFN that I inherited from another program.

The BSFN was originally created in CALLBSFN.dll. I moved it to CCUSTOM, rebuilt everything, and was able to run it locally quite happily.

When we tried to move it to production, we would errors the same as what you are reporting. We did try complete package builds, and rebuilding the dll's, but nothing helped. We were unable to resolve the issue completely, as it was far simpler to create a new BSFN in CCUSTOM.dll, copy the code across and rebuild. Everything was fine after that.

I've also had a very similar error, at a seemingly completely unconnected point in the program, when the data structure associated with the BSFN was mistakenly not transfered. The error would pop up when a grid row was exited, but the BSFN was attached to a button click row exit. Very confusing at the time, why the BSFN was erroring, because it should not be getting called at all.

Good luck

David


Independant Technical Consultant
CNC and Development
Currently in Europe on B732sp16 RS6000 Oracle
 
Hi,

I am facing similar problem. Wanted to ask how you resolved this.
*ERROR* CallObject@7f3d6339: Problem executing function [F0006InsertUpdateMBF] lib [] GetProcAddress failed. Plz see Enterprise Server log for details.Business function cannot be found user:pOTDARP Env:FIN733

Enterprise Log - COB0000012 - GetProcAddress failed CALLBSFN.dll function _F0006InsertUpdateMBF@12 Error = 127

I am getting this error when I call a custom business function from Webmethod's Adapter. Custom business function is wrapped using GenJava. Same JAR file contains standard JDE BSFN which executes without error.

Thanks in Advance
Maroof
 
Stupid Question Did you test your business function in OneWorld (before
using it through interoperability).
If yes, and everything is working fine
(1) Make sure the CALLBSFN.DLL called by Webmethod's Adapter has your custom
function.
(2) Make sure compiled the business function with correct byte alignment

Regards
OW Hell
 
Back
Top