I have built a .NET application which can create a sales order by calling BAPI BAPI_SALESORDER_CREATEFROMDAT2.
I have tested it with SE37 together with BAPI_TRANSACTION_COMMIT. Everythings work well. But when I executes my .NET application using exactly the same set of data (those I have filled in the import parameters and tables in SE37, I filled exactly the same into the data structure generated by .NET connector). I got the return message 'Document type OR is not defined'. I am pitty sure that order type OR (standard order) exists in my R/3 system and works well.
Can anyone please suggest what is the problem?
or advice me a way to debug it?
Thanks a lot!