‎2008 May 13 12:35 PM
Hi all,
When i execute the BAPI -
BAPI_SALESORDER_CREATEFROMDAT2 my sales orders created successfully.
When i see the sales order created then there seems to be some problem in Price field it automatically multiples the price field by 10.
for eg items-target_val = vitem-item_amt.
items-target_val =9.89.
In Items internal table it displays correctly also but when i check using transaction va03 it display that value muliply by 10.
eg :- in va03 net value displays as 98.90
Any suggestions welcome.
Regards,
‎2008 May 13 12:46 PM
Hello Navdeep
For the function BAPI_SALESORDER_CREATEFROMDAT2 you have to pass the conditions in the
table, that you define with the parameter ORDER_CONDITIONS_IN type BAPICOND.
Make sure that you pass the tree fields
cond_value
currency
cond_type
if the condition type is a value.
If you don't fill the field currency for a value condition, the function does not work correct.
Good Luck
Gabriel
‎2008 May 13 12:46 PM
Hello Navdeep
For the function BAPI_SALESORDER_CREATEFROMDAT2 you have to pass the conditions in the
table, that you define with the parameter ORDER_CONDITIONS_IN type BAPICOND.
Make sure that you pass the tree fields
cond_value
currency
cond_type
if the condition type is a value.
If you don't fill the field currency for a value condition, the function does not work correct.
Good Luck
Gabriel
‎2008 May 13 2:22 PM
‎2008 May 13 12:53 PM