cancel
Showing results for 
Search instead for 
Did you mean: 

how can we fetch the information from standard ItemDetails iView of SAP MDM

Former Member
0 Kudos

Hi Portal/MDM experts,

Is there any chance to fetch the information from standard ItemDetails iView? if it is possible please tell me the process.

If it's not, how can we customize the ItemDetails iView using java WebDynpro .

my requirement is, I have to fetch some of information from itemdetails iview and it'll be used in other WebDynpro application, means we have fetch some details from itemdetails iview and populate them in another application. Please suggest me the procedure to do this.

Regards,

Mahi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mahi,

Please follow the below steps:

1. Create the Result Set iView.

2. Select the Custom Events button and Add the Custom Event

3. Select Event Type=EPCF

4. Give Event Name=EpfcTest and Namespace=urn:com.sap.tc.webdynpro.mdm.epfc.test

5. Select the desired fields to be passed to the WebDynpro application and give the parameter name.

6. Save the iView

7. Create WebDynpro application and write the below code.

public void wdDoInit()

{

//@@begin wdDoInit()

namespace = "urn:com.sap.tc.webdynpro.mdm.epfc.test";

eventname = "EpfcTest";

WDPortalEventing.subscribe (namespace,eventname,wdThis.wdGetCatchValueAction());

//@@end

}

public void onActionCatchValue(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )

{

//@@begin onActionCatchValue(ServerEvent)

int marked=dataObject.indexOf("=");

String value=dataObject.substring(marked+1);

wdContext.currentContextElement().setCatchedValue(value);

//@@end

}

variable Data Object will contain all the Mapped fileds separated by ;. You can then use the String functions to separate the parameters.

Regards,

Jitesh Talreja

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mahi,

Is there any chance to fetch the information from standard ItemDetails iView?

I think this is possible using the concept of EPCF ( Enterprise

Portal Client Framework).

I have tried sending the data from ResultSet IView to a webdynpro java application

but not from an Itemdetails IView.But I think this is also possible.

You could refer the following link for more details:

[http://help.sap.com/saphelp_mdm550/helpdata/en/45/c87d0243e56f75e10000000a1553f6/frameset.htm]

Refer the Configuring Data Exchange (Eventing) section in this link.

Hope this helps.

Regards,

Kaushik Koli.

Former Member
0 Kudos

Hi Kaushik,

Thanks for your needful. if possible can provied me some code to access the result set information in WebDynpro Java application.

Regards,

Mahi.

Former Member
0 Kudos

Hi Mahi,

Please refer to the link given below.This explains the steps required to access result set information in WebDynpro.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/12195312-0e01-0010-a392-debbd32e...

Regards,

Suresh