Skip to Content
0
Former Member
Mar 28, 2007 at 03:39 AM

How to move the text field date into date field in my 'Z' table.

14 Views

HI,

How to move the text field date into date field in my 'Z' table.

Actually i am getting date format DD.MM.YYYY from the application server.I have declared that date field in my internal table as BSTDK(10).

Then i am passing into my internal table.Actually i have to send this date into my 'Z' table.But in that table i have declared that date length as 8.

So i am splitting that date itab-bstdk at '.' sending into 3 variables.then i am concatenating into one variable.then i am passing into my 'Z' table.it is working.

BUT,when the date in the text file as 02032007 means it is not moving to my 'Z' table.

and one more way 02/03/2007 this also not moving into my table.and date is 02-03-2007 then also it is not moving to date field.

Only if the date 02.03.2007 is like this means it is moving successfully into my table.

IF the date is any format how can i send date into my 'Z' table.

PLS IF ANY ONE KNOWS SOLUTION PLS GUIDE ME.

regards,

lokesh.