cancel
Showing results for 
Search instead for 
Did you mean: 

How to post a document in the future using DI API?

Former Member
0 Kudos

Hello friends

Please can someone help me find a clever way around this....

I am using SAP 2005 SP01 PL09. I am trying to add an invoice into SAP using a VB.Net application. I want to set the date for the invoice to a future date (e.g. 01/01/2008). The problem is that even though I have set the setting which "<b>Allows future Posting Date</b>" in SBO I still get a "<b>Date deviates from permissable range</b>" Error (-5002) when I try adding the invoice.

I know that when I try post the invoice through the SAP <i>front end</i> (i.e. still posting it in 01/01/2008) I get a confirmation screen which pops up and says "<b>Posting Date later that System Date</b>" and I can either click on "<i>OK</i>" or "<i>Cancel</i>". If i click on OK the Invoice goes through no problem.

This however does not work when i try use the DIAPI to do the same thing.

How can i bypass this error when i use the DIAPI??

Any help is much appreciated

Greeshma

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186095
Active Contributor
0 Kudos

Hello,

if you want to escalate to SAP, I think you upgrade your SAP B1 to the latest PL i.e. PL 36. Let me know if the error still persists after upgrading.

Rgds,

former_member583013
Active Contributor
0 Kudos

Please try to also Post this to SAP Support by creating a support message.

Suda