Hi Gurus,
Can anybody give a Code where I can call SAP Transactions from a webdynpro tree.
I thought I create SAP Transactional IViews in PCD and Navigate on Click.But this did not work.
This is the code I did.
//on click of Element call sap transaction
public void onActionSelect(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, com.sap.tut.wd.tree.wdp.IPrivateTreeView.IFolderContentElement selectedElement )
{
//@@begin onActionSelect(ServerEvent)
wdContext.currentContextElement().setTextOfSelectedNode(selectedElement.getText());
if(selectedElement.getText().equalsIgnoreCase("ZX1.")){
WDPortalNavigation.navigateAbsolute("ROLES://portal_content/Buy/Artist", WDPortalNavigationMode.SHOW_EXTERNAL,(String)null , (String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, (String)null,(String)null, (String)null);
}
Can any body give me an exit.
Thanks in Advance.
Regards,
Raja Akella