Hi Raymond,
Thanks for the help, I did not mean item, I meant document. 2 accounting documents are created. One for Vendor invoice and the other one is related to the Asset Transaction.
I did not get any error in the return parameters. Infact, I get a success message with the document number.
I just checked SM13 and found my update request in error, and the error says the newly created document number already exists in the company code
But the document does not exist when I look for it in any of the tables. I will continue looking for the reason the update has failed. Any more suggestions/ help is more welcome.
Thanks,
Elan