‎2011 Dec 29 4:45 AM
Dear All,
We have created a Custom BAPI to show article number , it's current price and moving avg price for a given date of range. This BAPI will be called from another VB software. The FM is working fine but when we try to call it from se38 , in order to test, then the program gets dump showing that, Type conflict when calling a function module (field length). In the function module interface, you can specify only fields of a specific type and length under "DATE1". Although the currently specified field. "DAT1" is the correct type, its length is incorrect.
Here DAT1 is the parameter value that I am passing to the FM and DATE1 is the import parameter of FM. Plz tell me why I am getting this dump.
With regards,
Rosaline.
‎2011 Dec 29 3:06 PM
Hello,
seems that the definiton of DATE1 in SAP is different to the definition of your DAT1-field in VB.
You could check, if the DATE1-Parameter in SAP is of the type DATS - then your would have to supply a date
in form of 8 chars YYYYMMDD.
Regards Wolfgang