cancel
Showing results for 
Search instead for 
Did you mean: 

How to retain Component table values when returning from another component

Former Member
0 Kudos

Hi,

I have a component (COMP 1) which calls another component (COMP 2).

On COMP 1,

1. On execution of COMP1 of WD Application, it calls a COMP1_VIEW with search list as default screen with input fields.

2. User selects some input data and then press SEARCH button to get Result.

3. Search results will be displayed in ALV format just below the search list.

4. By selecting any one table record and Press display will take you to COMP2 default screen.

5. By pressing back button on COMP2 will navigate back to COMP1 default screen.

I want retains table search results values when I come from COMP2 to COMP1.

Does any one have any Idea how to do it?

Thanks.

Uday Dasari

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Uday ,

Use COMP2 in COMP1 . Now in the main window of the COMP1 embed the main Window of COMP2 as a view .

Now you can create inbound and outbound plugs in both the component and navigate using these plugs .

Value of COMP1 will be retained while moving back from COMP2 to COMP1 .

I have already achieved this in one of my sample application .

Regards

Vivek