Skip to Content
0

SAP FIORI : Override Function on Component-preload.js

Nov 02, 2016 at 10:43 AM

88

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

prasad doddi Nov 02, 2016 at 01:31 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Prasad,

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

Regards

0
prasad doddi Nov 07, 2016 at 02:04 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded