Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Links in a Tree to call SAP Transactions

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

Former Member
Not what you were looking for? View more on this topic or Ask a question