‎2006 Nov 28 5:32 PM
Hi,
I need to copy all the positions of a sales document into another existing sales document. I also need to mantain the doc numbers unchanged, I mean, I can't create a new document adding the existing documents.
Can you, please, suggest me some BAPI or FM to do so.
Thanks in advance.
‎2006 Nov 28 5:41 PM
Hi,
use the BAPI BAPISDORDER_GETDETAILEDLIST to get all the data for a give sales order..
Thanks,
Naren
‎2006 Nov 28 5:35 PM
Hi,
GEt the items to be moved from the original sales document.
Use the BAPI_SALESDOCUMENT_CHANGE to move the items to another sales document..
Delete the line items from the originial sales document using the BAPI BAPI_SALESDOCUMENT_CHANGE.
Thanks,
Naren
‎2006 Nov 28 5:38 PM
Thanks Naren, but my main problem is how to get all the info of the positions (texts, partners, ...) with a fm or bapi.
‎2006 Nov 28 5:41 PM
Hi,
use the BAPI BAPISDORDER_GETDETAILEDLIST to get all the data for a give sales order..
Thanks,
Naren
‎2006 Nov 28 5:46 PM