cancel
Showing results for 
Search instead for 
Did you mean: 

HWC app

Former Member
0 Kudos

Hello,

We are developing a Hybrid web application.

The screen design is as follows:

Now, the requirement we have got is,

     If we select any activity from the list, the WBS list for that activity should be listed in WBS choicebox.

Eagerly waiting for the help.

Thanks & Regards

Ajay

Accepted Solutions (1)

Accepted Solutions (1)

midhun_vp
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Midhun,

I am using SMP 2.3.

I made an online request before moving to the screen where the drop-down is present.

Also, I can get the attribute key in dynamic section of drop-down.

But still I am not getting the data when i run it on the device/emulator.

Please advice.

Thank you,

Regards,

Ajay

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Ajay,

could you plz share snapshots of what you have tried

Rgrds,

Jitendra

Former Member
0 Kudos

Hi Jitendra,

I made an online request as follows:

Then, I mapped the attribute key to the dynamic values of the drop-down as shown below:

But still not getting the date in drop-down.

Kindly advice.

Thank you,

Regards,

Ajay

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ajay,

confirm once,

DATA is your first screen? first you launch app this DATA screen should come.. isnt it?

then once you click Get projects then start screen should come. (according to naming convention mentioned in above screen shots)

i just tried similar scenario and its working for me.

Rgrds,

Jitendra

Former Member
0 Kudos

Hi Jitendra,

Actually, the screen where drop down is present, is my first screen.

In previous screen of that, i have put a menu item, initiating online request.

And i don't want to click on Get Projects menu item, i just made an online request thro' that, so i can map attribute value to dynamic value off drop down in next screen.

I followed this, http://scn.sap.com/message/14318501

Thanks & Regards

Ajay

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos
Former Member
0 Kudos

Hi Jitendra,

Yes, I referred that one too.

Just tell me, whether mapping of Personalization key is necessary or not?

Thanks & Regards

Ajay

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

follow below steps from beginning:

1. create a new hybrid web designer with default Start screen.

2. add a custom actions to it and its properties as online request


3. in success, map the default start screen

4. add one choice control and set dynamic properties

5. generate hybrid app without assigning to any user.

6. go to hybridapp.js and look for menuItemCallbackStartgetDetails();

7. in custom.js

add the following code in customBeforeShowScreen

f(screenToShow === "Start") {

          menuItemCallbackStartgetDetails();

          }

Rgrds,

Jitendra

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

do you any personalization key pertaining to mbo?

did you create any PK manually.

Rgrds,

Jitendra

Former Member
0 Kudos

Hi Jitendra,

Thanks a lot.

It works.

Regards

Ajay

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Ajay Kulkarni

finally.. great .. !!!

Rgrds,

Jitendra

Answers (0)