cancel
Showing results for 
Search instead for 
Did you mean: 

How to access Selected Row on a Grid SAP Personas 3

former_member105930
Active Participant
0 Kudos

Hi All,

I have just started building a new flavor using SAP Personas 3.

I am struggling somewhat as my JavaScript skills currently are shall we say, poor. What I want to do is this:

In a grid view, a row is selected by the user, based upon this selection I want to copy the data from 2 cells within that row into fields elsewhere within the flavor, sometimes in antoher transaction.

I have tried to follow this:

https://wiki.scn.sap.com/wiki/display/Img/Copying+Table+data+into+a+variable

But im not sure how to change this to only copy data from the cells within the selected row that I was to copy.

Any help would be appreciated.

Ian

Accepted Solutions (1)

Accepted Solutions (1)

Hi Ian,

Run the report "RSDEMO02" and use example 1 in the following KB article. You will get an idea:

How to use the onSelect event of tables in scripting - SAP Imagineering - SCN Wiki

Regards,

Sushant

former_member105930
Active Participant
0 Kudos

Hi Sushant,

Brilliant, this does exactly what I wanted to achieve.

Thank you so much

Ian

Answers (0)