Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 25, 2008 at 05:12 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 21, 2008 at 06:49 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded