Q
Problem solve Get help with specific problems with your technologies, process and projects.

Invoice document numbers not being recorded

The program claims the number is generated, but no record can be found. Axel Angeli suggests a solution.

I have written an ASP.Net Program to connect SAP R/3 using SAP.Net Connector to create an Invoice.

On execution I have encountered an strange error "Invoice Document Number is generated for an PO" but invoice information...

is not saved in SAP; indeed it prints the Invoice Document Number. I have also explicitly triggered proxy.CommitWork() to save permanently in SAP but it didn't work.

Can anyone help me to figure it out?

Not sure what exactly went wry, but I suggest making an explicit call to the RFC function BAPI_TRANSACTION_COMMIT to trigger the commit work.
This was last published in March 2007

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close