Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

LSMW - Create sales order


I'm creating a lsmw to create sales orders.

Object               0090   Sales documents

Method               0000

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.


Former Member
Former Member replied

Given the message, it looks like you are passing 00:00:0000 as the date. Check what is actually in your date field.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question