Skip to Content
-2

Service Builder: OData Nullable Indicator

Hi Experts,

I have set the OData nullable indicator for ABC Indicator in Material Master(Data Element :MAABC). But in the gateway client it is not showing the field value as 'NULL', is it because the field is a character field, what is the standard practise on setting nullable property.

Thank you for the help.

SE11

abcindicator MAABC CHAR(1)

SEGW

abcIndicator Edm.String Max-1 Nullable-True

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 19, 2017 at 12:47 AM

    Hi Arjun,

    Thank you for the response, actually my query was why I am not able to get 'null' value for edm.String. Please find below the screenshots.

    Regards,

    Rubin

    error.jpg

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 18, 2017 at 09:48 AM

    Hi Rubin Luke,

    To get null from OData, you have to make the field null, similar to the image.

    Hope this helps,

    Regards,

    Arjun Biswas

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 27 at 11:14 AM

    Hello Arjun Biswas,

    I have created a project in SEGW . When i execute this service it gives status as "500 Internal Server Error" . I'm having many date fields in that so I have made those date fields as nullable. But still the issue was not resolved.After checking that field as nullable I have loaded the metadata but there in that property name I have not seen the property like Nullable = "true" .But the other fields having the nullable as false. But it was not showing for the field which I have checked as nullable. I have cleared the cache in both the systems but still the issue is going on. Can anyone help me out to resolve the issue.

    Kind Regards,

    Nageswara Rao

    Add comment
    10|10000 characters needed characters exceeded