Skip to Content
author's profile photo Former Member
Former Member

Import invoices from prior posting period

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 08:33 PM

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

    Thanks,

    Gordon

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.