11-02-2007 12:32 PM
Hi please send me a sample code to create sales order from text file using BAPI (bapi_salesorder_credat2 ) answers will be rewarded,Thanks in advance,
11-02-2007 6:13 PM
Hi Neerja,
You cannot create sales Orders through the BAPI you've mentioned.Since Business Object 'BUS2032' has been hard coded in this BAPI which is used for creating Debit Memo request,hence please use the function module which is inside this BAPI and pass on the respective Business Object manually on the basis of the Sales Doc type. You will find a Note in service,sap.com regarding this.
11-02-2007 1:21 PM
Check this link out:
http://www.saptechies.com/bapi_salesorder_createfromdat2/
Sample code is given.. but code alignment is not proper.
Regards,
Naimesh Patel
11-02-2007 6:13 PM
Hi Neerja,
You cannot create sales Orders through the BAPI you've mentioned.Since Business Object 'BUS2032' has been hard coded in this BAPI which is used for creating Debit Memo request,hence please use the function module which is inside this BAPI and pass on the respective Business Object manually on the basis of the Sales Doc type. You will find a Note in service,sap.com regarding this.