on 03-27-2009 3:28 PM
Hi
I am trying to Export the data from Result Set Iview to Excel using a Java Web dynpro application.
I am passing an MDM search parameter but when I am trying to get the value ,its coming as null...
This is what I am doing:
public void wdDoInit()
{
//@@begin wdDoInit()
wdThis.readSystemDtls();
namespace = "urn:com.sap.tc.webdynpro.exporttocsv";
eventname= "Export";
WDPortalEventing.subscribe(namespace,eventname,wdThis.wdGetExportAction());
//@@end
}
public void onActionExport(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String value )
{
//@@begin onActionExport(ServerEvent)
wdComponentAPI.getMessageManager().reportSuccess("data"+value);
int marked=value.indexOf("=");
String srcValue=value.substring(marked+1);\wdContext.currentContextElement().setCatchedValue(srcValue);
String targetValue=wdContext.currentContextElement().getCatchedValue();
Search search = Search.deserialize(targetValue);
.....
Please help...
Hi,
Refer the below link which explains the step by step procedure for the requirement you are looking for
Regards,
Jitesh Talreja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.