cancel
Showing results for 
Search instead for 
Did you mean: 

Date Conversion Error in SAP NW Gateway

former_member190939
Participant
0 Kudos

Hi Experts,

When I am trying to map date field of NW Gateway type(Edm.Datetime) to date field of ABAP(DATS), A warning is thrown.

And It failed to load my entity set. Please see attached screenshot.

Any advice?

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Seyed,

Make ur Date property as Nullable.

There is a check box for that. Make it as nullable using that. Then regenerate objects.

Then check.

This shud resolve the issue.

Date and Time properties has to be marked as nullable. So that GW will take care of appropriate conversion when Date and Time fileds are empty/null.

Regards,

Ashwin

Answers (2)

Answers (2)

former_member190939
Participant
0 Kudos

Thank you guys! That was more than what I actually needed. Worked like a charm

Thanks.

Seyed Ismail MAC

Former Member
0 Kudos

Hi Seyed,

Date Field cannot be left blank when coming from the Back-end or while filling in the Entity Set.

In order to override it, the entity's particular property needs to be SET TO NULLABLE so that the framework fills a value 000000 inside the empty Date type field.

If there is a data from the back end it will be in the format of 2014-09-24T00:00:00

This should be the Solution to your query.

Thanks and Regards,

Kartik