cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5: Controller: get import parameter in "init"

gmmysap
Explorer
0 Kudos

Hello,

I have to extend a SAP-Fiori ( and I learn SAPUI5 🙂 too )
My problem is, SAP pass import parameter "p" by call:


how can I read the value of "p" in the "init" from controller ProductSelectDialog.js ?

I suppose, SAP read this parameter in row 30 (apply), but it is a library, don't have an access to look what happen there.

Thanks a lot !

Greg

Margot
Product and Topic Expert
Product and Topic Expert
0 Kudos

It would be helpful if you could add the information which SAP Fiori app you are talking about.

Accepted Solutions (0)

Answers (1)

Answers (1)

gmmysap
Explorer
0 Kudos

Hi Margot,

it is : SAP UI5 Application: RT_COUNT_STKS1 (Count Stock).

Call from ActivityDetails.controller.js, row 155.

It is generally interesting how can I read out the values of "p" in custructor of ProductSelectDialog.

Thanks !

Greg