on 06-20-2008 9:31 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahi,
Please refer to the link given below.This explains the steps required to access result set information in WebDynpro.
Regards,
Suresh
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.