cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting Result from resultset iview through EPCF eventing

Former Member
0 Kudos

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...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Refer the below link which explains the step by step procedure for the requirement you are looking for

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/504814b6-da5f-2b10-0dbd-e5ee597c...

Regards,

Jitesh Talreja

Answers (0)