on 04-03-2006 10:50 AM
Hi,
I have two IViews - One is Sap Standard Transaction IVIEw
- second is Webdynpro IView
In webdynpro IView , On click of button or some action i'll be calling SAP Standard Transaction IView.
But for this i need to mention the URL of SAP IView statically.
Is there a way to do this Dynamically?
means without hardcoding the SAP standard Transaction IView can i generate the url of that standard Transaction Iview?
If So pls let me know how to do it.
Thank you,
Sirisha.R.S.
Hi Sirisha,
You can create the dynamic URL in webdynpro.In webdynpro with the help of webcaheResource
/* example code */
for(int i=0;i<wdContext.nodeHtml_cover_report().size();i++)
{
datainbuffer = datainbuffer + wdContext.nodeHtml_cover_report().getHtml_cover_reportElementAt(i).getLine();
}
byte[] linebytes = datainbuffer.toString().getBytes();
cachedResource = WDWebResource.getWebResource(linebytes,WDWebResourceType.HTML);
url = cachedResource.getURL();
wdContext.currentContextElement().setTest(url);
This how you can create a dynamic URL for the content .
with Regards
Praveen.K.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.