Hi,
i am trying to get self billing running. The customer should send an IDOC of type GSVERF with message type SBINV. A new invoice for the referenced SD document should be created from the IDOC.
When posting the IDOC an error message is thrown:
"Incorrect doc.no.: $000000001 . Select document number between 0090000000 and 0099999999"
Tracking the error shows that it is raised in the IDOC_INPUT_SBINV function module during the step "simulation of the invoice". When simulating the creation of the FI document, the number is not generated from the number range of course.
But the IDOC_INPUT_SBINV module receives the error and does not proceeed with posting the invoice in the creation of invoice step.
What might be the fix for this error ?