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

Cost not change at second call BAPI_SALESDOCU_CREATEFROMDATA after MIRO

The business flow is to create dummy return sales order to flush of the stock in order to do credit adjustment. and after adjustment to do dummy sales order to counteract return.

Return SO->MIRO->SO

Prgoram steps as below:

1.BAPI_SALESDOCU_CREATEFROMDATA (create return so)

2.WS_DELIVERY_UPDATE

3.BAPI_BILLINGDOC_CREATEMULTIPLE (billing 1)

4.BAPI_INCOMINGINVOICE_CREATE

5.BAPI_SALESDOCU_CREATEFROMDATA (create so)

6.WS_DELIVERY_UPDATE

7.BAPI_BILLINGDOC_CREATEMULTIPLE (billing 2)

But when the so is created. the cost of so is still the old one (same as return). but actually in MBEW, the cost is new.

However the cost of billing 2 is the new one.

it is very strange that the cost of so is not same as billing 2.

and why the cost of so is not changed?

whether i should clear the buffer when finished step 4?

how can I do?

regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 07:24 AM

    Who can help me????

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 10:56 AM

    Help!!!!!!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:00 PM

    Nobody met the case????

    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.