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

BAPI_SALESORDER_SIMULATE: how to pass on the weight of the orderitem?

I need to determine the correct prices for a order / item.

I try to use BAPI_SALESORDER_SIMULATE to do this (which should work for this purpose), but the BAPI doesn't return the NET_VALUE for the orderitem (it does return other data however).

A possible reason is that de simulation generates a salesorder that's incomplete, because the weight is missing for the items. I can't find which fields to use for this in the BAPI (in BAPI_SALESORDER_CREATEFROMDAT2 thsi fields are in the ORDER_ITEMS_IN structure - GROSS_WGHT en NET_WEIGHT).

Does anybody know how the weight can be passed on to the BAPI or is there another way of determing the prices for a salesorder (without creating a salesorder in SAP)?

Help would be very much appriciated!


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Nov 22, 2005 at 06:57 AM

    Hello Léon,

    Is the item you are ordering an item with pieces to order?

    If this is a fact, than weight is not neccessary. The net price comes in the table condition_ex.

    Probably you have to calculate the net value from all the other items.

    If you have any problem I could send you a document I created in which the fields are named that have to be populated.

    Greetings John 0655882492

    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.