cancel
Showing results for 
Search instead for 
Did you mean: 

"Object Reference Not Set To An Instance Of An Object"

Former Member
0 Kudos

Hi,

When trying to convert a purchase order to an invoice this error message occurs,""Object Reference Not Set To An Instance Of An Object"

Any clear instructions on how this message please ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

It means, that some of your objects (purchase order or puchase invoice) are not initialized / not defined correctly.

regards,

J.

Answers (8)

Answers (8)

isaac_kalii
Active Participant
0 Kudos

Hi Matthew,

Please give details of windows version and SP where SAP client is installed. It has been confirmed that data access via any .NET Framework application in Window 8.1 has been producing this kind if issue.

Regards,

Isaac.

Former Member
0 Kudos

Hello My friend

i strongly believe this issue  can be fix  if you follow  the next steps

1_download and install REVO UNINSTALLER in the afected machine

2_using REVO uninstall the di api, then the SAP Client

3_reboot machine

4_reinstall as a ADMINISTRATOR USER , the DI API  then the SAP Client

5_try again and the issue should not appear anymore

let me know how it goes

Regards

Luis Veloso

Former Member
0 Kudos

Hello Matthew

I have the same error but it is when you have logged into DTW and are selecting from the menu BP Business Partners it comes up.

We have uninstalled the DIAPI, client and DTW . it runs fine on  the server.

Any ideas anyone

Former Member
0 Kudos

Hi Elaine,

I don't really remember (but it wasn't connected to DTW anyway.)

It could be a case for you that the DI API version is mismatched?

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Thank you Vitor,

We will reboot ( just to be safe) and then switch off each add-on one by one to see what happens and then ,if required, get straight onto support.

Cheers,

Former Member
0 Kudos

Hi Vitor,

No it seems to be just a normal everyday SAP B1 process ie when a user is trying to convert a purchase order to an AP invoice.

Former Member
0 Kudos

Hi Matthew,

First make sure there are no AddOns turned on and try to copy the PU into a AP Invoice again.

If the problem persists, contact support immediately.

Regards,

Vítor Vieira

Former Member
0 Kudos

Where would i go to look for /get the code please?

Former Member
0 Kudos

Matthew,

I thought you were getting the "Object Reference Not Set To An Instance Of An Object" in a AddOn you were developing. Is this not the case?

Regards,

Vítor Vieira

Former Member
0 Kudos

Hi Matthew,

Janos is correct.

You should post your code here so we can analyze it and, hopefully, correct it.

Regards,

Vítor Vieira