on 12-19-2012 4:53 AM
Hello Experts ,
What is the use and sequence in which framework executes the following two interface methods :
IF_BSP_WD_HISTORY_STATE~STATE_STORE | and IF_BSP_WD_HISTORY_STATE~STATE_RESTORE |
Thanks and Regards,
Nikhil Kulkanri
Hi Nikhil,
Refer below thread,it may solve your query.
http://scn.sap.com/thread/3241513
Regards
Rajarama U
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nikhil,
the purpose of State_Store and State_Restore is
in State STore : we have add_item method to Save the state of the entity.
in State Restore : we have get_item method to get the state of the saved entity.
these methods we use in the scenarios :
Suppose you have Opportunity Search and suppose you have extracted the results based on some search parameter in ascending/ descending .
or it can be like you have extracted the results based on some custom criteria.
and now you have navigated from this result screen to some other view.
now when you click on back button, you need to get back the state in which the previous screen is available( Result table with the Custom search in the order u wished ... )
Pls let me know in case of any issues !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Santhosh ,
This makes sense. So you mean that :
If i have two component : One search page component and another Head component where i am navigating on click of result.
Now my question is : Where to implement these methods ? In my component1(Search page component) or Component2(Head component) .
Thanks and Regards,
nikhil Kulkarni
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.