bapi_salesorder_createfromdat2 using lsmw
i have been succesfull in running bapi for sales order create throug abap.
Now i am trying to use it through LSMW
when selecting idoc generation option it gives me this message
[ File 'SOADD_SOADD_SOADD.lsmw.conv' transferred for
Idoc generation ]
but when i select the Start Idoc Processing it i s giving me following errors ..
status 51 :Material sd0000000000000001 is not defined for sales org.TTS1 , distr.ch
status 51 :Error in VBAPKOM 000010
status 51 :Item 000020 does not exist
status 51 :Sales document was not changed
Basically i am new to Idocs , can any one help me with this .