Skip to Content

How to send custom response

Hello Everyone,

I am trying to send an array of objects as a return in function-import/action. However, I am getting below mentioned error

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Jun 30 at 05:19 AM

    Hi Sandeep,

    At the end of your custom handler just return the array back to the cds framework:

    return results;
    Add comment
    10|10000 characters needed characters exceeded