‎2010 Mar 24 6:23 AM
Hi,
I have created program to upload sales order data through BAPI.It is working fine if the Req delivery date is inthe format like YYYYMMDD.if i change the date format to DDMMYYYY the program giving dump.Saying date is invalid.
I tried this BAPI using tcode se37 using same data with both above date formats here i am not getting any dump error.Could any one please let me know what i need to do in the program in order to resolve this problem.Appriciate for your guidence.Thanks in advance.
Kind Regards.
Abhis
‎2010 Mar 24 8:04 AM
I assume when you say you call the bapi via SM37, you are using the test option to present the dates ?
In this case, the screen input process is reformatting DDMMYYYY input to YYYYMMDD.
The BAPI needs to be called with dates in the format YYYYMMDD as this is the standard format for SAP date fields.