‎2009 Dec 17 7:36 AM
Hi All
while testing the bapi salesordercreatefromdat2 in se37 ,its working.
but in reports i m passing same data with this bapi ,its not working.
its showing error message like:sales document type OR is not defined.
so where is the problem.
‎2009 Dec 17 5:24 PM
This is a common issue. Because it involves a screen, the SE37 test workbench converts values automatically using the available conversion exits. An internal BAPI call does not. You can either pass the internal value 'TA' to the BAPI or you can check the import parameter that identifies that you are using external values.
‎2009 Dec 17 2:23 PM
Hello ,
When you are executing the BAPI using se37 ,you say the FM is wokring fine,
As per my knowledge the FM might be passing some fields by default which you have to check and pass them the same way in your custom program.
Also check whether the order type is existing or not by the time you execute your custom report.
Thanks,
M.naveen
‎2009 Dec 17 2:32 PM
Hi
Check whether passing values are correct for example the OR document type is defined or not
Regards
Shiva
‎2009 Dec 17 5:24 PM
This is a common issue. Because it involves a screen, the SE37 test workbench converts values automatically using the available conversion exits. An internal BAPI call does not. You can either pass the internal value 'TA' to the BAPI or you can check the import parameter that identifies that you are using external values.