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

Copy Order Item using SD_SALESDOCUMENT_CHANGE

Hi Gurus,

I hope you can help me a walkthrough of using BAPISDORDER_GETDETAILEDLIST and SD_SALESDOCUMENT_CHANGE. Basically, I need to update a sales document by copying its line items and inserting it to the same sales document as ne new line item order. I need to copy all the properties of the order line item (text, schedule, condition) and the modification I just need to do is line item quantity.

I hope you can guide me and your help will highly appreciated.

Thank you in advance.

Regards,

Mon Magallanes

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Nov 03, 2009 at 03:01 AM

    Hi,

    I would suggest to use BAPI BAPI_SALESORDER_CHANGE instead of SD_SALESDOCUMENT_CHANGE. You should have no problem to achieve your goal after reading documentation for BAPI_SALESORDER_CHANGE in SE37.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 05, 2009 at 02:54 AM

    I solved it on my own.

    Thanks for the possible solution.

    Regards,

    Mon Magallanes

    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.