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_CREATEFROMDATa

Former Member
0 Likes
946

hello,

i am using bapi BAPI_SALESORDER_CREATEFROMDATa for creating the sales order. when i run this bapi everything is running properly but when i enetr the condition value for condition type 'ZUBA' it is getting multiplied by 10 and then saving the values.

cheers

4 REPLIES 4
Read only

Former Member
0 Likes
676

Hi Kumar,

I have faced the same problem a few months ago.

What we did was divided the value by 10 before passing to the Bapi. I know it is quite illogical, but thats the thing we did it.

Regards,

Ravi

Read only

Former Member
0 Likes
676

Hi,

Use BAPI_SALESORDER_CREATEFROMDAT1 instead, as the BAPI which you have mentioned is no longer supported by SAP.

Rgds,

Read only

0 Likes
676

or

BAPI_SALESORDER_CREATEFROMDAT2

Regards.

Read only

sreekanthgo
Contributor
0 Likes
676

Hi Kumar,

You can also use SD_SALESDOCUMENT_CREATE to create the sales document.

If you want to use BAPI_SALESORDER_CREATEFROMDAT you need to divide the condition value by 10 before passing it to BAPI.

Thanks,

Sreekanth