Skip to Content
avatar image
Former Member

Updating Custom Field value to backend - MyOpportunity Fiori App

Hi Team,

I am working on MyOpportunity App Customization. I have some custom fields on Edit Page.

I want to update it to the backend.

I am referring this blog.

http://scn.sap.com/community/fiori/blog/2015/06/24/an-example-of-end-to-end-extension-on-crm-fiori-application--part4

In S4 Controller, i have added this code

extHookAddCustomHeaderFields: function(e)

{

// Place your hook implementation code here

   var oExtensionControl = this.byId("ZEditMachinePrice_Input");

   var extensionValue = oExtensionControl.getValue();

   e.ZMachprice = extensionValue;

},

But on Click of Edit Save the custom field value is not going to backend.

Please help. Is there any other change that needs to be done

Thanks,

Divya

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 16, 2015 at 11:47 AM

    Issue resolved.

    Did replace controller and added code inside.

    Thanks,

    Divya

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 16, 2015 at 12:27 PM

    Hi Divya,

    Could you please share Network tab screen shots and

    How you are passing your values to service?

    Thanks,

    KArthik A

    Add comment
    10|10000 characters needed characters exceeded