cancel
Showing results for 
Search instead for 
Did you mean: 

NO WAY HOME!!

ross_goodman
Participant
0 Kudos

Hi,

I have succesfully called a view of component B from component A. Now I wish to have the return button in component B's view take me back to the calling view of component A ( and preferably see the same on scfreen data that was there before calling component B).

How can I do this? Does comp A have to be a used component of component B also?

Cheers,

Ross Goodman

Accepted Solutions (1)

Accepted Solutions (1)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

for your requirment, refer this article http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/308ebfe9-a07a-2c10-e494-9849d50efc88

This will definetly solve your problem.

Thanks,

Chandra

ross_goodman
Participant
0 Kudos

Hi Chandra,

Good progress made from that blog but not quite home yet

Component 1 is using component 2 as the result of a hotspot click in an ALV list, and this is working as it was previously.

Unfortunately when returning to component 1 the alv list is showing but is completely empty. I am trying to have it so that the list is the same as before going to the component 2 usage view.

All the selection data and alv output data file were loaded into nodes mapped back to the component controller of component 1 before the call to comp2. Reading these nodes once back in component 1 however shows them as being empty, every single node.

How do I persist the data in component 1 so that it is available to me once I come back from component 2?

Regards,

Ross

ChandraMahajan
Active Contributor
0 Kudos

>

> How do I persist the data in component 1 so that it is available to me once I come back from component 2?

Hi,

good to know that you made some progress. regarding your question, you can have your data retireval logic in assistance class and then use proper global attributes so that data will not be lost. you can set the alv output to global attributes of the assistance class.

Thanks,

Chandra

Answers (0)