MWR is main report and contains summary level data of sales document.
WR1 and WR2 are two detailed level reports.
WR1 contains details of sales documents and sales orders.
WR2 contains details of sales documents and sales revenue.
I have to create a hyperlink so that when i click Sales document number in both windows with WR1 and WR2 reports should open.
By using hyperlink i am able to jump to only report.
="<a href='#' onclick=\"javascript:window.open('http://bodev:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=ABddrzLNqVZGgFkyM_XjqiQ&sIDType=CUID&sType=wid&sRefresh=Y&lsMEnter%20value(s)%20for%20L01%20Business%20Area%3A=');window.open('http://bodev:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AORIJf_oltBDi5LCbV41zSA&sIDType=CUID&sType=wid&sRefresh=Y&lsMEnter%20value(s)%20for%20L01%20Business%20Area%3A=')\">"+[L01 Business Area]+"</a>"
how far is this code right with OpenDocument?
when I click the hyperlink, I am getting error - Cannot open hyperlink (WIO 00002)
These are the codes to which can be executed individually using hyperlink
"<a href=\"http://bodev:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=ABddrzLNqVZGgFkyM_XjqiQ&sIDType=CUID&sType=wid&sRefresh=Y&lsMEnter%20value(s)%20for%20L01%20Business%20Area%3A="+URLEncode(""+[L01 Business Area])+"&sWindow=New\" title=\"\" target=\"_self\" nav=\"doc\">"+"Bookings"+"</a>"
and
="<a href=\"http://chiller:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AORIJf_oltBDi5LCbV41zSA&sIDType=CUID&sType=wid&sRefresh=Y&lsMEnter%20value(s)%20for%20L01%20Business%20Area%3A="+URLEncode(""+[L01 Business Area])+"&sWindow=New\" title=\"\" target=\"_self\" nav=\"doc\">"+"Revenue"+"</a>"
The hyperlinked reports have prompts defined. so when i click the link object in main report, the concerned object is filled automatically into prompt of relevant report and automatically executed.
these are working fine individually , but how do i combine them into single link.
The first link in your window.open call doesn’t have the prompt value, but I don’t think that’s causing your error (it would just prompt you for the value).
Is the formatted as “HTML”? If it’s “Hyperlink”, it probably won’t work with the javascript code.
I need to execute code with the given reports addresses.
The individual hyperlinks are
="<a href=\"http://bodev:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AEddrzRNqVZGgFkyM_XjqiQ&sIDType=CUID&sType=wid&sRefresh=Y&lsMEnter%20value(s)%20for%20L01%20Business%20Area%3A="+URLEncode(""+[L01 Business Area])+"&sWindow=New\">"+[L01 Business Area]+"</a>"
and
="<a href=\"http://bodev:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=ALPIJf_oltBDi5LCbV51zSA&sIDType=CUID&sType=wid&sRefresh=Y&lsMEnter%20value(s)%20for%20L01%20Business%20Area%3A="+URLEncode(""+[L01 Business Area])+"&sWindow=New\">"+[L01 Business Area]+"</a>"
I need to combine these both into single hyperlink, which on clicking opens 2 windows