Skip to Content

Freight Condition type is not updating while creating order from BAPI- SALESORDER_CREATEFROMDAT2.

Dear Experts,

We are creating sales order from reference Quotation via using FM-BAPI- SALESORDER_CREATEFROMDAT2.
We are able to create Sales Order but with Incompletion log(mandatory pricing condition Z953 is missing )..
This problem is coming for only one order type while creating orders from reference Quotation due to that we compared with others order type and its seems, R/3 system is picking freight condition automatically based on means of transport-type value but for only one order type its not picking freight condition and means of transport value(VBKD-TRATY) value while creating order from reference Quotation..

Please help on this issue..

Thanks and Regards
Sandeep

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 05, 2017 at 10:25 AM
    for only one order type its not picking freight condition and means of transport value(VBKD-TRATY)

    Did you check in Analysis screen from the condition tab of that sale order? If so, what you have seen for the freight condition type ?

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 05, 2017 at 12:21 PM

    You have not shared the full screen of that message. Below that message, there would be one more details showing which field value is missing. You need to ensure those missing value are taken care of.

    For information, system would trigger the error message what you shared in the following cases:-

    • The condition was deleted manually in the item condition screen.
    • The condition record was created after the order.
    • In billing (or when copying orders), certain condition types were not determined in the source document.
    • Pricing Type in copy control is not suitable.
    • Wrong coding in USEREXIT_PRICING_PREPARE_TKOMK + TKOMP.
    • In condition type, scale is set, but in condition record, there aren't any scales.

    In your case, it is the third one cited above. So you need to ensure it is not because of first two reasons listed above and also no user exits causing the issue.

    Search SCN for this issue, as it has been discussed many times here and you can very well take out some inputs from there, if my above explanation is not resolving your issue.

    Add comment
    10|10000 characters needed characters exceeded

    • To answer the follow-up question: if memory serves, there is no "where used" for memory IDs, so you might have to run a code scan for the respective IMPORT statement or use debugger. Depending on what release you're on, there could be variety of tools available. Ask an ABAPer locally, this is not an SD question. Also try just searching Google "how to find where memory ID used site:sap.com" or similar.

  • Dec 18, 2017 at 12:09 PM

    Issue has been resolved..

    Add comment
    10|10000 characters needed characters exceeded