Skip to Content
0
Jun 18, 2021 at 07:36 AM

Not a valid date in accord with the XML format for ABAP

287 Views

I'm trying to add date and time to my table ZDEMO_ONE using create_entity. I have tried to remove the error for it but it's not getting resolved.

Here's the code for create_entity

DATA: ls_emp TYPE zdemo_one.
io_data_provider->read_entry_data( IMPORTING es_data = ls_emp ).

INSERT zdemo_one FROM ls_emp.

This is the error which is coming

Value 20160629235959 is not a valid date in accord with the XML format for ABAP

How to resolve it, please help!!

Thanks in advance.