Skip to Content
avatar image
Former Member

SAP FIORI : Override Function on Component-preload.js

Hello Experts,

I'm trying to extend a sap fiori sales order create ( BSP SD_SO_CRE). After changing odata service and adding the field i want in cart (extending SalesOrderCreateCart.view.xml) I want to populate this field. Using debug i noticed that items are added in a function of Component-preload.js.

How can I ovveride this function so i can add my field as
ItemCategory: o.ItemCategory ?

Ty in advance

capture.png (65.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 02, 2016 at 01:31 PM

    Hi Ioannis Sigalas,

    Im also working on sales order creation .

    Im trying to deploy ZSD_SO_CRE into GW from WEBIDE. but im getting below error.

    Cannot deploy application zsd_so_cr12: HTTP Status 500 - An internal application error occurred. Request: 3528109544 p1071093trial:webide.

    did you faced this errror while you are deployed ?

    Thanks,
    Prasad Doddi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Prasad,

      I haven't faced the problem you refer to. Give me some Info about your status so i may help

      Regards

  • avatar image
    Former Member
    Nov 07, 2016 at 02:04 PM

    Hi Ioannis Sigalas ,

    Thanks for your response.

    i have raised another thread with full details.

    can you please check below.

    https://answers.sap.com/questions/47056/not-able-to-deploy-fiori-app-into-backend-through.html

    Thanks,

    Prasad Doddi.

    Add comment
    10|10000 characters needed characters exceeded