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

BAPI_SALESORDER_CREATEFROMDAT2 Manually set condition values w/ round

Hi,

I'm using bapi "BAPI_SALESORDER_CREATEFROMDAT2" and I am manually setting condition values using COND_HANDL = 'X'.

However, when I compare the sales order I created using BAPI and BDC, I see that sometimes they have a discrepancy. For the BDC, sometimes there is a Cond.Round.Diff. value, while in BAPI I never get a value for it.

I want to ask if is there's a way that I can manually set the values of the conditions, but still have the sales order program compute and set Cond.Round.Diff., as needed.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 06:01 AM

    Hi,

    If u r not able to set the value for Cond.Round.Diff using the BAPI, then use the BAPI in your program and then write a BDC(recording) for setting the value for Cond.Round.Diff.

    reward points if helpful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 06:10 AM

    Hi Alexandra

    I guess, the BAPI wont work the way you need...

    2 Ways of handling through BAPI's:

    1. Let SAP update the values from masters etc..

    2. Force SAP to take manual entries.

    I guess only one of the above will be possible and not two in the same option.

    Can you be more clear with "<b>Cond.Round.Diff</b>", maybe that can lead to someother idea...

    Kind Regards

    Eswar

    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.