Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_SALESORDER_CREATEFROMDAT2 Manually set condition values w/ round

Former Member
0 Likes
744

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
534

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.

2 REPLIES 2
Read only

Former Member
0 Likes
535

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.

Read only

Former Member
0 Likes
534

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