‎2008 Apr 29 1:36 PM
Hi,
I am using VA01 in a batch input session. For the field RV45A-KETDAT , i am getting an error Formatting error in the field RV45A-KETDAT
but my value is of the same data element(KETDAT) of data type CHAR. any clues?
‎2008 Apr 29 1:44 PM
There is a difference between the way date is maintained on the screen or in the program.
In the program date is in the following format YYYYMMDD
so if you pass this to the bdc then it will consider YY.YM.MDD so it will give an error.
What you need to do is to reformat the date field into a char(10) field like
data date_text(10) type c.
concatenate date6(2) date4(2) date(4) into date_text.
if this helps reward points.
regards,
khusro habib
Edited by: Khusro Habib on Apr 29, 2008 2:44 PM
‎2008 Apr 29 1:50 PM
hi
well it s becoz what date u r giveing is having diffrent format than it have in program internaly so for that it will be bettet to follow the answer of habib as above or use the funtion module to convert the date
thank u
snehi chouhan
‎2008 Apr 29 2:22 PM