‎2008 Aug 20 9:11 AM
Please name the function module which uses both BAPI's for sales order create and change.
BAPI_SALESORDER_CREATEFORMDAT2
BAPI_SALESORDERCHANGE
‎2008 Aug 20 9:17 AM
I think none of them.
they are create and change SO respectively.both purpose from one FM i think not possible.
Amit.
‎2008 Aug 20 9:23 AM
I think I have to create function module which will take both BAPI's.
‎2008 Aug 20 9:25 AM
Yup.
you must write a piece of code for this.
with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
logic somethig like this.
Amit.
‎2008 Aug 20 9:21 AM