LSMW - Create sales order
I'm creating a lsmw to create sales orders.
Object 0090 Sales documents
Program Name RVINVB10
Program Type D Direct Input
But I keep getting error message V1 091 "Date . . is not valid". I have been searching the forum and trying all the solutions mentioned but no luck.
I have 3 date fields in the program - VDATU, BSTDK and EDATU. Tried both CHAR (8) and DYMD (8) and ended up with the same error. My user profile uses DD.MM.YYYY but I have tried both YYYYMMDD and DDMMYYYY also... just can't get it work.
Any input would be highly appreciated.
Given the message, it looks like you are passing 00:00:0000 as the date. Check what is actually in your date field.