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

Sales Order (Bapi)

Former Member
0 Likes
415

Hi,

I am using 'BAPI_SALESORDER_CREATEFROMDAT2' and here i want to pass condition value (T_BAPICOND-CONDVALUE = '100'.) since the pricing is not created for the material so i do't want to pass the rate for that.

But while passing the data to (T_BAPICOND-CONDVALUE ) field system takes the amount as a 0. It will be great if you could help me in this regards.

Note : I do't want to pass the rate and qty will be always 0.

Thanks,

2 REPLIES 2
Read only

Former Member
0 Likes
363

If you are passing this from ouside the SAP system, then you need to multiply th value being used (ie, 100 here), with 1,000,000. so, in this case, you will pass 100,000,000 from your system to put 100 in SAP. this takes care of the decimals places SAP uses for this field.

Read only

Former Member
0 Likes
363

Hi Pradeep

You can pass the value with decimals like '100.00'.

No need of manipulation. It works for me.

Kind Regards

Eswar