on 05-23-2008 9:28 AM
Hi Experts,
I have a requirement where I need to trigger an EPCF event from MDM standard result set iview and need to capture the recordids of all the record present in the table in my customised webdynpro application.I have to later read them to an excel sheet.(the code for which i already have)
I am trying table type EPCF eventing for that and later passing [Search] as parameter but i am not able to get this search object and it seems to be a futile approach.
Please anyone of you can tell me the method to retrieve all records from resultset Iview to my dynpro application.
Thanks
Vinay
Hi Vinay,
You are correct in that you cannot pass a list of ID's from the Result Set iView. This is by design and the reasoning behind it is that there could be thousands or even hundreds of thousands of records in a Result Set, and this would make passing them in a JavaScript function or URL unrealistic.
However, since the ResultSet is always the result of a search, you can pass the "search" to your custom application and recreate the result set there. The only caveat is as follows:
Prior to MDM 5.5 SP6 P2, the iViews were based on the MDM4J API. So if your version of MDM is pre-SP6 Patch 2, you must use the function Search.setArchive() of MDM4J.
From MDM 5.5 SP6 Patch 2, the iViews are based on the MDM Java API, and so you should use the function Search.deserialize() of MDM Java API.
Regards,
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot Walter ..Can you tell me which type of object would collect my parameter in webdynpro's action .Like I am passing from the portal the parameter as [search] in table event.In webdynpro I am collecting it in string which is like 0.0.T1.0.0.0.0.1.F213_54.8.8
From this I can understand that it contains field codes and all.I even tried to collect the parameter in a data type of MDM.Search object but then it gives me null pointer exception.Any help please?
Hello Vinay, Hello Walther,
After reading your Wiki, I am very interested in this scenario. As a pre-work, the EPCF Eventing has been added to the Result Set iView. In the Web Dynpro application you described, I can catch the Search strings. In your Wiki, you refer to several screens and source code fragments. Unfortunately, they have been deleted. Is ist maybe possible to send this to me or to publish this?
Thanks in advance
Carsten
Points are definitly deserved
I have my article published on this please check..and thanks a lot to Walter for his help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.