Hello all!
I have 2 queries with 1 webreport for each. Both queries have the characteristic Business Partner and a certain hierarchy. I select the customer in the first query and want have this filter applied in the second query when I open it with a button.
that works with a code like this:
SAPBWOpenURL(SAP_BW_URL_Get()'&cmd=LDOC&TEMPLATE_ID='l_templateIDl_Paraml_BPartner);
l_templateID is the new webtemplate ID
l_Param="&DATA_PROVIDER=DATAPROVIDER_1&FILTER_COLLAPS=&FILTER_IOBJNM=0CUSTOMER__0BPARTNER&FILTER_VALUE_EXT=";
l_BPartner = document.getElementById('filter_BPartner').innerHTML;
This works well with real records of the Object 0BPartner, meaning leafs in the hierarhcy that can be posted. But when it comes to the point, that I select a textnode (with the WAD hierarchical filter element), I can export the name of the text-node, but I cant catch the value in the new report. I get the message that the selected node is invalid, and the Business Partner not assigned # is chosen.
Can anybody help with this specific issue?
Thanks in advance and best regards,
Michael