BSFN not working on Server

indianyogi

Active Member
List,

I recently made a modification a custom BSFN called by our custom Reprice program(R5542950).
After I created full packages for server and client, the program is erroring out on the server but runs fine on the client.

Attached is the log files from server. The error messages suggests that it errors out while trying to set selection on V4072B. But, that is not helping me at all, as I do not have a clue how to fix this problem.

Is it possible that in certain cases C code would work on client but not on server?

I have also attached the Client side debuglog, which indicates successful completion.

Any help would be greatly appreciated.

Thanks
Yogesh

P.S. Is there a way to debug a server side BSFN, like the C debugger on the client?
 

Attachments

  • 86584-Log.zip
    122.2 KB · Views: 193
Hi,

Is the business function in a new DLL. If so then you will be missing certain directories on the Enterprise Server. You will need to create then manually or by doing a full package build

Ian
 
Hi,

No. This BSFN has been there for sometime. We just did some modifications on it. Also, I did a full package anyways.

Thanks
Yogesh
 
Ok,

So latest observation is definitely the C code is not working same on the client and server. The log clearly shows that the server code is not holding values in the variables I added.

for eg:

Client side log shows alast = 'RSPBS9', but serverside shows alast = ''

This was the area, I did the modifications in.

Any thoughts?

Rgds
Yogesh
 
"Is it possible that in certain cases C code would work on client but not on server?"

Yes it is possible. Although 'C' is highly transportable, some functions may be vendor/platform specific. These should have failed to compile however on your server.

Its more likely that you made platform assumptions that are valid in a Windows environment but not in the Sun/Unix environment. For instance - attempting to create a file on "C:\".

Regards,
 
I just wanted to let you know that i faced the same issue ended up having the BSFN code as Event Rule in UBE :-(
 
List,

Well, we ended up consulting a C Code specialist, and had to redo some of the code, like variable assignment and initialisation.

This worked! But, boy I hated going through this. Had not clue what to do.

So, thanks for your responses.

Regards
Yogesh
 
Back
Top