Skip to Content
author's profile photo Former Member
Former Member

Send Data from one view to another

@Midhun VP

I request the data from server and i get employeeID and employee name etc.

but i need that employee ID which is recently came from server for next screen .

for requesting another service.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 03, 2014 at 08:41 AM

    Include more information to the question with relevant screen shots.

    You mean, navigating from screen 1 to screen 2 has to do an online request and show the list in second screen ?

    Midhun VP

    Add a comment
    10|10000 characters needed characters exceeded

    • So you want to do a online request while navigating to second screen using the employee ID selected? If yes follow this,

      1. Assume we have 2 screens, screen1 and screen2. Create a editbox in screen 2 and map the key of the editbox with key of employee ID.
      2. Drag and drop a a HTMLView from control to screen2. and in the properties>default field provide this : <div id = "HTMLList"></div>
      3. Create a custom action in screen2,ex.GetDetail. The online request of this custom action will do the second call to SAP with employee ID as input. So map the employee ID present in the screen2 as input of this request and give the success screen as screen2 (same screen). A method will be created for this action, call that method inside function customBeforeShowScreen:

      if(screenToShow==="Screen2") {


      return true;


      4. For the HTML View write code to show the data as mentioned in the blog, Developing HWC app with Customized List

      Midhun VP

  • Posted on Jun 04, 2014 at 07:23 AM

    Is the solution provided working ?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.