cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

General Error, Error Code = -1

Former Member
0 Likes
1,947

Dear All,

I developped an Add-On using DI API which is used to add Sales Order to BO documents.

The methods I used are : oOrder.Add and oOrder.Update. this works fine untill a certain time where the same code without any modification started to generat the following error "Err No.= -1, Err Description= General Error".

THis error is generated randomly I couldn't identify a specific action that genrate the error. it is more specificaly at the oOrder.update where this error occurs and after that the hole documents is corrupted thismead the batch linked to the document lines are deleted as if i did not select any batch ( since all my article are managed by batch).

Please advise ASAP

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Dear Sir,

In fact it was a bug in SAP BO Application solved.

I had to install PL32 in order to solve this issue.

Best Regards

AdKerremans
Active Contributor
0 Likes

Hi Mary,

What version/patch of SBO are you using.

did you delete the %TEMP%/SM_OBS_DLL directory and restarted the process?

Regards

Ad

Former Member
0 Likes

Dear Ad,

Well I am using SBO 2005 SP1 / PL 23.

And I am operating under SQL 2005

Former Member
0 Likes

Dear Add,

I did you told me, I deleted the contain of the specific folder and I executed my addon.

It worked for a while and the the error show up agian so I checkd the directory and I noticed that the files that I have deleted, have been created again,

Please advise

AdKerremans
Active Contributor
0 Likes

Hi Mary,

The files are automatically created by the DI API, so this is normal.

Did you replace the DI API with the PL23 version and are you connecting to more than 1 SBO server (perhaps with a different patchlevel)?

Regards

Ad

Former Member
0 Likes

Dear Ad,

I am in a developpement mode and I am using only on SBO session. i am working on on maching I did not iplemented over the network.

what do you mean by replacing the DI API with PL 23?

Former Member
0 Likes

Dear Ad,

I am in a developpement mode and I am using only on SBO session. i am working on one machine I did not implemented it over the network.

what do you mean by replacing the DI API with PL 23?

the DI API isnot upgraded when i install the PL 23? Should I do extra work to upgrade the DI?

AdKerremans
Active Contributor
0 Likes

Hi Mary,

When loading a new patch, I advise you to always install the latest DI-API to avoid any problems.

Regards

Ad

Former Member
0 Likes

Dear Ad,

How I have to load the latest version of hte DI_API. in fact when i do the upgrade i trun the installation of upgrader common isn't that enough.

Also how can i know what version of DI-API is now installed on my machine?

Thanks