Application Development 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: 

BAPI_SALESORDER_CREATEFROMDATa

Former Member
0 Kudos

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

former_member181962
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

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

Rgds,

0 Kudos

or

BAPI_SALESORDER_CREATEFROMDAT2

Regards.

sreemsft
Contributor
0 Kudos

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