cancel
Showing results for 
Search instead for 
Did you mean: 

Import invoices from prior posting period

Former Member
0 Kudos

Hi,

I am using the DI API 2007 to import invoices into SAP version 2007A. When the invoices are a month past the current posting period, I am getting the error -5002 internal error. I have set the .DocDate and .VatDate.

I have read in the forums that the default posting period does not need changed, and I am able to create an invoice in SAP in a prior period. The "Block document with earlier posting date" box is not checked in the document settings.

Am I missing something?

Thank you for your help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You may need to check period property for all DodDate and DocDueDate. Those dates need to cover more duration than posting date.

Thanks,

Gordon

Answers (0)