Problem with BAPI_SALESORDER_CREATEFROMDAT1
We are developing a BAPI program using BAPI_SALESORDER_CREATEFROMDAT1 to create sales orders.It is working fine if every data is maintained correctly like mandatory pricing condions etc.
When i creating sales order manually without BAPI program system will be showing me error or incompletion messages if i am not maintaing any mandatory field or pricing condition.
But this BAPI program is also creating sales order when we are not maintaining mandatory pricing condition or without PO number which is wrong.
I want to know that Is it possible to show the errors or incompletion messages if any at the time of creating sales order through BAPI and system will not allow to create sales order if any error in that?
thanks in advance